diff --git a/src/Model/Rma/HandlingResult.php b/src/Model/Rma/HandlingResult.php index 6c73c8b..d53d6d1 100644 --- a/src/Model/Rma/HandlingResult.php +++ b/src/Model/Rma/HandlingResult.php @@ -23,7 +23,7 @@ final class HandlingResult 'EXCESSIVE_RETURN' => 'EXCESSIVE_RETURN', 'STILL_RECEIVED' => 'STILL_RECEIVED', 'CANCELLED_BY_CUSTOMER' => 'CANCELLED_BY_CUSTOMER', - 'FAILED_TO_COLLECT_BY_TRANSPORTER' => 'FAILED_TO_COLLECT_BY_TRANSPORTER', + 'FAILED_TO_CREATE_SHIPPING_LABEL' => 'FAILED_TO_CREATE_SHIPPING_LABEL', ]; const RETURN_RECEIVED = 'RETURN_RECEIVED'; @@ -38,7 +38,7 @@ final class HandlingResult const EXCESSIVE_RETURN = 'EXCESSIVE_RETURN'; const STILL_RECEIVED = 'STILL_RECEIVED'; const CANCELLED_BY_CUSTOMER = 'CANCELLED_BY_CUSTOMER'; - const FAILED_TO_COLLECT_BY_TRANSPORTER = 'FAILED_TO_COLLECT_BY_TRANSPORTER'; + const FAILED_TO_CREATE_SHIPPING_LABEL = 'FAILED_TO_CREATE_SHIPPING_LABEL'; private $name; private $value; @@ -109,9 +109,9 @@ public static function CANCELLED_BY_CUSTOMER(): self return new self('CANCELLED_BY_CUSTOMER'); } - public static function FAILED_TO_COLLECT_BY_TRANSPORTER(): self + public static function FAILED_TO_CREATE_SHIPPING_LABEL(): self { - return new self('FAILED_TO_COLLECT_BY_TRANSPORTER'); + return new self('FAILED_TO_CREATE_SHIPPING_LABEL'); } public static function fromName(string $value): self diff --git a/src/Model/Rma/domain.fpp b/src/Model/Rma/domain.fpp index 06b631b..178d364 100644 --- a/src/Model/Rma/domain.fpp +++ b/src/Model/Rma/domain.fpp @@ -42,7 +42,7 @@ namespace BolCom\RetailerApi\Model\Rma { data HandlingResult = RETURN_RECEIVED | EXCHANGE_PRODUCT | RETURN_DOES_NOT_MEET_CONDITIONS | REPAIR_PRODUCT | CUSTOMER_KEEPS_PRODUCT_PAID | STILL_APPROVED | CUSTOMER_KEEPS_PRODUCT_FREE_OF_CHARGE | RETURN_ITEM_LOST | EXPIRED | EXCESSIVE_RETURN | STILL_RECEIVED | CANCELLED_BY_CUSTOMER - | FAILED_TO_COLLECT_BY_TRANSPORTER deriving(Enum(useValue)); + | FAILED_TO_CREATE_SHIPPING_LABEL deriving(Enum(useValue)); data ProcessingResult = PENDING | ACCEPTED | REJECTED | CANCELLED deriving(Enum(useValue));