Receiver.fromJson constructor

Receiver.fromJson(
  1. Map json
)

Implementation

factory Receiver.fromJson(Map<dynamic, dynamic> json) {
  return Receiver(
    address: json['address'],
    amountCharged: json['amount_charged'],
    amountReceived: json['amount_received'],
    amountReturned: json['amount_returned'],
    refundAttributesMethod: json['refund_attributes_method'],
    refundAttributesStatus: json['refund_attributes_status'],
  );
}