QuickbooksCreditChargeInfo.fromMap constructor
QuickbooksCreditChargeInfo.fromMap(
- Map<String, dynamic> map
)
Implementation
factory QuickbooksCreditChargeInfo.fromMap(Map<String, dynamic> map) {
return QuickbooksCreditChargeInfo(
ccExpiryMonth: int.tryParse(map['CcExpiryMonth'].toString()),
processPayment: map['ProcessPayment'],
postalCode: map['PostalCode'],
amount: double.tryParse(map['Amount'].toString()),
nameOnAcct: map['NameOnAcct'],
ccExpiryYear: int.tryParse(map['CcExpiryYear'].toString()),
type: map['Type'],
billAddrStreet: map['BillAddrStreet'],
);
}