copyWith method

AccountConfigurationRequestMessage copyWith({
  1. int? commissionPercent,
  2. bool? autoWithdraw,
  3. bool? fines,
  4. bool? perDayInterest,
  5. double? latePaymentFine,
  6. bool? autoAdvance,
  7. String? autoAdvanceType,
  8. String? autoAdvanceOption,
  9. BankSlipOptions? bankSlipOptions,
  10. CreditCardOptions? creditCardOptions,
})

Implementation

AccountConfigurationRequestMessage copyWith({
  int? commissionPercent,
  bool? autoWithdraw,
  bool? fines,
  bool? perDayInterest,
  double? latePaymentFine,
  bool? autoAdvance,
  String? autoAdvanceType,
  String? autoAdvanceOption,
  BankSlipOptions? bankSlipOptions,
  CreditCardOptions? creditCardOptions,
}) {
  return AccountConfigurationRequestMessage(
    commissionPercent: commissionPercent ?? this.commissionPercent,
    autoWithdraw: autoWithdraw ?? this.autoWithdraw,
    fines: fines ?? this.fines,
    perDayInterest: perDayInterest ?? this.perDayInterest,
    latePaymentFine: latePaymentFine ?? this.latePaymentFine,
    autoAdvance: autoAdvance ?? this.autoAdvance,
    autoAdvanceType: autoAdvanceType ?? this.autoAdvanceType,
    autoAdvanceOption: autoAdvanceOption ?? this.autoAdvanceOption,
    bankSlipOptions: bankSlipOptions ?? this.bankSlipOptions,
    creditCardOptions: creditCardOptions ?? this.creditCardOptions,
  );
}