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<String?>? auditNote,
  66. Wrapped<String?>? recordTitle,
  67. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  68. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  69. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  70. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

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<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  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),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle: (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null ? defaultFieldAttributes.value : this.defaultFieldAttributes),
      translation: (translation != null ? translation.value : this.translation));
}