1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
<?php
/**
*
*/
namespace Commercetools\Core\Model\Cart;
use Commercetools\Core\Model\Common\JsonObject;
/**
* @package Commercetools\Core\Model\Cart
*
* @method string getAddressKey()
* @method ItemShippingTarget setAddressKey(string $addressKey = null)
* @method int getQuantity()
* @method ItemShippingTarget setQuantity(int $quantity = null)
*/
class ItemShippingTarget extends JsonObject
{
public function fieldDefinitions()
{
return [
'addressKey' => [static::TYPE => 'string'],
'quantity' => [static::TYPE => 'int'],
];
}
}