| 1 | <?php |
||
| 10 | class FetchShippingCostResponse implements ToStringInterface, SupportsSerializationInterface |
||
| 11 | { |
||
| 12 | use PaymentSerializationTrait; |
||
| 13 | use ToStringTrait; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | * @Serializer\Type("integer") |
||
| 18 | */ |
||
| 19 | protected $addressId; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var string |
||
| 23 | * @Serializer\Type("string") |
||
| 24 | */ |
||
| 25 | protected $orderId; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @var \zaporylie\Vipps\Model\Payment\ShippingDetails[] |
||
| 29 | * @Serializer\Type("array<zaporylie\Vipps\Model\Payment\ShippingDetails>") |
||
| 30 | */ |
||
| 31 | protected $shippingDetails; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @return int |
||
| 35 | */ |
||
| 36 | public function getAddressId() |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param int $addressId |
||
| 43 | * |
||
| 44 | * @return $this |
||
| 45 | */ |
||
| 46 | public function setAddressId($addressId) |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | public function getOrderId() |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param string $orderId |
||
| 62 | * |
||
| 63 | * @return $this |
||
| 64 | */ |
||
| 65 | public function setOrderId($orderId) |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @return ShippingDetails[] |
||
| 73 | */ |
||
| 74 | public function getShippingDetails() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @param ShippingDetails[] $shippingDetails |
||
| 81 | * |
||
| 82 | * @return $this |
||
| 83 | */ |
||
| 84 | public function setShippingDetails(array $shippingDetails) |
||
| 89 | } |
||
| 90 |