commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
OrderRemoveDeliveryActionBuilder.php
1<?php
2
3declare(strict_types=1);
10
16use stdClass;
17
22{
27 private $deliveryId;
28
33 private $deliveryKey;
34
42 public function getDeliveryId()
43 {
44 return $this->deliveryId;
45 }
46
54 public function getDeliveryKey()
55 {
56 return $this->deliveryKey;
57 }
58
63 public function withDeliveryId(?string $deliveryId)
64 {
65 $this->deliveryId = $deliveryId;
66
67 return $this;
68 }
69
74 public function withDeliveryKey(?string $deliveryKey)
75 {
76 $this->deliveryKey = $deliveryKey;
77
78 return $this;
79 }
80
81
83 {
85 $this->deliveryId,
86 $this->deliveryKey
87 );
88 }
89
90 public static function of(): OrderRemoveDeliveryActionBuilder
91 {
92 return new self();
93 }
94}