copyWith method

MSitefParams copyWith({
  1. MSitefType? modalidade,
  2. String? value,
  3. String? couponNumber,
  4. String? dateFiscal,
  5. String? hourFiscal,
  6. String? operador,
  7. String? params,
  8. String? ipSitef,
  9. String? storeId,
  10. String? terminalId,
  11. String? paramsAdd,
  12. String? companyDocument,
  13. String? comExternal,
  14. String? isDoubleValidation,
  15. String? otp,
  16. String? enabledTransactions,
  17. String? automationDocument,
})

Implementation

MSitefParams copyWith({
  MSitefType? modalidade,
  String? value,
  String? couponNumber,
  String? dateFiscal,
  String? hourFiscal,
  String? operador,
  String? params,
  String? ipSitef,
  String? storeId,
  String? terminalId,
  String? paramsAdd,
  String? companyDocument,
  String? comExternal,
  String? isDoubleValidation,
  String? otp,
  String? enabledTransactions,
  String? automationDocument,
}) {
  return MSitefParams(
    modalidade: modalidade ?? this.modalidade,
    value: value ?? this.value,
    couponNumber: couponNumber ?? this.couponNumber,
    dateFiscal: dateFiscal ?? this.dateFiscal,
    hourFiscal: hourFiscal ?? this.hourFiscal,
    operador: operador ?? this.operador,
    params: params ?? this.params,
    ipSitef: ipSitef ?? this.ipSitef,
    storeId: storeId ?? this.storeId,
    terminalId: terminalId ?? this.terminalId,
    paramsAdd: paramsAdd ?? this.paramsAdd,
    companyDocument: companyDocument ?? this.companyDocument,
    comExternal: comExternal ?? this.comExternal,
    isDoubleValidation: isDoubleValidation ?? this.isDoubleValidation,
    otp: otp ?? this.otp,
    enabledTransactions: enabledTransactions ?? this.enabledTransactions,
    automationDocument: automationDocument ?? this.automationDocument,
  );
}