setMerchantCity method

dynamic setMerchantCity(
  1. String? value
)

set merchant city

length limit of value is 1 up to 15.

Implementation

setMerchantCity(String? value) {
  if (value != null) {
    if (value.length > 15) {
      throw MaxValueLengthErr(title: "merchantCity", length: "15");
    }
    var merchantCity = setTLV(value, ID.merchantCity);
    this.value = this.value.copyWith(merchantCity: merchantCity);
  }
}