copyWithWrapped method

WebApiModulesBillingReceiptReceipt copyWithWrapped({
  1. Wrapped<String?>? receiptId,
  2. Wrapped<String?>? receiptDate,
  3. Wrapped<String?>? locationId,
  4. Wrapped<String?>? locationCode,
  5. Wrapped<String?>? location,
  6. Wrapped<String?>? customerId,
  7. Wrapped<String?>? customer,
  8. Wrapped<String?>? dealId,
  9. Wrapped<String?>? deal,
  10. Wrapped<String?>? paymentBy,
  11. Wrapped<String?>? customerDealId,
  12. Wrapped<String?>? customerDeal,
  13. Wrapped<String?>? paymentTypeId,
  14. Wrapped<String?>? paymentType,
  15. Wrapped<String?>? paymentTypeType,
  16. Wrapped<String?>? paymentTypeExportPaymentMethod,
  17. Wrapped<String?>? checkNumber,
  18. Wrapped<double?>? paymentAmount,
  19. Wrapped<String?>? appliedById,
  20. Wrapped<String?>? appliedBy,
  21. Wrapped<String?>? modifiedById,
  22. Wrapped<String?>? modifiedBy,
  23. Wrapped<String?>? paymentMemo,
  24. Wrapped<String?>? recType,
  25. Wrapped<String?>? chargeBatchId,
  26. Wrapped<String?>? chargeBatchNumber,
  27. Wrapped<String?>? currencyId,
  28. Wrapped<String?>? currencyCode,
  29. Wrapped<String?>? currencySymbol,
  30. Wrapped<String?>? officeLocationDefaultCurrencyId,
  31. Wrapped<String?>? overPaymentId,
  32. Wrapped<List<WebApiModulesBillingReceiptReceiptInvoice>?>? invoiceDataList,
  33. Wrapped<List<WebApiModulesBillingReceiptReceiptCredit>?>? creditDataList,
  34. Wrapped<bool?>? createOverpayment,
  35. Wrapped<bool?>? createDepletingDeposit,
  36. Wrapped<String?>? dealDepositId,
  37. Wrapped<String?>? dealDepositCheckNumber,
  38. Wrapped<String?>? customerDepositId,
  39. Wrapped<String?>? customerDepositCheckNumber,
  40. Wrapped<String?>? orderId,
  41. Wrapped<String?>? orderDescription,
  42. Wrapped<String?>? transactionId,
  43. Wrapped<String?>? refundingTransactionId,
  44. Wrapped<String?>? creditCardNumber,
  45. Wrapped<String?>? creditCardExpirationDate,
  46. Wrapped<String?>? creditCardName,
  47. Wrapped<String?>? creditCardAccountId,
  48. Wrapped<String?>? creditCardPaymentMode,
  49. Wrapped<int?>? creditCardPinPadId,
  50. Wrapped<String?>? newCreditCardAccountToken,
  51. Wrapped<String?>? newCreditCardExpirationDate,
  52. Wrapped<String?>? newCreditCardCardholderName,
  53. Wrapped<bool?>? newCreditCardSaveCreditCard,
  54. Wrapped<bool?>? creditCardDefaultAccount,
  55. Wrapped<bool?>? newCreditCardAuthorizationOnFile,
  56. Wrapped<String?>? newCreditCardAddress,
  57. Wrapped<String?>? newCreditCardAddress2,
  58. Wrapped<String?>? newCreditCardCity,
  59. Wrapped<String?>? newCreditCardRegion,
  60. Wrapped<String?>? newCreditCardPostalCode,
  61. Wrapped<String?>? newCreditCardCountryId,
  62. Wrapped<DateTime?>? dateStamp,
  63. Wrapped<String?>? refundingReceiptId,
  64. Wrapped<bool?>? isCreditCardReceiptVoided,
  65. Wrapped<double?>? feePercent,
  66. Wrapped<double?>? paymentTypeFee,
  67. Wrapped<double?>? totalWithPaymentTypeFee,
  68. Wrapped<String?>? auditNote,
  69. Wrapped<String?>? recordTitle,
  70. Wrapped? urlIdentifier,
  71. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  72. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  73. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  74. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  75. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  76. Wrapped<bool?>? hasImport,
  77. Wrapped<bool?>? hasDocuments,
  78. Wrapped<String?>? createdByUserId,
  79. Wrapped<String?>? createdByUserName,
  80. Wrapped<String?>? createdDateTime,
  81. Wrapped<String?>? modifiedByUserId,
  82. Wrapped<String?>? modifiedByUserName,
  83. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesBillingReceiptReceipt copyWithWrapped({
  Wrapped<String?>? receiptId,
  Wrapped<String?>? receiptDate,
  Wrapped<String?>? locationId,
  Wrapped<String?>? locationCode,
  Wrapped<String?>? location,
  Wrapped<String?>? customerId,
  Wrapped<String?>? customer,
  Wrapped<String?>? dealId,
  Wrapped<String?>? deal,
  Wrapped<String?>? paymentBy,
  Wrapped<String?>? customerDealId,
  Wrapped<String?>? customerDeal,
  Wrapped<String?>? paymentTypeId,
  Wrapped<String?>? paymentType,
  Wrapped<String?>? paymentTypeType,
  Wrapped<String?>? paymentTypeExportPaymentMethod,
  Wrapped<String?>? checkNumber,
  Wrapped<double?>? paymentAmount,
  Wrapped<String?>? appliedById,
  Wrapped<String?>? appliedBy,
  Wrapped<String?>? modifiedById,
  Wrapped<String?>? modifiedBy,
  Wrapped<String?>? paymentMemo,
  Wrapped<String?>? recType,
  Wrapped<String?>? chargeBatchId,
  Wrapped<String?>? chargeBatchNumber,
  Wrapped<String?>? currencyId,
  Wrapped<String?>? currencyCode,
  Wrapped<String?>? currencySymbol,
  Wrapped<String?>? officeLocationDefaultCurrencyId,
  Wrapped<String?>? overPaymentId,
  Wrapped<List<WebApiModulesBillingReceiptReceiptInvoice>?>? invoiceDataList,
  Wrapped<List<WebApiModulesBillingReceiptReceiptCredit>?>? creditDataList,
  Wrapped<bool?>? createOverpayment,
  Wrapped<bool?>? createDepletingDeposit,
  Wrapped<String?>? dealDepositId,
  Wrapped<String?>? dealDepositCheckNumber,
  Wrapped<String?>? customerDepositId,
  Wrapped<String?>? customerDepositCheckNumber,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderDescription,
  Wrapped<String?>? transactionId,
  Wrapped<String?>? refundingTransactionId,
  Wrapped<String?>? creditCardNumber,
  Wrapped<String?>? creditCardExpirationDate,
  Wrapped<String?>? creditCardName,
  Wrapped<String?>? creditCardAccountId,
  Wrapped<String?>? creditCardPaymentMode,
  Wrapped<int?>? creditCardPinPadId,
  Wrapped<String?>? newCreditCardAccountToken,
  Wrapped<String?>? newCreditCardExpirationDate,
  Wrapped<String?>? newCreditCardCardholderName,
  Wrapped<bool?>? newCreditCardSaveCreditCard,
  Wrapped<bool?>? creditCardDefaultAccount,
  Wrapped<bool?>? newCreditCardAuthorizationOnFile,
  Wrapped<String?>? newCreditCardAddress,
  Wrapped<String?>? newCreditCardAddress2,
  Wrapped<String?>? newCreditCardCity,
  Wrapped<String?>? newCreditCardRegion,
  Wrapped<String?>? newCreditCardPostalCode,
  Wrapped<String?>? newCreditCardCountryId,
  Wrapped<DateTime?>? dateStamp,
  Wrapped<String?>? refundingReceiptId,
  Wrapped<bool?>? isCreditCardReceiptVoided,
  Wrapped<double?>? feePercent,
  Wrapped<double?>? paymentTypeFee,
  Wrapped<double?>? totalWithPaymentTypeFee,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesBillingReceiptReceipt(
    receiptId: (receiptId != null ? receiptId.value : this.receiptId),
    receiptDate: (receiptDate != null ? receiptDate.value : this.receiptDate),
    locationId: (locationId != null ? locationId.value : this.locationId),
    locationCode: (locationCode != null
        ? locationCode.value
        : this.locationCode),
    location: (location != null ? location.value : this.location),
    customerId: (customerId != null ? customerId.value : this.customerId),
    customer: (customer != null ? customer.value : this.customer),
    dealId: (dealId != null ? dealId.value : this.dealId),
    deal: (deal != null ? deal.value : this.deal),
    paymentBy: (paymentBy != null ? paymentBy.value : this.paymentBy),
    customerDealId: (customerDealId != null
        ? customerDealId.value
        : this.customerDealId),
    customerDeal: (customerDeal != null
        ? customerDeal.value
        : this.customerDeal),
    paymentTypeId: (paymentTypeId != null
        ? paymentTypeId.value
        : this.paymentTypeId),
    paymentType: (paymentType != null ? paymentType.value : this.paymentType),
    paymentTypeType: (paymentTypeType != null
        ? paymentTypeType.value
        : this.paymentTypeType),
    paymentTypeExportPaymentMethod: (paymentTypeExportPaymentMethod != null
        ? paymentTypeExportPaymentMethod.value
        : this.paymentTypeExportPaymentMethod),
    checkNumber: (checkNumber != null ? checkNumber.value : this.checkNumber),
    paymentAmount: (paymentAmount != null
        ? paymentAmount.value
        : this.paymentAmount),
    appliedById: (appliedById != null ? appliedById.value : this.appliedById),
    appliedBy: (appliedBy != null ? appliedBy.value : this.appliedBy),
    modifiedById: (modifiedById != null
        ? modifiedById.value
        : this.modifiedById),
    modifiedBy: (modifiedBy != null ? modifiedBy.value : this.modifiedBy),
    paymentMemo: (paymentMemo != null ? paymentMemo.value : this.paymentMemo),
    recType: (recType != null ? recType.value : this.recType),
    chargeBatchId: (chargeBatchId != null
        ? chargeBatchId.value
        : this.chargeBatchId),
    chargeBatchNumber: (chargeBatchNumber != null
        ? chargeBatchNumber.value
        : this.chargeBatchNumber),
    currencyId: (currencyId != null ? currencyId.value : this.currencyId),
    currencyCode: (currencyCode != null
        ? currencyCode.value
        : this.currencyCode),
    currencySymbol: (currencySymbol != null
        ? currencySymbol.value
        : this.currencySymbol),
    officeLocationDefaultCurrencyId: (officeLocationDefaultCurrencyId != null
        ? officeLocationDefaultCurrencyId.value
        : this.officeLocationDefaultCurrencyId),
    overPaymentId: (overPaymentId != null
        ? overPaymentId.value
        : this.overPaymentId),
    invoiceDataList: (invoiceDataList != null
        ? invoiceDataList.value
        : this.invoiceDataList),
    creditDataList: (creditDataList != null
        ? creditDataList.value
        : this.creditDataList),
    createOverpayment: (createOverpayment != null
        ? createOverpayment.value
        : this.createOverpayment),
    createDepletingDeposit: (createDepletingDeposit != null
        ? createDepletingDeposit.value
        : this.createDepletingDeposit),
    dealDepositId: (dealDepositId != null
        ? dealDepositId.value
        : this.dealDepositId),
    dealDepositCheckNumber: (dealDepositCheckNumber != null
        ? dealDepositCheckNumber.value
        : this.dealDepositCheckNumber),
    customerDepositId: (customerDepositId != null
        ? customerDepositId.value
        : this.customerDepositId),
    customerDepositCheckNumber: (customerDepositCheckNumber != null
        ? customerDepositCheckNumber.value
        : this.customerDepositCheckNumber),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderDescription: (orderDescription != null
        ? orderDescription.value
        : this.orderDescription),
    transactionId: (transactionId != null
        ? transactionId.value
        : this.transactionId),
    refundingTransactionId: (refundingTransactionId != null
        ? refundingTransactionId.value
        : this.refundingTransactionId),
    creditCardNumber: (creditCardNumber != null
        ? creditCardNumber.value
        : this.creditCardNumber),
    creditCardExpirationDate: (creditCardExpirationDate != null
        ? creditCardExpirationDate.value
        : this.creditCardExpirationDate),
    creditCardName: (creditCardName != null
        ? creditCardName.value
        : this.creditCardName),
    creditCardAccountId: (creditCardAccountId != null
        ? creditCardAccountId.value
        : this.creditCardAccountId),
    creditCardPaymentMode: (creditCardPaymentMode != null
        ? creditCardPaymentMode.value
        : this.creditCardPaymentMode),
    creditCardPinPadId: (creditCardPinPadId != null
        ? creditCardPinPadId.value
        : this.creditCardPinPadId),
    newCreditCardAccountToken: (newCreditCardAccountToken != null
        ? newCreditCardAccountToken.value
        : this.newCreditCardAccountToken),
    newCreditCardExpirationDate: (newCreditCardExpirationDate != null
        ? newCreditCardExpirationDate.value
        : this.newCreditCardExpirationDate),
    newCreditCardCardholderName: (newCreditCardCardholderName != null
        ? newCreditCardCardholderName.value
        : this.newCreditCardCardholderName),
    newCreditCardSaveCreditCard: (newCreditCardSaveCreditCard != null
        ? newCreditCardSaveCreditCard.value
        : this.newCreditCardSaveCreditCard),
    creditCardDefaultAccount: (creditCardDefaultAccount != null
        ? creditCardDefaultAccount.value
        : this.creditCardDefaultAccount),
    newCreditCardAuthorizationOnFile:
        (newCreditCardAuthorizationOnFile != null
        ? newCreditCardAuthorizationOnFile.value
        : this.newCreditCardAuthorizationOnFile),
    newCreditCardAddress: (newCreditCardAddress != null
        ? newCreditCardAddress.value
        : this.newCreditCardAddress),
    newCreditCardAddress2: (newCreditCardAddress2 != null
        ? newCreditCardAddress2.value
        : this.newCreditCardAddress2),
    newCreditCardCity: (newCreditCardCity != null
        ? newCreditCardCity.value
        : this.newCreditCardCity),
    newCreditCardRegion: (newCreditCardRegion != null
        ? newCreditCardRegion.value
        : this.newCreditCardRegion),
    newCreditCardPostalCode: (newCreditCardPostalCode != null
        ? newCreditCardPostalCode.value
        : this.newCreditCardPostalCode),
    newCreditCardCountryId: (newCreditCardCountryId != null
        ? newCreditCardCountryId.value
        : this.newCreditCardCountryId),
    dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
    refundingReceiptId: (refundingReceiptId != null
        ? refundingReceiptId.value
        : this.refundingReceiptId),
    isCreditCardReceiptVoided: (isCreditCardReceiptVoided != null
        ? isCreditCardReceiptVoided.value
        : this.isCreditCardReceiptVoided),
    feePercent: (feePercent != null ? feePercent.value : this.feePercent),
    paymentTypeFee: (paymentTypeFee != null
        ? paymentTypeFee.value
        : this.paymentTypeFee),
    totalWithPaymentTypeFee: (totalWithPaymentTypeFee != null
        ? totalWithPaymentTypeFee.value
        : this.totalWithPaymentTypeFee),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}