FinancialAccountOutboundPayments.fromJson constructor

FinancialAccountOutboundPayments.fromJson(
  1. Object? json
)

Implementation

factory FinancialAccountOutboundPayments.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return FinancialAccountOutboundPayments(
    ach: map['ach'] == null
        ? null
        : FinancialAccountCardIssuing.fromJson(map['ach']),
    usDomesticWire: map['us_domestic_wire'] == null
        ? null
        : FinancialAccountCardIssuing.fromJson(map['us_domestic_wire']),
  );
}