commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
lib
commercetools-api
src
Models
Payment
PaymentMethodInfo.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Payment
;
10
11
use
Commercetools\Api\Models\Common\LocalizedString
;
12
use
Commercetools\Api\Models\PaymentMethod\PaymentMethodToken
;
13
use
Commercetools\Api\Models\Type\CustomFields
;
14
use
Commercetools\Base\DateTimeImmutableCollection
;
15
use
Commercetools\Base\JsonObject
;
16
17
interface
PaymentMethodInfo
extends
JsonObject
18
{
19
public
const
FIELD_PAYMENT_INTERFACE
=
'paymentInterface'
;
20
public
const
FIELD_METHOD
=
'method'
;
21
public
const
FIELD_NAME
=
'name'
;
22
public
const
FIELD_TOKEN
=
'token'
;
23
public
const
FIELD_INTERFACE_ACCOUNT
=
'interfaceAccount'
;
24
public
const
FIELD_CUSTOM
=
'custom'
;
25
33
public
function
getPaymentInterface
();
34
41
public
function
getMethod
();
42
49
public
function
getName
();
50
57
public
function
getToken
();
58
65
public
function
getInterfaceAccount
();
66
73
public
function
getCustom
();
74
78
public
function
setPaymentInterface
(?
string
$paymentInterface): void;
79
83
public
function
setMethod
(?
string
$method): void;
84
88
public
function
setName
(?
LocalizedString
$name): void;
89
93
public
function
setToken
(?
PaymentMethodToken
$token): void;
94
98
public
function
setInterfaceAccount
(?
string
$interfaceAccount): void;
99
103
public
function
setCustom
(?
CustomFields
$custom): void;
104
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Common\LocalizedString
Definition
LocalizedString.php:14
Commercetools\Api\Models\Payment\PaymentMethodInfo
Definition
PaymentMethodInfo.php:18
Commercetools\Api\Models\Payment\PaymentMethodInfo\getPaymentInterface
getPaymentInterface()
Commercetools\Api\Models\Payment\PaymentMethodInfo\setName
setName(?LocalizedString $name)
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_NAME
const FIELD_NAME
Definition
PaymentMethodInfo.php:21
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_CUSTOM
const FIELD_CUSTOM
Definition
PaymentMethodInfo.php:24
Commercetools\Api\Models\Payment\PaymentMethodInfo\setToken
setToken(?PaymentMethodToken $token)
Commercetools\Api\Models\Payment\PaymentMethodInfo\getMethod
getMethod()
Commercetools\Api\Models\Payment\PaymentMethodInfo\getToken
getToken()
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_INTERFACE_ACCOUNT
const FIELD_INTERFACE_ACCOUNT
Definition
PaymentMethodInfo.php:23
Commercetools\Api\Models\Payment\PaymentMethodInfo\setMethod
setMethod(?string $method)
Commercetools\Api\Models\Payment\PaymentMethodInfo\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Payment\PaymentMethodInfo\getCustom
getCustom()
Commercetools\Api\Models\Payment\PaymentMethodInfo\setInterfaceAccount
setInterfaceAccount(?string $interfaceAccount)
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_TOKEN
const FIELD_TOKEN
Definition
PaymentMethodInfo.php:22
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_PAYMENT_INTERFACE
const FIELD_PAYMENT_INTERFACE
Definition
PaymentMethodInfo.php:19
Commercetools\Api\Models\Payment\PaymentMethodInfo\FIELD_METHOD
const FIELD_METHOD
Definition
PaymentMethodInfo.php:20
Commercetools\Api\Models\Payment\PaymentMethodInfo\getInterfaceAccount
getInterfaceAccount()
Commercetools\Api\Models\Payment\PaymentMethodInfo\setPaymentInterface
setPaymentInterface(?string $paymentInterface)
Commercetools\Api\Models\Payment\PaymentMethodInfo\getName
getName()
Commercetools\Api\Models\PaymentMethod\PaymentMethodToken
Definition
PaymentMethodToken.php:15
Commercetools\Api\Models\Type\CustomFields
Definition
CustomFields.php:15
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Payment
Definition
Payment.php:9
Generated by
1.9.8