diff --git a/src/Requests/V30/BuyOrderDeliveryRequest.php b/src/Requests/V30/BuyOrderDeliveryRequest.php index a4ae932..00c4008 100644 --- a/src/Requests/V30/BuyOrderDeliveryRequest.php +++ b/src/Requests/V30/BuyOrderDeliveryRequest.php @@ -131,7 +131,9 @@ public function getBuyOrderDeliveryTypes(): array /** * Wijzig de inkooplevering. - * Enkel statusId 3 of 5 zijn toegestaan. + * De status van volledig verwerkte inkoopleveringen (statusId=5) kan niet worden aangepast. + * Toegestane waarden voor statusId zijn 2 (levering verwerkt, wacht op factuur), 3 (wacht op controle), + * 5 (volledig verwerkt) en 7 (levering verwerkt, factuur deels verwerkt). * * @param array{ * Id?: int, diff --git a/src/Responses/V30/Creditor.php b/src/Responses/V30/Creditor.php index 7b867c9..21e5dd7 100644 --- a/src/Responses/V30/Creditor.php +++ b/src/Responses/V30/Creditor.php @@ -28,6 +28,7 @@ public function __construct( public ?\Webparking\Logic4Client\Data\V30\CreditorTypeDto $creditorType, public ?string $telephoneNumber, public ?string $vatNumber, + public ?string $bankAccount, ) { } @@ -56,6 +57,7 @@ public static function make(array $data): self creditorType: isset($data['CreditorType']) ? \Webparking\Logic4Client\Data\V30\CreditorTypeDto::make($data['CreditorType']) : null, telephoneNumber: $data['TelephoneNumber'] ?? null, vatNumber: $data['VatNumber'] ?? null, + bankAccount: $data['BankAccount'] ?? null, ); } } diff --git a/src/Responses/V30/Customer.php b/src/Responses/V30/Customer.php index 68e1458..5514b83 100644 --- a/src/Responses/V30/Customer.php +++ b/src/Responses/V30/Customer.php @@ -21,6 +21,7 @@ public function __construct( public ?string $paymentReminderEmail, public ?string $firstClickGclIdValues, public ?string $firstClickUtmValues, + public ?string $province, public ?string $isoCode, public ?string $countryCode, public int $countryId, @@ -77,6 +78,7 @@ public static function make(array $data): self paymentReminderEmail: $data['PaymentReminderEmail'] ?? null, firstClickGclIdValues: $data['FirstClickGclIdValues'] ?? null, firstClickUtmValues: $data['FirstClickUtmValues'] ?? null, + province: $data['Province'] ?? null, isoCode: $data['IsoCode'] ?? null, countryCode: $data['CountryCode'] ?? null, countryId: $data['CountryId'] ?? 0, diff --git a/src/Responses/V30/WarehouseStockLocation.php b/src/Responses/V30/WarehouseStockLocation.php index 2dc71ec..3bf4896 100644 --- a/src/Responses/V30/WarehouseStockLocation.php +++ b/src/Responses/V30/WarehouseStockLocation.php @@ -28,6 +28,7 @@ public function __construct( public ?string $columnName, public ?string $rowName, public ?string $warehouseName, + public bool $isUsedAsInTransitLocation, ) { } @@ -56,6 +57,7 @@ public static function make(array $data): self columnName: $data['ColumnName'] ?? null, rowName: $data['RowName'] ?? null, warehouseName: $data['WarehouseName'] ?? null, + isUsedAsInTransitLocation: $data['IsUsedAsInTransitLocation'] ?? false, ); } } diff --git a/src/Responses/V31/Customer.php b/src/Responses/V31/Customer.php index 6b10424..3988597 100644 --- a/src/Responses/V31/Customer.php +++ b/src/Responses/V31/Customer.php @@ -21,6 +21,7 @@ public function __construct( public ?string $paymentReminderEmail, public ?string $firstClickGclIdValues, public ?string $firstClickUtmValues, + public ?string $province, public ?string $isoCode, public ?string $countryCode, public int $countryId, @@ -77,6 +78,7 @@ public static function make(array $data): self paymentReminderEmail: $data['PaymentReminderEmail'] ?? null, firstClickGclIdValues: $data['FirstClickGclIdValues'] ?? null, firstClickUtmValues: $data['FirstClickUtmValues'] ?? null, + province: $data['Province'] ?? null, isoCode: $data['IsoCode'] ?? null, countryCode: $data['CountryCode'] ?? null, countryId: $data['CountryId'] ?? 0,