commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
ShippingRateDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 
15 interface ShippingRateDraft extends JsonObject
16 {
17  public const FIELD_PRICE = 'price';
18  public const FIELD_FREE_ABOVE = 'freeAbove';
19  public const FIELD_TIERS = 'tiers';
20 
25  public function getPrice();
26 
31  public function getFreeAbove();
32 
37  public function getTiers();
38 
42  public function setPrice(?Money $price): void;
43 
47  public function setFreeAbove(?Money $freeAbove): void;
48 
52  public function setTiers(?ShippingRatePriceTierCollection $tiers): void;
53 }
setTiers(?ShippingRatePriceTierCollection $tiers)