copyWith method
Implementation
CreditCardOptions copyWith({
bool? active,
String? softDescriptor,
bool? installments,
bool? installmentsPassInterest,
int? maxInstallments,
int? maxInstallmentsWithoutInterest,
bool? twoStepTransaction,
}) {
return CreditCardOptions(
active: active ?? this.active,
softDescriptor: softDescriptor ?? this.softDescriptor,
installments: installments ?? this.installments,
installmentsPassInterest: installmentsPassInterest ?? this.installmentsPassInterest,
maxInstallments: maxInstallments ?? this.maxInstallments,
maxInstallmentsWithoutInterest: maxInstallmentsWithoutInterest ?? this.maxInstallmentsWithoutInterest,
twoStepTransaction: twoStepTransaction ?? this.twoStepTransaction,
);
}