commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
PaymentDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
17 
18 interface PaymentDraft extends JsonObject
19 {
20  public const FIELD_CUSTOMER = 'customer';
21  public const FIELD_ANONYMOUS_ID = 'anonymousId';
22  public const FIELD_INTERFACE_ID = 'interfaceId';
23  public const FIELD_AMOUNT_PLANNED = 'amountPlanned';
24  public const FIELD_PAYMENT_METHOD_INFO = 'paymentMethodInfo';
25  public const FIELD_PAYMENT_STATUS = 'paymentStatus';
26  public const FIELD_TRANSACTIONS = 'transactions';
27  public const FIELD_INTERFACE_INTERACTIONS = 'interfaceInteractions';
28  public const FIELD_CUSTOM = 'custom';
29  public const FIELD_KEY = 'key';
30 
37  public function getCustomer();
38 
45  public function getAnonymousId();
46 
55  public function getInterfaceId();
56 
64  public function getAmountPlanned();
65 
72  public function getPaymentMethodInfo();
73 
80  public function getPaymentStatus();
81 
88  public function getTransactions();
89 
96  public function getInterfaceInteractions();
97 
104  public function getCustom();
105 
112  public function getKey();
113 
117  public function setCustomer(?CustomerResourceIdentifier $customer): void;
118 
122  public function setAnonymousId(?string $anonymousId): void;
123 
127  public function setInterfaceId(?string $interfaceId): void;
128 
132  public function setAmountPlanned(?Money $amountPlanned): void;
133 
137  public function setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo): void;
138 
142  public function setPaymentStatus(?PaymentStatusDraft $paymentStatus): void;
143 
147  public function setTransactions(?TransactionDraftCollection $transactions): void;
148 
152  public function setInterfaceInteractions(?CustomFieldsDraftCollection $interfaceInteractions): void;
153 
157  public function setCustom(?CustomFieldsDraft $custom): void;
158 
162  public function setKey(?string $key): void;
163 }
setPaymentStatus(?PaymentStatusDraft $paymentStatus)
setCustom(?CustomFieldsDraft $custom)
setCustomer(?CustomerResourceIdentifier $customer)
setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo)
setTransactions(?TransactionDraftCollection $transactions)
setInterfaceInteractions(?CustomFieldsDraftCollection $interfaceInteractions)