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 2005df1d authored by Bob Horvers's avatar Bob Horvers

Fixed mismatching method signatures (API)

parent 9eff8baa
...@@ -35,9 +35,10 @@ interface AdyenPaymentMethodManagementInterface ...@@ -35,9 +35,10 @@ 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);
} }
...@@ -35,9 +35,10 @@ interface GuestAdyenPaymentMethodManagementInterface ...@@ -35,9 +35,10 @@ 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