commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Me
MyPayment.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Me
;
10
11
use
Commercetools\Api\Models\Common\CentPrecisionMoney
;
12
use
Commercetools\Api\Models\Customer\CustomerReference
;
13
use
Commercetools\Api\Models\Payment\PaymentMethodInfo
;
14
use
Commercetools\Api\Models\Payment\TransactionCollection
;
15
use
Commercetools\Api\Models\Type\CustomFields
;
16
use
Commercetools\Base\DateTimeImmutableCollection
;
17
use
Commercetools\Base\JsonObject
;
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
}
Commercetools\Api\Models\Payment\TransactionCollection
Definition:
TransactionCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\CentPrecisionMoney
Definition:
CentPrecisionMoney.php:15
Commercetools\Api\Models\Customer\CustomerReference
Definition:
CustomerReference.php:16
Commercetools\Api\Models\Me\MyPayment
Definition:
MyPayment.php:20
Commercetools\Api\Models\Me\MyPayment\setPaymentMethodInfo
setPaymentMethodInfo(?PaymentMethodInfo $paymentMethodInfo)
Commercetools\Api\Models\Me\MyPayment\getId
getId()
Commercetools\Api\Models\Me\MyPayment\FIELD_ANONYMOUS_ID
const FIELD_ANONYMOUS_ID
Definition:
MyPayment.php:24
Commercetools\Api\Models\Me\MyPayment\setTransactions
setTransactions(?TransactionCollection $transactions)
Commercetools\Api\Models\Me\MyPayment\setCustomer
setCustomer(?CustomerReference $customer)
Commercetools\Api\Models\Me\MyPayment\getAnonymousId
getAnonymousId()
Commercetools\Api\Models\Me\MyPayment\setAnonymousId
setAnonymousId(?string $anonymousId)
Commercetools\Api\Models\Me\MyPayment\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Me\MyPayment\FIELD_VERSION
const FIELD_VERSION
Definition:
MyPayment.php:22
Commercetools\Api\Models\Me\MyPayment\setId
setId(?string $id)
Commercetools\Api\Models\Me\MyPayment\setAmountPlanned
setAmountPlanned(?CentPrecisionMoney $amountPlanned)
Commercetools\Api\Models\Me\MyPayment\getCustom
getCustom()
Commercetools\Api\Models\Me\MyPayment\getAmountPlanned
getAmountPlanned()
Commercetools\Api\Models\Me\MyPayment\FIELD_ID
const FIELD_ID
Definition:
MyPayment.php:21
Commercetools\Api\Models\Me\MyPayment\FIELD_TRANSACTIONS
const FIELD_TRANSACTIONS
Definition:
MyPayment.php:27
Commercetools\Api\Models\Me\MyPayment\FIELD_AMOUNT_PLANNED
const FIELD_AMOUNT_PLANNED
Definition:
MyPayment.php:25
Commercetools\Api\Models\Me\MyPayment\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Me\MyPayment\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
MyPayment.php:28
Commercetools\Api\Models\Me\MyPayment\getTransactions
getTransactions()
Commercetools\Api\Models\Me\MyPayment\getPaymentMethodInfo
getPaymentMethodInfo()
Commercetools\Api\Models\Me\MyPayment\getVersion
getVersion()
Commercetools\Api\Models\Me\MyPayment\FIELD_PAYMENT_METHOD_INFO
const FIELD_PAYMENT_METHOD_INFO
Definition:
MyPayment.php:26
Commercetools\Api\Models\Me\MyPayment\FIELD_CUSTOMER
const FIELD_CUSTOMER
Definition:
MyPayment.php:23
Commercetools\Api\Models\Me\MyPayment\getCustomer
getCustomer()
Commercetools\Api\Models\Payment\PaymentMethodInfo
Definition:
PaymentMethodInfo.php:16
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Me
Definition:
MyBusinessUnitAddAddressAction.php:9
Generated by
1.9.1