Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
AddressRequest Class
Namespace
Usage
The constructor of this class takes no arguments. For example:
CommercePayments.AddressRequest adr = new CommercePayments.AddressRequest();AddressRequest Constructors
The following are constructors for AddressRequest.
AddressRequest(street, city, state, country, postalCode)
Signature
global AddressRequest(String street, String city, String state, String country, String postalCode)
Parameters
-
street:
Type: String
Street
for the payment method's address.
-
city:
Type: String
City
for the payment method's address.
-
state:
Type: String
State
for the payment method's address.
-
country:
Type: String
Country
for the payment method's address.
-
postalCode:
Type: String
Postal code
for the payment method's address.
AddressRequest Properties
The following are properties for AddressRequest.
AddressRequest Methods
The following are methods for AddressRequest.
equals(obj)
Signature
global Boolean equals(Object obj)
Parameters
-
obj:
Type:
Object External object whose key is to be validated.
Return Value
Type: Boolean