commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
MyPaymentDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
16 
17 interface MyPaymentDraft extends JsonObject
18 {
19  public const FIELD_AMOUNT_PLANNED = 'amountPlanned';
20  public const FIELD_PAYMENT_METHOD_INFO = 'paymentMethodInfo';
21  public const FIELD_CUSTOM = 'custom';
22  public const FIELD_TRANSACTION = 'transaction';
23 
31  public function getAmountPlanned();
32 
39  public function getPaymentMethodInfo();
40 
47  public function getCustom();
48 
55  public function getTransaction();
56 
60  public function setAmountPlanned(?Money $amountPlanned): void;
61 
65  public function setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo): void;
66 
70  public function setCustom(?CustomFieldsDraft $custom): void;
71 
75  public function setTransaction(?MyTransactionDraft $transaction): void;
76 }
setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo)
setCustom(?CustomFieldsDraft $custom)
setTransaction(?MyTransactionDraft $transaction)