CreditCardOptions.fromMap constructor

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

Implementation

factory CreditCardOptions.fromMap(Map<String, dynamic> map) {
  return CreditCardOptions(
    active: map['active'],
    softDescriptor: map['soft_descriptor'],
    installments: map['installments'],
    installmentsPassInterest: map['installments_pass_interest'],
    maxInstallments: map['max_installments'],
    maxInstallmentsWithoutInterest: map['max_installments_without_interest'],
    twoStepTransaction: map['two_step_transaction'],
  );
}