setTipOrConvenienceIndicator method
set tip or convenience indicator
value
is only No.
length of value
is 2.
Implementation
setTipOrConvenienceIndicator(String? value) {
if (value != null) {
if (value.length != 2) {
throw ValueLengthErr(title: "tipOrConvenienceIndicator", length: "2");
}
var tipOrConvenienceIndicator =
setTLV(value, ID.tipOrConvenienceIndicator);
this.value = this
.value
.copyWith(tipOrConvenienceIndicator: tipOrConvenienceIndicator);
}
}