AccountConfigurationRequestMessage.fromMap constructor

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

Implementation

factory AccountConfigurationRequestMessage.fromMap(Map<String, dynamic> map) {
  return AccountConfigurationRequestMessage(
    commissionPercent: map['commission_percent'],
    autoWithdraw: map['auto_withdraw'],
    fines: map['fines'],
    perDayInterest: map['per_day_interest'],
    latePaymentFine: map['late_payment_fine'],
    autoAdvance: map['auto_advance'],
    autoAdvanceType: map['auto_advance_type'],
    autoAdvanceOption: map['auto_advance_option'],
    bankSlipOptions: BankSlipOptions.fromMap(map['bank_slip']),
    creditCardOptions: CreditCardOptions.fromMap(map['credit_card']),
  );
}