copyWith method
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,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- 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,
bool? hasDocuments,
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,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}