commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomLineItemStateTransitionMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
14 use DateTimeImmutable;
15 
17 {
18  public const FIELD_CUSTOM_LINE_ITEM_ID = 'customLineItemId';
19  public const FIELD_CUSTOM_LINE_ITEM_KEY = 'customLineItemKey';
20  public const FIELD_TRANSITION_DATE = 'transitionDate';
21  public const FIELD_QUANTITY = 'quantity';
22  public const FIELD_FROM_STATE = 'fromState';
23  public const FIELD_TO_STATE = 'toState';
24 
31  public function getCustomLineItemId();
32 
39  public function getCustomLineItemKey();
40 
47  public function getTransitionDate();
48 
55  public function getQuantity();
56 
63  public function getFromState();
64 
71  public function getToState();
72 
76  public function setCustomLineItemId(?string $customLineItemId): void;
77 
81  public function setCustomLineItemKey(?string $customLineItemKey): void;
82 
86  public function setTransitionDate(?DateTimeImmutable $transitionDate): void;
87 
91  public function setQuantity(?int $quantity): void;
92 
96  public function setFromState(?StateReference $fromState): void;
97 
101  public function setToState(?StateReference $toState): void;
102 }