From 059f9ac7fe5280503acb637c5d6efe0800e81b78 Mon Sep 17 00:00:00 2001 From: xmalda <24293733+xmalda@users.noreply.github.com> Date: Tue, 3 Mar 2026 10:12:14 +0100 Subject: [PATCH] [create-pull-request] automated change --- src/Component/Entity/CreditNote.php | 6 +++--- src/Component/Entity/DeliveryNote.php | 6 +++--- src/Component/Entity/Invoice.php | 6 +++--- src/Component/Entity/InvoiceItem.php | 6 +++--- src/Component/Entity/Order.php | 12 ++++++------ src/Component/Entity/OrderItem.php | 6 +++--- .../Entity/Product/FilteringParameters/Item.php | 6 +++--- src/Component/Entity/Product/Variants/Item.php | 6 +++--- src/Component/Entity/ProformaInvoice.php | 6 +++--- src/Component/Entity/ProofPaymentDetail.php | 6 +++--- .../Entity/ProofPaymentsForInvoice/Item.php | 6 +++--- src/Component/Entity/QuantityDiscount.php | 6 +++--- src/Component/Entity/VariantPrice.php | 6 +++--- src/Component/Entity/XyDiscount.php | 12 ++++++------ .../CreateFilteringParameterResponse/Data.php | 6 +++--- .../CreateFilteringParameterValueResponse/Data.php | 6 +++--- .../GetDetailOfFilteringParameterResponse/Data.php | 6 +++--- .../Data/FilteringParameters/Item.php | 6 +++--- .../UpdateFilteringParameterResponse/Data.php | 6 +++--- .../UpdateFilteringParameterValueResponse/Data.php | 6 +++--- .../GetListOfOrdersResponse/Data/Orders/Item.php | 6 +++--- .../Data/SurchargeParameter.php | 6 +++--- .../Data/SurchargeParameter.php | 6 +++--- .../Data/SurchargeParameter.php | 6 +++--- .../Data/SurchargeParameters/Item.php | 6 +++--- .../Data/SurchargeParameter.php | 6 +++--- .../Data/SurchargeParameter.php | 6 +++--- 27 files changed, 87 insertions(+), 87 deletions(-) diff --git a/src/Component/Entity/CreditNote.php b/src/Component/Entity/CreditNote.php index 1d439400..ce3e696e 100755 --- a/src/Component/Entity/CreditNote.php +++ b/src/Component/Entity/CreditNote.php @@ -27,7 +27,7 @@ class CreditNote extends Entity protected TypeWeightUnlimited $completePackageWeight; protected ?BillingMethod $billingMethod; protected BillingAddress $billingAddress; - protected Address $deliveryAddress; + protected ?Address $deliveryAddress; protected bool $addressesEqual; protected Price $price; protected DocumentCustomer $customer; @@ -236,12 +236,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): Address + public function getDeliveryAddress(): ?Address { return $this->deliveryAddress; } - public function setDeliveryAddress(Address $deliveryAddress): static + public function setDeliveryAddress(?Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/DeliveryNote.php b/src/Component/Entity/DeliveryNote.php index f71a3c09..4e494cc3 100755 --- a/src/Component/Entity/DeliveryNote.php +++ b/src/Component/Entity/DeliveryNote.php @@ -13,7 +13,7 @@ class DeliveryNote extends Entity protected TypeDateTimeNullable $creationTime; protected TypeDateTimeNullable $changeTime; protected BillingAddress $billingAddress; - protected Address $deliveryAddress; + protected ?Address $deliveryAddress; protected bool $addressesEqual; protected DocumentCustomer $customer; protected Items $items; @@ -85,12 +85,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): Address + public function getDeliveryAddress(): ?Address { return $this->deliveryAddress; } - public function setDeliveryAddress(Address $deliveryAddress): static + public function setDeliveryAddress(?Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/Invoice.php b/src/Component/Entity/Invoice.php index 41f1e144..9fd20935 100755 --- a/src/Component/Entity/Invoice.php +++ b/src/Component/Entity/Invoice.php @@ -24,7 +24,7 @@ class Invoice extends Entity protected TypeWeightUnlimited $completePackageWeight; protected ?BillingMethod $billingMethod; protected BillingAddress $billingAddress; - protected Address $deliveryAddress; + protected ?Address $deliveryAddress; protected bool $addressesEqual; protected Price $price; protected DocumentCustomer $customer; @@ -200,12 +200,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): Address + public function getDeliveryAddress(): ?Address { return $this->deliveryAddress; } - public function setDeliveryAddress(Address $deliveryAddress): static + public function setDeliveryAddress(?Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/InvoiceItem.php b/src/Component/Entity/InvoiceItem.php index 9fc897b1..0a1e1200 100755 --- a/src/Component/Entity/InvoiceItem.php +++ b/src/Component/Entity/InvoiceItem.php @@ -34,7 +34,7 @@ class InvoiceItem extends Entity protected ?RecyclingFee $recyclingFee; protected ?ItemSurchargeParameters $surchargeParameters; protected ?ItemSpecificSurchargeParameters $specificSurchargeParameters; - protected DocumentConsumptionTax $consumptionTax; + protected ?DocumentConsumptionTax $consumptionTax; protected ?ItemPriceVatBreakdown $itemPriceVatBreakdown; public function getProductGuid(): ?TypeGuidUnlimited @@ -275,12 +275,12 @@ public function setSpecificSurchargeParameters( return $this; } - public function getConsumptionTax(): DocumentConsumptionTax + public function getConsumptionTax(): ?DocumentConsumptionTax { return $this->consumptionTax; } - public function setConsumptionTax(DocumentConsumptionTax $consumptionTax): static + public function setConsumptionTax(?DocumentConsumptionTax $consumptionTax): static { $this->consumptionTax = $consumptionTax; return $this; diff --git a/src/Component/Entity/Order.php b/src/Component/Entity/Order.php index 7305515f..3722f8de 100755 --- a/src/Component/Entity/Order.php +++ b/src/Component/Entity/Order.php @@ -34,7 +34,7 @@ class Order extends Entity protected ?string $vatMode; protected ?BillingMethod $billingMethod; protected ?PaymentMethod $paymentMethod; - protected Shipping $shipping; + protected ?Shipping $shipping; protected ?ShippingDetails $shippingDetails; protected string $adminUrl; protected ?Status $status; @@ -43,7 +43,7 @@ class Order extends Entity protected Price $price; protected ?bool $paid; protected BillingAddress $billingAddress; - protected Address $deliveryAddress; + protected ?Address $deliveryAddress; protected ?string $onlinePaymentLink; protected ?string $language; protected ?string $referer; @@ -242,12 +242,12 @@ public function setPaymentMethod(?PaymentMethod $paymentMethod): static return $this; } - public function getShipping(): Shipping + public function getShipping(): ?Shipping { return $this->shipping; } - public function setShipping(Shipping $shipping): static + public function setShipping(?Shipping $shipping): static { $this->shipping = $shipping; return $this; @@ -341,12 +341,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): Address + public function getDeliveryAddress(): ?Address { return $this->deliveryAddress; } - public function setDeliveryAddress(Address $deliveryAddress): static + public function setDeliveryAddress(?Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/OrderItem.php b/src/Component/Entity/OrderItem.php index a8613794..21fc7b71 100755 --- a/src/Component/Entity/OrderItem.php +++ b/src/Component/Entity/OrderItem.php @@ -37,7 +37,7 @@ class OrderItem extends Entity /** @deprecated */ protected ?ItemPrice $buyPrice; protected ?ItemPrice $purchasePrice; - protected RecyclingFee $recyclingFee; + protected ?RecyclingFee $recyclingFee; protected ?MainImage $mainImage; protected ?string $stockLocation; protected ?string $supplierName; @@ -281,12 +281,12 @@ public function setPurchasePrice(?ItemPrice $purchasePrice): static return $this; } - public function getRecyclingFee(): RecyclingFee + public function getRecyclingFee(): ?RecyclingFee { return $this->recyclingFee; } - public function setRecyclingFee(RecyclingFee $recyclingFee): static + public function setRecyclingFee(?RecyclingFee $recyclingFee): static { $this->recyclingFee = $recyclingFee; return $this; diff --git a/src/Component/Entity/Product/FilteringParameters/Item.php b/src/Component/Entity/Product/FilteringParameters/Item.php index 65b8261d..8f185571 100755 --- a/src/Component/Entity/Product/FilteringParameters/Item.php +++ b/src/Component/Entity/Product/FilteringParameters/Item.php @@ -13,7 +13,7 @@ class Item extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getCode(): string @@ -71,12 +71,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Component/Entity/Product/Variants/Item.php b/src/Component/Entity/Product/Variants/Item.php index b5cee0af..910ad952 100755 --- a/src/Component/Entity/Product/Variants/Item.php +++ b/src/Component/Entity/Product/Variants/Item.php @@ -41,7 +41,7 @@ class Item extends Entity protected string $vatRate; protected string $currencyCode; protected TypeAmountNullable $minStockSupply; - protected ActionPrice $actionPrice; + protected ?ActionPrice $actionPrice; protected ?string $image; protected ?bool $isProductDefaultImage; protected ?string $name; @@ -284,12 +284,12 @@ public function setMinStockSupply(TypeAmountNullable $minStockSupply): static return $this; } - public function getActionPrice(): ActionPrice + public function getActionPrice(): ?ActionPrice { return $this->actionPrice; } - public function setActionPrice(ActionPrice $actionPrice): static + public function setActionPrice(?ActionPrice $actionPrice): static { $this->actionPrice = $actionPrice; return $this; diff --git a/src/Component/Entity/ProformaInvoice.php b/src/Component/Entity/ProformaInvoice.php index 5e35a872..fef77f76 100755 --- a/src/Component/Entity/ProformaInvoice.php +++ b/src/Component/Entity/ProformaInvoice.php @@ -23,7 +23,7 @@ class ProformaInvoice extends Entity protected TypeWeightUnlimited $completePackageWeight; protected ?BillingMethod $billingMethod; protected BillingAddress $billingAddress; - protected Address $deliveryAddress; + protected ?Address $deliveryAddress; protected bool $addressesEqual; protected Price $price; protected DocumentCustomer $customer; @@ -187,12 +187,12 @@ public function setBillingAddress(BillingAddress $billingAddress): static return $this; } - public function getDeliveryAddress(): Address + public function getDeliveryAddress(): ?Address { return $this->deliveryAddress; } - public function setDeliveryAddress(Address $deliveryAddress): static + public function setDeliveryAddress(?Address $deliveryAddress): static { $this->deliveryAddress = $deliveryAddress; return $this; diff --git a/src/Component/Entity/ProofPaymentDetail.php b/src/Component/Entity/ProofPaymentDetail.php index d06dbc3f..c9bba7d6 100755 --- a/src/Component/Entity/ProofPaymentDetail.php +++ b/src/Component/Entity/ProofPaymentDetail.php @@ -59,7 +59,7 @@ class ProofPaymentDetail extends Entity protected ?string $bic; protected ?string $documentRemark; protected ?string $invoiceCode; - protected ProofPaymentVatBreakdown $vatBreakdown; + protected ?ProofPaymentVatBreakdown $vatBreakdown; protected ?string $vatMode; protected TypeExchangeRate $invoicingExchangeRate; @@ -575,12 +575,12 @@ public function setInvoiceCode(?string $invoiceCode): static return $this; } - public function getVatBreakdown(): ProofPaymentVatBreakdown + public function getVatBreakdown(): ?ProofPaymentVatBreakdown { return $this->vatBreakdown; } - public function setVatBreakdown(ProofPaymentVatBreakdown $vatBreakdown): static + public function setVatBreakdown(?ProofPaymentVatBreakdown $vatBreakdown): static { $this->vatBreakdown = $vatBreakdown; return $this; diff --git a/src/Component/Entity/ProofPaymentsForInvoice/Item.php b/src/Component/Entity/ProofPaymentsForInvoice/Item.php index b54bd26d..50b4a91a 100755 --- a/src/Component/Entity/ProofPaymentsForInvoice/Item.php +++ b/src/Component/Entity/ProofPaymentsForInvoice/Item.php @@ -8,7 +8,7 @@ class Item extends Entity { protected string $code; - protected ProofPaymentVatBreakdown $vatBreakdown; + protected ?ProofPaymentVatBreakdown $vatBreakdown; public function getCode(): string { @@ -21,12 +21,12 @@ public function setCode(string $code): static return $this; } - public function getVatBreakdown(): ProofPaymentVatBreakdown + public function getVatBreakdown(): ?ProofPaymentVatBreakdown { return $this->vatBreakdown; } - public function setVatBreakdown(ProofPaymentVatBreakdown $vatBreakdown): static + public function setVatBreakdown(?ProofPaymentVatBreakdown $vatBreakdown): static { $this->vatBreakdown = $vatBreakdown; return $this; diff --git a/src/Component/Entity/QuantityDiscount.php b/src/Component/Entity/QuantityDiscount.php index 0fce8429..960cbf5d 100755 --- a/src/Component/Entity/QuantityDiscount.php +++ b/src/Component/Entity/QuantityDiscount.php @@ -20,7 +20,7 @@ class QuantityDiscount extends Entity protected bool $isActive; protected string $status; protected string $targetingLevel; - protected QuantityDiscountTargetingResponse $targeting; + protected ?QuantityDiscountTargetingResponse $targeting; protected bool $includeUnregisteredCustomers; protected QuantityDiscountSettingsResponse $settings; @@ -156,12 +156,12 @@ public function setTargetingLevel(string $targetingLevel): static return $this; } - public function getTargeting(): QuantityDiscountTargetingResponse + public function getTargeting(): ?QuantityDiscountTargetingResponse { return $this->targeting; } - public function setTargeting(QuantityDiscountTargetingResponse $targeting): static + public function setTargeting(?QuantityDiscountTargetingResponse $targeting): static { $this->targeting = $targeting; return $this; diff --git a/src/Component/Entity/VariantPrice.php b/src/Component/Entity/VariantPrice.php index 8d29f29c..17f7165c 100755 --- a/src/Component/Entity/VariantPrice.php +++ b/src/Component/Entity/VariantPrice.php @@ -11,7 +11,7 @@ class VariantPrice extends Entity protected TypePriceNullable $commonPrice; protected TypePriceNullable $buyPrice; protected TypeProductPriceRatio $priceRatio; - protected ActionPrice $actionPrice; + protected ?ActionPrice $actionPrice; public function getPrice(): TypePriceNullable { @@ -57,12 +57,12 @@ public function setPriceRatio(TypeProductPriceRatio $priceRatio): static return $this; } - public function getActionPrice(): ActionPrice + public function getActionPrice(): ?ActionPrice { return $this->actionPrice; } - public function setActionPrice(ActionPrice $actionPrice): static + public function setActionPrice(?ActionPrice $actionPrice): static { $this->actionPrice = $actionPrice; return $this; diff --git a/src/Component/Entity/XyDiscount.php b/src/Component/Entity/XyDiscount.php index 5dddfa06..8d5cd599 100755 --- a/src/Component/Entity/XyDiscount.php +++ b/src/Component/Entity/XyDiscount.php @@ -24,8 +24,8 @@ class XyDiscount extends Entity protected TypeColor $bannerColor; protected ?int $priority; protected ?int $usageCount; - protected XyDiscountTargetingResponse $xTargeting; - protected XyDiscountTargetingResponse $yTargeting; + protected ?XyDiscountTargetingResponse $xTargeting; + protected ?XyDiscountTargetingResponse $yTargeting; protected bool $includeUnregisteredCustomers; public function getId(): int @@ -193,23 +193,23 @@ public function setUsageCount(?int $usageCount): static return $this; } - public function getXTargeting(): XyDiscountTargetingResponse + public function getXTargeting(): ?XyDiscountTargetingResponse { return $this->xTargeting; } - public function setXTargeting(XyDiscountTargetingResponse $xTargeting): static + public function setXTargeting(?XyDiscountTargetingResponse $xTargeting): static { $this->xTargeting = $xTargeting; return $this; } - public function getYTargeting(): XyDiscountTargetingResponse + public function getYTargeting(): ?XyDiscountTargetingResponse { return $this->yTargeting; } - public function setYTargeting(XyDiscountTargetingResponse $yTargeting): static + public function setYTargeting(?XyDiscountTargetingResponse $yTargeting): static { $this->yTargeting = $yTargeting; return $this; diff --git a/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php b/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php index 311dd7dd..e8117794 100755 --- a/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php +++ b/src/Endpoint/FilteringParameters/CreateFilteringParameterResponse/CreateFilteringParameterResponse/Data.php @@ -14,7 +14,7 @@ class Data extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected ?Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php b/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php index a3a18629..5aa76f94 100755 --- a/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php +++ b/src/Endpoint/FilteringParameters/CreateFilteringParameterValueResponse/CreateFilteringParameterValueResponse/Data.php @@ -14,7 +14,7 @@ class Data extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected ?Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php b/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php index 5ccb4bca..32c7fa3f 100755 --- a/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php +++ b/src/Endpoint/FilteringParameters/GetDetailOfFilteringParameterResponse/GetDetailOfFilteringParameterResponse/Data.php @@ -14,7 +14,7 @@ class Data extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected ?Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php b/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php index 141de994..14c9cbcb 100755 --- a/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php +++ b/src/Endpoint/FilteringParameters/GetListOfFilteringParametersResponse/GetListOfFilteringParametersResponse/Data/FilteringParameters/Item.php @@ -14,7 +14,7 @@ class Item extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php b/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php index 5caa73e2..6228a086 100755 --- a/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php +++ b/src/Endpoint/FilteringParameters/UpdateFilteringParameterResponse/UpdateFilteringParameterResponse/Data.php @@ -14,7 +14,7 @@ class Data extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected ?Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php b/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php index 5b50f25f..7bf03dab 100755 --- a/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php +++ b/src/Endpoint/FilteringParameters/UpdateFilteringParameterValueResponse/UpdateFilteringParameterValueResponse/Data.php @@ -14,7 +14,7 @@ class Data extends Entity protected ?string $displayName; protected ?string $description; protected ?int $priority; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected ?Values $values; public function getId(): int @@ -83,12 +83,12 @@ public function setPriority(?int $priority): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php index 1d3fd45d..be2ec817 100755 --- a/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php +++ b/src/Endpoint/Orders/GetListOfOrdersResponse/GetListOfOrdersResponse/Data/Orders/Item.php @@ -29,7 +29,7 @@ class Item extends Entity protected string $adminUrl; protected ?Status $status; protected ?Source $source; - protected Shipping $shipping; + protected ?Shipping $shipping; protected ?PaymentMethod $paymentMethod; protected Price $price; protected ?bool $paid; @@ -190,12 +190,12 @@ public function setSource(?Source $source): static return $this; } - public function getShipping(): Shipping + public function getShipping(): ?Shipping { return $this->shipping; } - public function setShipping(Shipping $shipping): static + public function setShipping(?Shipping $shipping): static { $this->shipping = $shipping; return $this; diff --git a/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php index 00aed70a..c311b2d4 100755 --- a/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterResponse/CreateSurchargeParameterResponse/Data/SurchargeParameter.php @@ -18,7 +18,7 @@ class SurchargeParameter extends Entity protected string $currency; protected bool $includingVat; protected ?bool $subscription; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -131,12 +131,12 @@ public function setSubscription(?bool $subscription): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php index be0c3627..e98f291c 100755 --- a/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/CreateSurchargeParameterValueResponse/CreateSurchargeParameterValueResponse/Data/SurchargeParameter.php @@ -18,7 +18,7 @@ class SurchargeParameter extends Entity protected string $currency; protected bool $includingVat; protected ?bool $subscription; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -131,12 +131,12 @@ public function setSubscription(?bool $subscription): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php index 7fccb95f..2ec068e8 100755 --- a/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/GetDetailOfSurchargeParameterResponse/GetDetailOfSurchargeParameterResponse/Data/SurchargeParameter.php @@ -18,7 +18,7 @@ class SurchargeParameter extends Entity protected string $currency; protected bool $includingVat; protected ?bool $subscription; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -131,12 +131,12 @@ public function setSubscription(?bool $subscription): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php b/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php index 636e7039..795f7919 100755 --- a/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php +++ b/src/Endpoint/SurchargeParameters/GetListOfSurchargeParametersResponse/GetListOfSurchargeParametersResponse/Data/SurchargeParameters/Item.php @@ -18,7 +18,7 @@ class Item extends Entity protected string $currency; protected bool $includingVat; protected ?bool $subscription; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -131,12 +131,12 @@ public function setSubscription(?bool $subscription): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php index 6a8d399c..8978b217 100755 --- a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterResponse/UpdateSurchargeParameterResponse/Data/SurchargeParameter.php @@ -16,7 +16,7 @@ class SurchargeParameter extends Entity protected bool $required; protected string $currency; protected bool $includingVat; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; public function getId(): int { @@ -117,12 +117,12 @@ public function setIncludingVat(bool $includingVat): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this; diff --git a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php index 70a3f243..5f3f7c7f 100755 --- a/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php +++ b/src/Endpoint/SurchargeParameters/UpdateSurchargeParameterValueResponse/UpdateSurchargeParameterValueResponse/Data/SurchargeParameter.php @@ -18,7 +18,7 @@ class SurchargeParameter extends Entity protected string $currency; protected bool $includingVat; protected ?bool $subscription; - protected GoogleMappingType $googleMapping; + protected ?GoogleMappingType $googleMapping; protected Values $values; public function getId(): int @@ -131,12 +131,12 @@ public function setSubscription(?bool $subscription): static return $this; } - public function getGoogleMapping(): GoogleMappingType + public function getGoogleMapping(): ?GoogleMappingType { return $this->googleMapping; } - public function setGoogleMapping(GoogleMappingType $googleMapping): static + public function setGoogleMapping(?GoogleMappingType $googleMapping): static { $this->googleMapping = $googleMapping; return $this;