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.

OrderContext Class

Represents the context information of an order.

Namespace

RichMessaging

OrderContext Properties

The following are properties for OrderContext.

orderType

The type of the order.

Signature

public String orderType {get; set;}

Property Value

Type: String

orderTypeValue

The order type variable of the order.

Signature

public RichMessaging.OrderType orderTypeValue {get; set;}

Property Value

Type: RichMessaging.OrderType

paymentCheckoutBehavior

The checkout behavior for the payment.

Signature

public String paymentCheckoutBehavior {get; set;}

Property Value

Type: String

paymentCheckoutBehaviorValue

The payment checkout behavior variable of the order.

Signature

public RichMessaging.PaymentCheckoutBehavior paymentCheckoutBehaviorValue {get; set;}

orderExpiration

The expiration information for the order.

Signature

public RichMessaging.OrderExpiration orderExpiration {get; set;}

Property Value

Type: RichMessaging.OrderExpiration

orderExpirationValue

The order expiration variable for the order.

Signature

public RichMessaging.OrderExpiration orderExpirationValue {get; set;}

Property Value

Type: RichMessaging.OrderExpiration

paymentMethodHints

The list of payment method hints for the order.

Signature

public List<String> paymentMethodHints {get; set;}

Property Value

Type: List<String>

paymentMethodHintsValue

The payment method hints variable for the order.

Signature

public List<RichMessaging.PaymentMethodHint> paymentMethodHintsValue {get; set;}

Property Value

Type: List<RichMessaging.PaymentMethodHint>

orderBeneficiary

The beneficiary information of the order.

Signature

public RichMessaging.OrderBeneficiary orderBeneficiary {get; set;}

Property Value

Type: RichMessaging.OrderBeneficiary

orderBeneficiaryValue

The order beneficiary variable for the order.

Signature

public RichMessaging.OrderBeneficiary orderBeneficiaryValue {get; set;}

Property Value

Type: RichMessaging.OrderBeneficiary

paymentInitiation

The payment initiation information for the order.

Signature

public RichMessaging.PaymentInitiation paymentInitiation {get; set;}

Property Value

Type: RichMessaging.PaymentInitiation

paymentInitiationValue

The payment initiation variable for the order.

Signature

public RichMessaging.PaymentInitiation paymentInitiationValue {get; set;}

Property Value

Type: RichMessaging.PaymentInitiation