toJson method

Map<String, dynamic> toJson()

Converts instance of BankAccountPaymentRequest to json

Implementation

Map<String, dynamic> toJson() {
    return {
      'amount': this.amount,
      'currency': this.currency,
      'email': this.email,
      'tx_ref': this.txRef,
      'fullname': this.fullName,
      'account_bank': this.accountBank,
      'account_number': this.accountNumber,
      'phone_number': this.phoneNumber
    };
  }