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