toJson method

Map<String, dynamic> toJson()

Converts this instance of VoucherPaymentManager to a Map

Implementation

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