commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
MyPayment.php
1 <?php
2 
3 declare(strict_types=1);
10 
18 
19 interface MyPayment extends JsonObject
20 {
21  public const FIELD_ID = 'id';
22  public const FIELD_VERSION = 'version';
23  public const FIELD_CUSTOMER = 'customer';
24  public const FIELD_ANONYMOUS_ID = 'anonymousId';
25  public const FIELD_AMOUNT_PLANNED = 'amountPlanned';
26  public const FIELD_PAYMENT_METHOD_INFO = 'paymentMethodInfo';
27  public const FIELD_TRANSACTIONS = 'transactions';
28  public const FIELD_CUSTOM = 'custom';
29 
36  public function getId();
37 
44  public function getVersion();
45 
52  public function getCustomer();
53 
60  public function getAnonymousId();
61 
69  public function getAmountPlanned();
70 
77  public function getPaymentMethodInfo();
78 
85  public function getTransactions();
86 
93  public function getCustom();
94 
98  public function setId(?string $id): void;
99 
103  public function setVersion(?int $version): void;
104 
108  public function setCustomer(?CustomerReference $customer): void;
109 
113  public function setAnonymousId(?string $anonymousId): void;
114 
118  public function setAmountPlanned(?CentPrecisionMoney $amountPlanned): void;
119 
123  public function setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo): void;
124 
128  public function setTransactions(?TransactionCollection $transactions): void;
129 
133  public function setCustom(?CustomFields $custom): void;
134 }
setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo)
setTransactions(?TransactionCollection $transactions)
setCustomer(?CustomerReference $customer)
setAnonymousId(?string $anonymousId)
setAmountPlanned(?CentPrecisionMoney $amountPlanned)
setCustom(?CustomFields $custom)