Newer Version Available

This content describes an older version of this product. View Latest

BasePaymentMethodRequest Class

Abstract class for storing information about payment methods.

Namespace

CommercePayments

Usage

The BasePaymentMethodRequest class contains fields common to CardPaymentMethodRequest

.

BasePaymentMethodRequest Methods

The following are methods for BasePaymentMethodRequest.

equals(obj)

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

Signature

global Boolean equals(Object obj)

Parameters

obj
Type: Object
External object whose key is to be validated.

Return Value

Type: Boolean

hashCode()

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

Signature

global Integer hashCode()

Return Value

Type: Integer

toString()

Converts a date to a string.

Signature

global String toString()

Return Value

Type: String