ShippingMethod Class

Represents a shipping method listed in payment requests sent in enhanced Messaging channels.

RichMessaging

The following are constructors for ShippingMethod.

Creates a new instance of the RichMessaging.ShippingMethod class.

public ShippingMethod(String label, Double amount, String detail, String identifier)

  • label: Type: String The label of the shipping method.
  • amount: Type: Double The amount of the shipping method.
  • detail: Type: String Details about the shipping method.
  • identifier: Type: String The identifier of the shipping method.

Creates a new instance of the RichMessaging.ShippingMethod class.

public ShippingMethod()

The following are properties for ShippingMethod.

The amount of the shipping method.

public Double amount {get; set;}

Type: Double

The amount value of the shipping method.

public Double amountValue {get; set;}

Type: Double

Details about the shipping method.

public String detail {get; set;}

Type: String

The detail value of the shipping method.

public String detailValue {get; set;}

Type: String

The identifier of the shipping method.

public String identifier {get; set;}

Type: String

The identifier value of the shipping method.

public String identifierValue {get; set;}

Type: String

The label of the shipping method.

public String label {get; set;}

Type: String

The label value of the shipping method.

public String labelValue {get; set;}

Type: String

The shipping method type. Read only.

public String shippingMethodType {get; set;}

Type: String