Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/Requests/V30/BuyOrderDeliveryRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions src/Responses/V30/Creditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function __construct(
public ?\Webparking\Logic4Client\Data\V30\CreditorTypeDto $creditorType,
public ?string $telephoneNumber,
public ?string $vatNumber,
public ?string $bankAccount,
) {
}

Expand Down Expand Up @@ -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,
);
}
}
2 changes: 2 additions & 0 deletions src/Responses/V30/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions src/Responses/V30/WarehouseStockLocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public function __construct(
public ?string $columnName,
public ?string $rowName,
public ?string $warehouseName,
public bool $isUsedAsInTransitLocation,
) {
}

Expand Down Expand Up @@ -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,
);
}
}
2 changes: 2 additions & 0 deletions src/Responses/V31/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down