QuickbooksCreditChargeResponse.fromMap constructor

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

Implementation

factory QuickbooksCreditChargeResponse.fromMap(Map<String, dynamic> map) {
  return QuickbooksCreditChargeResponse(
    status: map['Status'],
    authCode: map['AuthCode'],
    txnAuthorizationTime:
        DateTime.tryParse(map['TxnAuthorizationTime'].toString()),
    CCTransid: map['CCTransid'],
  );
}