AltPaymentRequest

public class AltPaymentRequest extends CommerceTrigger

Fired by Payment Application when one of the alternate payment label has been selected by cardholder.

Fields

NAME

public static final String NAME

The system name of the message.

Methods

generateResponse

public CommerceTrigger generateResponse()

Creates a CP_SYSTEM_RECEIVES_ALT_PAYMENT object to be sent in response to the request.

getCurrency

public String getCurrency()
Return:

Alphabetic currency code (ISO 4217). Ex: USD, EUR.

getName

public String getName()

getTransactionAmount

public BigDecimal getTransactionAmount()
Return:

Transaction amount

populateMessageFromJson

protected void populateMessageFromJson(JSONObject jsonObject)