OptionsRestMapperInterface
OptionsRestMapperInterface.php
:
16
Map arbitrary Shipping Method Option to its string representation for the REST response.
Methods¶
mapOption() ¶
OptionsRestMapperInterface.php
:
23
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$key | string | - | - |
$value | mixed | - | - |
Return values
string
supports() ¶
OptionsRestMapperInterface.php
:
18
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$shippingMethodType | ShippingMethodTypeInterface | - | - |
$key | string | - | - |
Return values
bool