AmountBoxControl constructor

AmountBoxControl(
  1. String controlId,
  2. String currencyCode
)

Constructor to create AmountBoxControl.

Parameters: controlId Unique ID to represent the AmountBoxControl. This ID is used to compare and identify the other SheetControls.

currencyCode Currency code to be used by Payment Gateway for payment. ISO 4217 currency code (example: USD, KRW, EUR, and so on / All uppercase).

Exceptions: Throws an ArgumentError if controlId is empty.

Implementation

AmountBoxControl(String controlId, String currencyCode) : super(controltype: Controltype.AMOUNTBOX){
  setControlId(controlId);
  setCurrencyCode(currencyCode);
}