copyWithWrapped method

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

Implementation

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