RefundRequest Class

Sends data related to a refund to the payment gateway adapter.

Namespace

CommercePayments

Usage

The constructor of this class takes no arguments. For example:

CommercePayments.RefundRequest rrq = new CommercePayments.RefundRequest();

Example

commercepayments.ReferencedRefundRequest refundRequest = new commercepayments.ReferencedRefundRequest(80, pmt.id);

RefundRequest Methods

The following are methods for RefundRequest.

equals(obj)

Maintains the integrity of lists of type RefundRequest by determining the equality of external objects in a list. This method is dynamic and is based on the equals method in Java.

Signature

global Boolean equals(Object obj)

Parameters

obj
Type: Object

Return Value

Type: Boolean

hashCode()

Maintains the integrity of lists of type RefundRequest by determining the uniqueness of the external object records in a list.

Signature

global Integer hashCode()

Return Value

Type: Integer