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

Represents a request to process a payment.

Namespace

RichMessaging

ProcessPaymentRequest Constructors

The following are constructors for ProcessPaymentRequest.

ProcessPaymentRequest(transactionIdentifier, paymentData, billingContact, shippingContact, paymentMethod, shippingMethod, contextRecordId)

Creates a new instance of the RichMessaging.ProcessPaymentRequest class.

Signature

public ProcessPaymentRequest(String transactionIdentifier, String paymentData, RichMessaging.AddressableContact billingContact, RichMessaging.AddressableContact shippingContact, RichMessaging.PaymentMethod paymentMethod, RichMessaging.ShippingMethod shippingMethod, String contextRecordId)

Parameters

ProcessPaymentRequest Properties

The following are properties for ProcessPaymentRequest.

billingContact

The billing contact information for the payment request.

Signature

public RichMessaging.AddressableContact billingContact {get; set;}

Property Value

Type: RichMessaging.AddressableContact

contextRecordId

The context record ID associated with the payment request.

Signature

public String contextRecordId {get; set;}

Property Value

Type: String

paymentData

The encrypted payment data for the payment request.

Signature

public String paymentData {get; set;}

Property Value

Type: String

paymentMethod

The payment method for the payment request.

Signature

public RichMessaging.PaymentMethod paymentMethod {get; set;}

Property Value

Type: RichMessaging.PaymentMethod

shippingContact

The shipping contact information for the payment request.

Signature

public RichMessaging.AddressableContact shippingContact {get; set;}

Property Value

Type: RichMessaging.AddressableContact

shippingMethod

The shipping method for the payment request.

Signature

public RichMessaging.ShippingMethod shippingMethod {get; set;}

Property Value

Type: RichMessaging.ShippingMethod

transactionIdentifier

The transaction identifier associated with the payment request.

Signature

public String transactionIdentifier {get; set;}

Property Value

Type: String