copyWith method

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

Implementation

WebApiModulesBillingReceiptReceipt copyWith(
    {String? receiptId,
    String? receiptDate,
    String? locationId,
    String? locationCode,
    String? location,
    String? customerId,
    String? customer,
    String? dealId,
    String? deal,
    String? paymentBy,
    String? customerDealId,
    String? customerDeal,
    String? paymentTypeId,
    String? paymentType,
    String? paymentTypeType,
    String? paymentTypeExportPaymentMethod,
    String? checkNumber,
    double? paymentAmount,
    String? appliedById,
    String? appliedBy,
    String? modifiedById,
    String? modifiedBy,
    String? paymentMemo,
    String? recType,
    String? chargeBatchId,
    String? chargeBatchNumber,
    String? currencyId,
    String? currencyCode,
    String? currencySymbol,
    String? officeLocationDefaultCurrencyId,
    String? overPaymentId,
    List<WebApiModulesBillingReceiptReceiptInvoice>? invoiceDataList,
    List<WebApiModulesBillingReceiptReceiptCredit>? creditDataList,
    bool? createOverpayment,
    bool? createDepletingDeposit,
    String? dealDepositId,
    String? dealDepositCheckNumber,
    String? customerDepositId,
    String? customerDepositCheckNumber,
    String? orderId,
    String? orderDescription,
    String? transactionId,
    String? refundingTransactionId,
    String? creditCardNumber,
    String? creditCardExpirationDate,
    String? creditCardName,
    String? creditCardAccountId,
    String? creditCardPaymentMode,
    int? creditCardPinPadId,
    String? newCreditCardAccountToken,
    String? newCreditCardExpirationDate,
    String? newCreditCardCardholderName,
    bool? newCreditCardSaveCreditCard,
    bool? creditCardDefaultAccount,
    bool? newCreditCardAuthorizationOnFile,
    String? newCreditCardAddress,
    String? newCreditCardAddress2,
    String? newCreditCardCity,
    String? newCreditCardRegion,
    String? newCreditCardPostalCode,
    String? newCreditCardCountryId,
    DateTime? dateStamp,
    String? refundingReceiptId,
    bool? isCreditCardReceiptVoided,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesBillingReceiptReceipt(
      receiptId: receiptId ?? this.receiptId,
      receiptDate: receiptDate ?? this.receiptDate,
      locationId: locationId ?? this.locationId,
      locationCode: locationCode ?? this.locationCode,
      location: location ?? this.location,
      customerId: customerId ?? this.customerId,
      customer: customer ?? this.customer,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      paymentBy: paymentBy ?? this.paymentBy,
      customerDealId: customerDealId ?? this.customerDealId,
      customerDeal: customerDeal ?? this.customerDeal,
      paymentTypeId: paymentTypeId ?? this.paymentTypeId,
      paymentType: paymentType ?? this.paymentType,
      paymentTypeType: paymentTypeType ?? this.paymentTypeType,
      paymentTypeExportPaymentMethod: paymentTypeExportPaymentMethod ??
          this.paymentTypeExportPaymentMethod,
      checkNumber: checkNumber ?? this.checkNumber,
      paymentAmount: paymentAmount ?? this.paymentAmount,
      appliedById: appliedById ?? this.appliedById,
      appliedBy: appliedBy ?? this.appliedBy,
      modifiedById: modifiedById ?? this.modifiedById,
      modifiedBy: modifiedBy ?? this.modifiedBy,
      paymentMemo: paymentMemo ?? this.paymentMemo,
      recType: recType ?? this.recType,
      chargeBatchId: chargeBatchId ?? this.chargeBatchId,
      chargeBatchNumber: chargeBatchNumber ?? this.chargeBatchNumber,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      officeLocationDefaultCurrencyId: officeLocationDefaultCurrencyId ??
          this.officeLocationDefaultCurrencyId,
      overPaymentId: overPaymentId ?? this.overPaymentId,
      invoiceDataList: invoiceDataList ?? this.invoiceDataList,
      creditDataList: creditDataList ?? this.creditDataList,
      createOverpayment: createOverpayment ?? this.createOverpayment,
      createDepletingDeposit:
          createDepletingDeposit ?? this.createDepletingDeposit,
      dealDepositId: dealDepositId ?? this.dealDepositId,
      dealDepositCheckNumber:
          dealDepositCheckNumber ?? this.dealDepositCheckNumber,
      customerDepositId: customerDepositId ?? this.customerDepositId,
      customerDepositCheckNumber:
          customerDepositCheckNumber ?? this.customerDepositCheckNumber,
      orderId: orderId ?? this.orderId,
      orderDescription: orderDescription ?? this.orderDescription,
      transactionId: transactionId ?? this.transactionId,
      refundingTransactionId:
          refundingTransactionId ?? this.refundingTransactionId,
      creditCardNumber: creditCardNumber ?? this.creditCardNumber,
      creditCardExpirationDate:
          creditCardExpirationDate ?? this.creditCardExpirationDate,
      creditCardName: creditCardName ?? this.creditCardName,
      creditCardAccountId: creditCardAccountId ?? this.creditCardAccountId,
      creditCardPaymentMode:
          creditCardPaymentMode ?? this.creditCardPaymentMode,
      creditCardPinPadId: creditCardPinPadId ?? this.creditCardPinPadId,
      newCreditCardAccountToken:
          newCreditCardAccountToken ?? this.newCreditCardAccountToken,
      newCreditCardExpirationDate:
          newCreditCardExpirationDate ?? this.newCreditCardExpirationDate,
      newCreditCardCardholderName:
          newCreditCardCardholderName ?? this.newCreditCardCardholderName,
      newCreditCardSaveCreditCard:
          newCreditCardSaveCreditCard ?? this.newCreditCardSaveCreditCard,
      creditCardDefaultAccount:
          creditCardDefaultAccount ?? this.creditCardDefaultAccount,
      newCreditCardAuthorizationOnFile: newCreditCardAuthorizationOnFile ??
          this.newCreditCardAuthorizationOnFile,
      newCreditCardAddress: newCreditCardAddress ?? this.newCreditCardAddress,
      newCreditCardAddress2:
          newCreditCardAddress2 ?? this.newCreditCardAddress2,
      newCreditCardCity: newCreditCardCity ?? this.newCreditCardCity,
      newCreditCardRegion: newCreditCardRegion ?? this.newCreditCardRegion,
      newCreditCardPostalCode:
          newCreditCardPostalCode ?? this.newCreditCardPostalCode,
      newCreditCardCountryId:
          newCreditCardCountryId ?? this.newCreditCardCountryId,
      dateStamp: dateStamp ?? this.dateStamp,
      refundingReceiptId: refundingReceiptId ?? this.refundingReceiptId,
      isCreditCardReceiptVoided:
          isCreditCardReceiptVoided ?? this.isCreditCardReceiptVoided,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}