toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['amount'] = this.amount;
data['is_gateway_fee'] = this.isGatewayFee;
data['prepaid'] = this.prepaid;
data['description'] = this.description;
data['currency'] = this.currency;
data['type'] = this.type;
return data;
}