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

Fixed mismatching method signatures (API)

parent 9eff8baa
......@@ -35,9 +35,10 @@ interface AdyenPaymentMethodManagementInterface
/**
* Get payment information
*
* @param string $cartId
* @param string $cartId
* @param null|\Magento\Quote\Api\Data\AddressInterface
* @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
/**
* Get payment information
*
* @param string $cartId
* @param string $cartId
* @param null|\Magento\Quote\Api\Data\AddressInterface
* @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