commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CartSetCustomShippingMethodAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_SHIPPING_METHOD_NAME = 'shippingMethodName';
19  public const FIELD_SHIPPING_RATE = 'shippingRate';
20  public const FIELD_TAX_CATEGORY = 'taxCategory';
21  public const FIELD_EXTERNAL_TAX_RATE = 'externalTaxRate';
22 
29  public function getShippingMethodName();
30 
37  public function getShippingRate();
38 
45  public function getTaxCategory();
46 
53  public function getExternalTaxRate();
54 
58  public function setShippingMethodName(?string $shippingMethodName): void;
59 
63  public function setShippingRate(?ShippingRateDraft $shippingRate): void;
64 
68  public function setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory): void;
69 
73  public function setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate): void;
74 }
setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory)
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)