commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyPaymentDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\Common\Money
;
12
use
Commercetools\Api\Models\Payment\PaymentMethodInfo
;
13
use
Commercetools\Api\Models\Type\CustomFieldsDraft
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\Money
Definition:
Money.php:15
Commercetools\Api\Models\Me\MyPaymentDraft
Definition:
MyPaymentDraft.php:18
Commercetools\Api\Models\Me\MyPaymentDraft\FIELD_TRANSACTION
const FIELD_TRANSACTION
Definition:
MyPaymentDraft.php:22
Commercetools\Api\Models\Me\MyPaymentDraft\setPaymentMethodInfo
setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo)
Commercetools\Api\Models\Me\MyPaymentDraft\setCustom
setCustom(?CustomFieldsDraft $custom)
Commercetools\Api\Models\Me\MyPaymentDraft\FIELD_AMOUNT_PLANNED
const FIELD_AMOUNT_PLANNED
Definition:
MyPaymentDraft.php:19
Commercetools\Api\Models\Me\MyPaymentDraft\setTransaction
setTransaction(?MyTransactionDraft $transaction)
Commercetools\Api\Models\Me\MyPaymentDraft\getPaymentMethodInfo
getPaymentMethodInfo()
Commercetools\Api\Models\Me\MyPaymentDraft\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
MyPaymentDraft.php:21
Commercetools\Api\Models\Me\MyPaymentDraft\FIELD_PAYMENT_METHOD_INFO
const FIELD_PAYMENT_METHOD_INFO
Definition:
MyPaymentDraft.php:20
Commercetools\Api\Models\Me\MyPaymentDraft\getAmountPlanned
getAmountPlanned()
Commercetools\Api\Models\Me\MyPaymentDraft\setAmountPlanned
setAmountPlanned(?Money $amountPlanned)
Commercetools\Api\Models\Me\MyPaymentDraft\getTransaction
getTransaction()
Commercetools\Api\Models\Me\MyPaymentDraft\getCustom
getCustom()
Commercetools\Api\Models\Me\MyTransactionDraft
Definition:
MyTransactionDraft.php:18
Commercetools\Api\Models\Payment\PaymentMethodInfo
Definition:
PaymentMethodInfo.php:16
Commercetools\Api\Models\Type\CustomFieldsDraft
Definition:
CustomFieldsDraft.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1