copyWith method

WebApiModulesPluginsCreditCardCreditCardPreAuthorization copyWith({
  1. int? creditCardPreAuthorizationId,
  2. String? transactionId,
  3. String? orderId,
  4. DateTime? transactionDate,
  5. DateTime? expirationDate,
  6. int? holdDays,
  7. int? holdDaysRemaining,
  8. double? amount,
  9. double? feePercent,
  10. double? feeAmount,
  11. double? amountWithFee,
  12. double? capturedAmount,
  13. String? status,
  14. int? creditCardPinPadId,
  15. String? creditCardPinPadCode,
  16. String? creditCardPinPadDescription,
  17. String? creditCardNumber,
  18. String? creditCardExpirationDate,
  19. String? creditCardName,
  20. DateTime? dateStamp,
  21. String? auditNote,
  22. String? recordTitle,
  23. dynamic urlIdentifier,
  24. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  25. List<FwStandardDataFwCustomValue>? custom,
  26. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  27. FwStandardBusinessLogicFwBusinessLogic? original,
  28. List<FwStandardDataFwTranslatedValue>? translation,
  29. bool? hasImport,
  30. String? createdByUserId,
  31. String? createdByUserName,
  32. String? createdDateTime,
  33. String? modifiedByUserId,
  34. String? modifiedByUserName,
  35. String? modifiedDateTime,
})

Implementation

WebApiModulesPluginsCreditCardCreditCardPreAuthorization copyWith({
  int? creditCardPreAuthorizationId,
  String? transactionId,
  String? orderId,
  DateTime? transactionDate,
  DateTime? expirationDate,
  int? holdDays,
  int? holdDaysRemaining,
  double? amount,
  double? feePercent,
  double? feeAmount,
  double? amountWithFee,
  double? capturedAmount,
  String? status,
  int? creditCardPinPadId,
  String? creditCardPinPadCode,
  String? creditCardPinPadDescription,
  String? creditCardNumber,
  String? creditCardExpirationDate,
  String? creditCardName,
  DateTime? dateStamp,
  String? auditNote,
  String? recordTitle,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesPluginsCreditCardCreditCardPreAuthorization(
    creditCardPreAuthorizationId:
        creditCardPreAuthorizationId ?? this.creditCardPreAuthorizationId,
    transactionId: transactionId ?? this.transactionId,
    orderId: orderId ?? this.orderId,
    transactionDate: transactionDate ?? this.transactionDate,
    expirationDate: expirationDate ?? this.expirationDate,
    holdDays: holdDays ?? this.holdDays,
    holdDaysRemaining: holdDaysRemaining ?? this.holdDaysRemaining,
    amount: amount ?? this.amount,
    feePercent: feePercent ?? this.feePercent,
    feeAmount: feeAmount ?? this.feeAmount,
    amountWithFee: amountWithFee ?? this.amountWithFee,
    capturedAmount: capturedAmount ?? this.capturedAmount,
    status: status ?? this.status,
    creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
    creditCardPinPadCode: creditCardPinPadCode ?? this.creditCardPinPadCode,
    creditCardPinPadDescription:
        creditCardPinPadDescription ?? this.creditCardPinPadDescription,
    creditCardNumber: creditCardNumber ?? this.creditCardNumber,
    creditCardExpirationDate:
        creditCardExpirationDate ?? this.creditCardExpirationDate,
    creditCardName: creditCardName ?? this.creditCardName,
    dateStamp: dateStamp ?? this.dateStamp,
    auditNote: auditNote ?? this.auditNote,
    recordTitle: recordTitle ?? this.recordTitle,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}