We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 2ce3df57 authored by Rik ter Beek's avatar Rik ter Beek Committed by GitHub

Merge pull request #280 from fazed/develop

Fixed mismatching method signatures (API)
parents 9eff8baa 2005df1d
...@@ -36,8 +36,9 @@ interface AdyenPaymentMethodManagementInterface ...@@ -36,8 +36,9 @@ interface AdyenPaymentMethodManagementInterface
* Get payment information * Get payment information
* *
* @param string $cartId * @param string $cartId
* @param null|\Magento\Quote\Api\Data\AddressInterface
* @return \Magento\Checkout\Api\Data\PaymentDetailsInterface * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface
*/ */
public function getPaymentMethods($cartId, \Magento\Quote\Api\Data\AddressInterface $shippingAddress); public function getPaymentMethods($cartId, \Magento\Quote\Api\Data\AddressInterface $shippingAddress = null);
} }
...@@ -36,8 +36,9 @@ interface GuestAdyenPaymentMethodManagementInterface ...@@ -36,8 +36,9 @@ interface GuestAdyenPaymentMethodManagementInterface
* Get payment information * Get payment information
* *
* @param string $cartId * @param string $cartId
* @param null|\Magento\Quote\Api\Data\AddressInterface
* @return \Magento\Checkout\Api\Data\PaymentDetailsInterface * @return \Magento\Checkout\Api\Data\PaymentDetailsInterface
*/ */
public function getPaymentMethods($cartId, \Magento\Quote\Api\Data\AddressInterface $shippingAddress); public function getPaymentMethods($cartId, \Magento\Quote\Api\Data\AddressInterface $shippingAddress = null);
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment