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

See also: