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
Cart
PaymentAllocationDraft.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\PaymentMethod\PaymentMethodReference
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
PaymentAllocationDraft
extends
JsonObject
16
{
17
public
const
FIELD_ID
=
'id'
;
18
public
const
FIELD_PAYMENT_METHOD
=
'paymentMethod'
;
19
public
const
FIELD_ALLOCATION
=
'allocation'
;
20
27
public
function
getId
();
28
35
public
function
getPaymentMethod
();
36
43
public
function
getAllocation
();
44
48
public
function
setId
(?
string
$id): void;
49
53
public
function
setPaymentMethod
(?
PaymentMethodReference
$paymentMethod): void;
54
58
public
function
setAllocation
(?
AllocationDraft
$allocation): void;
59
}
Commercetools\Base\DateTimeImmutableCollection
Definition
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\AllocationDraft
Definition
AllocationDraft.php:15
Commercetools\Api\Models\Cart\PaymentAllocationDraft
Definition
PaymentAllocationDraft.php:16
Commercetools\Api\Models\Cart\PaymentAllocationDraft\setAllocation
setAllocation(?AllocationDraft $allocation)
Commercetools\Api\Models\Cart\PaymentAllocationDraft\getId
getId()
Commercetools\Api\Models\Cart\PaymentAllocationDraft\setId
setId(?string $id)
Commercetools\Api\Models\Cart\PaymentAllocationDraft\setPaymentMethod
setPaymentMethod(?PaymentMethodReference $paymentMethod)
Commercetools\Api\Models\Cart\PaymentAllocationDraft\FIELD_ALLOCATION
const FIELD_ALLOCATION
Definition
PaymentAllocationDraft.php:19
Commercetools\Api\Models\Cart\PaymentAllocationDraft\getPaymentMethod
getPaymentMethod()
Commercetools\Api\Models\Cart\PaymentAllocationDraft\FIELD_PAYMENT_METHOD
const FIELD_PAYMENT_METHOD
Definition
PaymentAllocationDraft.php:18
Commercetools\Api\Models\Cart\PaymentAllocationDraft\FIELD_ID
const FIELD_ID
Definition
PaymentAllocationDraft.php:17
Commercetools\Api\Models\Cart\PaymentAllocationDraft\getAllocation
getAllocation()
Commercetools\Api\Models\PaymentMethod\PaymentMethodReference
Definition
PaymentMethodReference.php:16
Commercetools\Base\JsonObject
Definition
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition
AbsoluteAllocation.php:9
Generated by
1.9.8