We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 2005df1d authored by Bob Horvers's avatar Bob Horvers

Fixed mismatching method signatures (API)

parent 9eff8baa
...@@ -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