Open irfano opened 3 months ago
This combines the createRefund...() functions in RefundRestClient because createRefundByItems() did not accept the amount but calculated it itself. This PR makes the amount parameter required since we now support partial refunds.
createRefund...()
RefundRestClient
createRefundByItems()
amount
This can be tested via https://github.com/woocommerce/woocommerce-android/pull/12164
This combines the
createRefund...()
functions inRefundRestClient
becausecreateRefundByItems()
did not accept theamount
but calculated it itself. This PR makes theamount
parameter required since we now support partial refunds.This can be tested via https://github.com/woocommerce/woocommerce-android/pull/12164