QuickbooksCreditCardPayment.fromMap constructor

QuickbooksCreditCardPayment.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory QuickbooksCreditCardPayment.fromMap(Map<String, dynamic> map) {
  return QuickbooksCreditCardPayment(
    creditChargeResponse: map['CreditChargeResponse'] != null
        ? QuickbooksCreditChargeResponse.fromMap(
            map['CreditChargeResponse'] as Map<String, dynamic>)
        : null,
    creditChargeInfo: map['creditChargeInfo'] != null
        ? QuickbooksCreditChargeInfo.fromMap(
            map['CreditChargeInfo'] as Map<String, dynamic>)
        : null,
  );
}