Copied!

ShippingMethodServiceDecorator

ShippingMethodServiceDecorator.php : 18

Properties

protected $innerService

ShippingMethodServiceDecorator.php : 20
protected ShippingMethodServiceInterface $innerService

Methods

public__construct()

ShippingMethodServiceDecorator.php : 22
public __construct(ShippingMethodServiceInterface $innerService)

Parameters

Name Type Default value Description
$innerService ShippingMethodServiceInterface - -

publiccreateShippingMethod()

ShippingMethodServiceDecorator.php : 54
public createShippingMethod(ShippingMethodCreateStruct $createStruct) : ShippingMethodInterface

Parameters

Name Type Default value Description
$createStruct ShippingMethodCreateStruct - -

Return values

ShippingMethodInterface

publicdeleteShippingMethod()

ShippingMethodServiceDecorator.php : 67
public deleteShippingMethod(ShippingMethodInterface $shippingMethod) : void

Parameters

Name Type Default value Description
$shippingMethod ShippingMethodInterface - -

publicdeleteShippingMethodTranslation()

ShippingMethodServiceDecorator.php : 73
public deleteShippingMethodTranslation(ShippingMethodDeleteTranslationStruct $struct) : void

Parameters

Name Type Default value Description
$struct ShippingMethodDeleteTranslationStruct - -

publicfindShippingMethods()

ShippingMethodServiceDecorator.php : 47
public findShippingMethods([ShippingMethodQuery|null $query = null ][, array<string|int, mixed>|null $prioritizedLanguages = null ]) : ShippingMethodListInterface

Parameters

Name Type Default value Description
$query ShippingMethodQuery|null null -
$prioritizedLanguages array<string|int, mixed>|null null -

Return values

ShippingMethodListInterface

publicgetShippingMethod()

ShippingMethodServiceDecorator.php : 30
public getShippingMethod(string $identifier[, array<string|int, string>|null $prioritizedLanguages = null ]) : ShippingMethodInterface

Parameters

Name Type Default value Description
$identifier string - -
$prioritizedLanguages array<string|int, string>|null null -

Return values

ShippingMethodInterface

publicgetShippingMethodById()

ShippingMethodServiceDecorator.php : 40
public getShippingMethodById(int $id[, array<string|int, string>|null $prioritizedLanguages = null ]) : ShippingMethodInterface

Parameters

Name Type Default value Description
$id int - -
$prioritizedLanguages array<string|int, string>|null null -

Return values

ShippingMethodInterface

publicisShippingMethodUsed()

ShippingMethodServiceDecorator.php : 79
public isShippingMethodUsed(ShippingMethodInterface $shippingMethod) : bool

Parameters

Name Type Default value Description
$shippingMethod ShippingMethodInterface - -

Return values

bool

publicnewShippingMethodCreateStruct()

ShippingMethodServiceDecorator.php : 85
public newShippingMethodCreateStruct(string $identifier) : ShippingMethodCreateStruct

Parameters

Name Type Default value Description
$identifier string - -

Return values

ShippingMethodCreateStruct

publicnewShippingMethodUpdateStruct()

ShippingMethodServiceDecorator.php : 91
public newShippingMethodUpdateStruct() : ShippingMethodUpdateStruct

Return values

ShippingMethodUpdateStruct

publicupdateShippingMethod()

ShippingMethodServiceDecorator.php : 60
public updateShippingMethod(ShippingMethodInterface $shippingMethod, ShippingMethodUpdateStruct $updateStruct) : ShippingMethodInterface

Parameters

Name Type Default value Description
$shippingMethod ShippingMethodInterface - -
$updateStruct ShippingMethodUpdateStruct - -

Return values

ShippingMethodInterface