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.

ProcessPaymentResult Class

Represents the result of a payment processing operation.

Namespace

RichMessaging

ProcessPaymentResult Constructors

The following are constructors for ProcessPaymentResult.

ProcessPaymentResult(resultStatus, errorMessage)

Creates a new instance of the RichMessaging.ProcessPaymentResult class.

Signature

public ProcessPaymentResult(RichMessaging.ProcessPaymentResultStatus resultStatus, String errorMessage)

Parameters

ProcessPaymentResult(resultStatus)

Creates a new instance of the RichMessaging.ProcessPaymentResult class.

Signature

public ProcessPaymentResult(RichMessaging.ProcessPaymentResultStatus resultStatus)

Parameters

ProcessPaymentResult Properties

The following are properties for ProcessPaymentResult.

errorMessage

The error message associated with the payment processing result, if any.

Signature

public String errorMessage {get; set;}

Property Value

Type: String

resultStatus

The status of the payment processing result.

Signature

public RichMessaging.ProcessPaymentResultStatus resultStatus {get; set;}