build method
Implementation
AmwalPay build() {
if (_merchantId.isEmpty) {
throw Exception("Merchant Id has to be provided");
}
return AmwalPay(
_merchantId, _countryCode, _phoneNumber, _refId, _orderId, _language);
}
AmwalPay build() {
if (_merchantId.isEmpty) {
throw Exception("Merchant Id has to be provided");
}
return AmwalPay(
_merchantId, _countryCode, _phoneNumber, _refId, _orderId, _language);
}