setValue method

dynamic setValue(
  1. String paymentProductFieldId,
  2. String value
)

Sets the value for the PaymentProductField corresponding with the paymentProductFieldId.

Implementation

setValue(String paymentProductFieldId, String value) {
  fieldValues.remove(paymentProductFieldId);
  fieldValues[paymentProductFieldId] = value;
}