copyWith method

MandatoryAllReceiptsFields copyWith({
  1. String? authorizationCode,
  2. String? brand,
  3. String? cardLastDigits,
  4. String? city,
  5. String? ecDocument,
  6. String? ecName,
  7. String? ecNumber,
  8. String? letterTypeTransaction,
  9. String? version,
  10. String? dateTime,
  11. String? nsu,
  12. String? terminal,
})

Implementation

MandatoryAllReceiptsFields copyWith({
  String? authorizationCode,
  String? brand,
  String? cardLastDigits,
  String? city,
  String? ecDocument,
  String? ecName,
  String? ecNumber,
  String? letterTypeTransaction,
  String? version,
  String? getnetLogo,
  String? dateTime,
  String? nsu,
  String? terminal,
}) {
  return MandatoryAllReceiptsFields(
    authorizationCode: authorizationCode ?? this.authorizationCode,
    brand: brand ?? this.brand,
    cardLastDigits: cardLastDigits ?? this.cardLastDigits,
    city: city ?? this.city,
    ecDocument: ecDocument ?? this.ecDocument,
    ecName: ecName ?? this.ecName,
    ecNumber: ecNumber ?? this.ecNumber,
    letterTypeTransaction:
        letterTypeTransaction ?? this.letterTypeTransaction,
    version: version ?? this.version,
    getnetLogo: getnetLogo ?? this.getnetLogo,
    dateTime: dateTime ?? this.dateTime,
    nsu: nsu ?? this.nsu,
    terminal: terminal ?? this.terminal,
  );
}