How is a payment method's canRefundPartialPerInvoice() used?

See also: