WordPress-FluxC-Android
WordPress-FluxC-Android copied to clipboard
Update RefundRestClient to support partial refunds
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