commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
CartAddPaymentAction.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\Payment\PaymentResourceIdentifier
;
12
use
Commercetools\Base\DateTimeImmutableCollection
;
13
use
Commercetools\Base\JsonObject
;
14
15
interface
CartAddPaymentAction
extends
CartUpdateAction
16
{
17
public
const
FIELD_PAYMENT
=
'payment'
;
18
26
public
function
getPayment
();
27
31
public
function
setPayment
(?
PaymentResourceIdentifier
$payment): void;
32
}
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\Cart\CartAddPaymentAction
Definition:
CartAddPaymentAction.php:16
Commercetools\Api\Models\Cart\CartAddPaymentAction\FIELD_PAYMENT
const FIELD_PAYMENT
Definition:
CartAddPaymentAction.php:17
Commercetools\Api\Models\Cart\CartAddPaymentAction\setPayment
setPayment(?PaymentResourceIdentifier $payment)
Commercetools\Api\Models\Cart\CartAddPaymentAction\getPayment
getPayment()
Commercetools\Api\Models\Cart\CartUpdateAction
Definition:
CartUpdateAction.php:15
Commercetools\Api\Models\Payment\PaymentResourceIdentifier
Definition:
PaymentResourceIdentifier.php:16
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1