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

See also: