commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
MyCartSetShippingMethodAction.php
1 <?php
2 
3 declare(strict_types=1);
10 
15 
17 {
18  public const FIELD_SHIPPING_METHOD = 'shippingMethod';
19  public const FIELD_EXTERNAL_TAX_RATE = 'externalTaxRate';
20 
29  public function getShippingMethod();
30 
37  public function getExternalTaxRate();
38 
42  public function setShippingMethod(?ShippingMethodResourceIdentifier $shippingMethod): void;
43 
47  public function setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate): void;
48 }
setShippingMethod(?ShippingMethodResourceIdentifier $shippingMethod)
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)