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.
ProcessPaymentRequest Class
Namespace
ProcessPaymentRequest Constructors
The following are constructors for ProcessPaymentRequest.
ProcessPaymentRequest(transactionIdentifier, paymentData, billingContact, shippingContact, paymentMethod, shippingMethod, contextRecordId)
Signature
public ProcessPaymentRequest(String transactionIdentifier, String paymentData, RichMessaging.AddressableContact billingContact, RichMessaging.AddressableContact shippingContact, RichMessaging.PaymentMethod paymentMethod, RichMessaging.ShippingMethod shippingMethod, String contextRecordId)
Parameters
- transactionIdentifier: Type: String The transaction identifier associated with the payment request.
- paymentData: Type: String The encrypted payment data for the payment request.
- billingContact: Type: RichMessaging.AddressableContact The billing contact information for the payment request.
- shippingContact: Type: RichMessaging.AddressableContact The shipping contact information for the payment request.
- paymentMethod: Type: RichMessaging.PaymentMethod The payment method for the payment request.
- shippingMethod: Type: RichMessaging.ShippingMethod The shipping method for the payment request.
- contextRecordId: Type: String The context record ID associated with the payment request.
ProcessPaymentRequest Properties
The following are properties for ProcessPaymentRequest.
billingContact
Signature
public RichMessaging.AddressableContact billingContact {get; set;}
Property Value
contextRecordId
Signature
public String contextRecordId {get; set;}
Property Value
Type: String
paymentData
Signature
public String paymentData {get; set;}
Property Value
Type: String
paymentMethod
Signature
public RichMessaging.PaymentMethod paymentMethod {get; set;}
Property Value
shippingContact
Signature
public RichMessaging.AddressableContact shippingContact {get; set;}
Property Value
shippingMethod
Signature
public RichMessaging.ShippingMethod shippingMethod {get; set;}
Property Value
transactionIdentifier
Signature
public String transactionIdentifier {get; set;}
Property Value
Type: String