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 ItemShippingTargetCollection getTargets()
* @method ItemShippingDetails setTargets(ItemShippingTargetCollection $targets = null)
* @method bool getValid()
* @method ItemShippingDetails setValid(bool $valid = null)
*/
class ItemShippingDetails extends JsonObject
{
public function fieldDefinitions()
{
return [
'targets' => [static::TYPE => ItemShippingTargetCollection::class],
'valid' => [static::TYPE => 'bool'],
];
}
}