toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
if (this.address != null) data['address'] = this.address;
if (this.amountCharged != null) data['amount_charged'] = this.amountCharged;
if (this.amountReceived != null) data['amount_received'] = this.amountReceived;
if (this.amountReturned != null) data['amount_returned'] = this.amountReturned;
if (this.refundAttributesMethod != null) data['refund_attributes_method'] = this.refundAttributesMethod;
if (this.refundAttributesStatus != null) data['refund_attributes_status'] = this.refundAttributesStatus;
return data;
}