From 4da5d46db9d7094fffa4b4093cff05f0f4b1de70 Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Wed, 7 Oct 2015 10:30:45 +0200 Subject: [PATCH] docs(Changelog): update changelog --- CHANGELOG.md | 3 ++- .../Orders/Command/OrderAddPaymentAction.php | 22 +++++++++++++++++++ .../Command/OrderRemovePaymentAction.php | 22 +++++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 src/Request/Orders/Command/OrderAddPaymentAction.php create mode 100644 src/Request/Orders/Command/OrderRemovePaymentAction.php diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c1450aa3e..0495ffd6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ ### Features * **LineItems:** add update actions for custom types on line items ([c64fad0](https://github.com/sphereio/commercetools-php-sdk/commit/c64fad0)) -* **Payment:** add payment update actions for cart ([13e1860](https://github.com/sphereio/commercetools-php-sdk/commit/13e1860)) +* **Payment:** add payment info to cart and order ([e279d1a](https://github.com/sphereio/commercetools-php-sdk/commit/e279d1a)) +* **Payment:** add payment update actions for cart and order ([13e1860](https://github.com/sphereio/commercetools-php-sdk/commit/13e1860)) diff --git a/src/Request/Orders/Command/OrderAddPaymentAction.php b/src/Request/Orders/Command/OrderAddPaymentAction.php new file mode 100644 index 0000000000..0786348304 --- /dev/null +++ b/src/Request/Orders/Command/OrderAddPaymentAction.php @@ -0,0 +1,22 @@ + + */ + +namespace Commercetools\Core\Request\Orders\Command; + +use Commercetools\Core\Request\Carts\Command\CartAddPaymentAction; +use Commercetools\Core\Model\Payment\PaymentReference; + +/** + * @package Commercetools\Core\Request\Orders\Command + * + * @method string getAction() + * @method OrderAddPaymentAction setAction(string $action = null) + * @method PaymentReference getPayment() + * @method OrderAddPaymentAction setPayment(PaymentReference $payment = null) + */ +class OrderAddPaymentAction extends CartAddPaymentAction +{ + +} diff --git a/src/Request/Orders/Command/OrderRemovePaymentAction.php b/src/Request/Orders/Command/OrderRemovePaymentAction.php new file mode 100644 index 0000000000..17d91b88b9 --- /dev/null +++ b/src/Request/Orders/Command/OrderRemovePaymentAction.php @@ -0,0 +1,22 @@ + + */ + +namespace Commercetools\Core\Request\Orders\Command; + +use Commercetools\Core\Request\Carts\Command\CartRemovePaymentAction; +use Commercetools\Core\Model\Payment\PaymentReference; + +/** + * @package Commercetools\Core\Request\Orders\Command + * + * @method string getAction() + * @method OrderRemovePaymentAction setAction(string $action = null) + * @method PaymentReference getPayment() + * @method OrderRemovePaymentAction setPayment(PaymentReference $payment = null) + */ +class OrderRemovePaymentAction extends CartRemovePaymentAction +{ + +}