WordPress-FluxC-Android icon indicating copy to clipboard operation
WordPress-FluxC-Android copied to clipboard

Update RefundRestClient to support partial refunds

Open irfano opened this issue 1 year ago • 0 comments

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.

This can be tested via https://github.com/woocommerce/woocommerce-android/pull/12164

irfano avatar Jul 29 '24 15:07 irfano