diff --git a/src/Model/Checkout/v3/HeltHjem.php b/src/Model/Checkout/v3/HeltHjem.php index 76e41d9..30e3d6d 100644 --- a/src/Model/Checkout/v3/HeltHjem.php +++ b/src/Model/Checkout/v3/HeltHjem.php @@ -24,4 +24,40 @@ class HeltHjem * @Serializer\Type("integer") */ protected $shopId; + + /** + * Sets password variable. + * + * @param string $password + * + * @return $this + */ + public function setPassword(string $password) { + $this->password = $password; + return $this; + } + + /** + * Sets shopId variable. + * + * @param int $shopId + * + * @return $this + */ + public function setShopId(int $shopId) { + $this->shopId = $shopId; + return $this; + } + + /** + * Sets username variable. + * + * @param string $username + * + * @return $this + */ + public function setUsername(string $username) { + $this->username = $username; + return $this; + } } diff --git a/src/Model/Checkout/v3/Logistics.php b/src/Model/Checkout/v3/Logistics.php index ba7c82e..e14a9c0 100644 --- a/src/Model/Checkout/v3/Logistics.php +++ b/src/Model/Checkout/v3/Logistics.php @@ -24,4 +24,40 @@ class Logistics * @Serializer\Type("zaporylie\Vipps\Model\Checkout\v3\Integrations") */ protected $integrations; + + /** + * Sets dynamicOptionsCallback variable. + * + * @param string $dynamicOptionsCallback + * + * @return $this + */ + public function setDynamicOptionsCallback(string $dynamicOptionsCallback) { + $this->dynamicOptionsCallback = $dynamicOptionsCallback; + return $this; + } + + /** + * Sets fixedOptions variable. + * + * @param \zaporylie\Vipps\Model\Checkout\v3\OtherLogisticsOption[] $fixedOptions + * + * @return $this + */ + public function setFixedOptions(array $fixedOptions) { + $this->fixedOptions = $fixedOptions; + return $this; + } + + /** + * Sets integrations variable. + * + * @param \zaporylie\Vipps\Model\Checkout\v3\Integrations $integrations + * + * @return $this + */ + public function setIntegrations(Integrations $integrations) { + $this->integrations = $integrations; + return $this; + } } diff --git a/src/Model/Checkout/v3/OtherLogisticsOption.php b/src/Model/Checkout/v3/OtherLogisticsOption.php index 1936191..1a6ff72 100644 --- a/src/Model/Checkout/v3/OtherLogisticsOption.php +++ b/src/Model/Checkout/v3/OtherLogisticsOption.php @@ -50,4 +50,88 @@ class OtherLogisticsOption * @Serializer\Type("string") */ protected $description; + + /** + * Sets amount variable. + * + * @param \zaporylie\Vipps\Model\Checkout\v3\Amount $amount + * + * @return $this + */ + public function setAmount(Amount $amount) { + $this->amount = $amount; + return $this; + } + + /** + * Sets brand variable. + * + * @param string $brand + * + * @return $this + */ + public function setBrand(string $brand) { + $this->brand = $brand; + return $this; + } + + /** + * Sets description variable. + * + * @param string $description + * + * @return $this + */ + public function setDescription(string $description) { + $this->description = $description; + return $this; + } + + /** + * Sets id variable. + * + * @param string $id + * + * @return $this + */ + public function setId(string $id) { + $this->id = $id; + return $this; + } + + /** + * Sets isDefault variable. + * + * @param bool $isDefault + * + * @return $this + */ + public function setIsDefault(bool $isDefault) { + $this->isDefault = $isDefault; + return $this; + } + + /** + * Sets priority variable. + * + * @param int $priority + * + * @return $this + */ + public function setPriority(int $priority) { + $this->priority = $priority; + return $this; + } + + /** + * Sets title variable. + * + * @param string $title + * + * @return $this + */ + public function setTitle(string $title) { + $this->title = $title; + return $this; + } } diff --git a/src/Model/Checkout/v3/PorterBuddy.php b/src/Model/Checkout/v3/PorterBuddy.php index 7677925..586eec8 100644 --- a/src/Model/Checkout/v3/PorterBuddy.php +++ b/src/Model/Checkout/v3/PorterBuddy.php @@ -19,6 +19,45 @@ class PorterBuddy */ protected $apiKey; - + /** + * @var \zaporylie\Vipps\Model\Checkout\v3\PorterBuddyOrigin + * @Serializer\Type("\zaporylie\Vipps\Model\Checkout\v3\PorterBuddyOrigin") + */ protected $origin; + + /** + * Sets apiKey variable. + * + * @param string $apiKey + * + * @return $this + */ + public function setApiKey(string $apiKey) { + $this->apiKey = $apiKey; + return $this; + } + + /** + * Sets origin variable. + * + * @param \zaporylie\Vipps\Model\Checkout\v3\PorterBuddyOrigin $origin + * + * @return $this + */ + public function setOrigin(PorterBuddyOrigin $origin) { + $this->origin = $origin; + return $this; + } + + /** + * Sets publicToken variable. + * + * @param string $publicToken + * + * @return $this + */ + public function setPublicToken(string $publicToken) { + $this->publicToken = $publicToken; + return $this; + } } diff --git a/src/Model/Checkout/v3/PorterBuddyOrigin.php b/src/Model/Checkout/v3/PorterBuddyOrigin.php index 418351e..a9ef290 100644 --- a/src/Model/Checkout/v3/PorterBuddyOrigin.php +++ b/src/Model/Checkout/v3/PorterBuddyOrigin.php @@ -30,4 +30,52 @@ class PorterBuddyOrigin * @Serializer\Type("zaporylie\Vipps\Model\Checkout\v3\PorterBuddyOriginAddress") */ protected $address; + + /** + * Sets name variable. + * + * @param string $name + * + * @return $this + */ + public function setName(string $name) { + $this->name = $name; + return $this; + } + + /** + * Sets email variable. + * + * @param string $email + * + * @return $this + */ + public function setEmail(string $email) { + $this->email = $email; + return $this; + } + + /** + * Sets phoneNumber variable. + * + * @param string $phoneNumber + * + * @return $this + */ + public function setPhoneNumber(string $phoneNumber) { + $this->phoneNumber = $phoneNumber; + return $this; + } + + /** + * Sets address variable. + * + * @param \zaporylie\Vipps\Model\Checkout\v3\PorterBuddyOriginAddress $address + * + * @return $this + */ + public function setAddress(PorterBuddyOriginAddress $address) { + $this->address = $address; + return $this; + } }