PaymentLineItem Class

Represents a payment line item in payment requests sent in enhanced Messaging channels. 

RichMessaging

The following are constructors for PaymentLineItem.

Creates a new instance of the RichMessaging.PaymentLineItem class.

public PaymentLineItem(String label, Double amount, RichMessaging.AbstractTiming timing)

Creates a new instance of the RichMessaging.PaymentLineItem class.

public PaymentLineItem(String label, Double amount)

  • label: Type: String The label of the payment line item.
  • amount: Type: Double The amount of the payment line item.

Creates a new instance of the RichMessaging.PaymentLineItem class.

public PaymentLineItem()

The following are properties for PaymentLineItem.

The amount of the payment line item.

public Double amount {get; set;}

Type: Double

The amount value of the payment line item.

public Double amountValue {get; set;}

Type: Double

The automatic reload payment threshold amount of the payment line item.

public Double automaticReloadPaymentThresholdAmount {get; set;}

Type: Double

The automatic reload payment threshold amount value of the payment line item.

public Double automaticReloadPaymentThresholdAmountValue {get; set;}

Type: Double

The commerce attributes of the payment line item.

public RichMessaging.OrderItemCommerceAttributes commerce {get; set;}

Type: RichMessaging.OrderItemCommerceAttributes

The commerce attributes variable for the payment line item.

public RichMessaging.OrderItemCommerceAttributes commerceValue {get; set;}

Type: RichMessaging.OrderItemCommerceAttributes

The discount applied to the payment line item.

public RichMessaging.Discount discount {get; set;}

Type: RichMessaging.Discount

The discount variable for the payment line item.

public RichMessaging.Discount discountValue {get; set;}

Type: RichMessaging.Discount

The label of the payment line item.

public String label {get; set;}

Type: String

The label value of the payment line item.

public String labelValue {get; set;}

Type: String

The line item type of the payment line item. Read-only variable.

public String lineItemType {get; set;}

Type: String

The quantity of the payment line item.

public Integer quantity {get; set;}

Type: Integer

The quantity variable for the payment line item.

public Integer quantityValue {get; set;}

Type: Integer

The sale amount of the payment line item.

public Double saleAmount {get; set;}

Type: Double

The sale amount variable for the payment line item.

public Double saleAmountValue {get; set;}

Type: Double

The status of the payment line item.

public String status {get; set;}

Type: String

The status value of the payment line item.

public RichMessaging.PaymentItemStatus statusValue {get; set;}

Type: RichMessaging.PaymentItemStatus

The timing of the payment line item.

public RichMessaging.AbstractTiming timing {get; set;}

Type: RichMessaging.AbstractTiming

The timing value of the payment line item.

public RichMessaging.AbstractTiming timingValue {get; set;}

Type: RichMessaging.AbstractTiming

The following are methods for PaymentLineItem.