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? customerDeal,
  12. String? paymentTypeId,
  13. String? paymentType,
  14. String? paymentTypeType,
  15. String? paymentTypeExportPaymentMethod,
  16. String? checkNumber,
  17. double? paymentAmount,
  18. String? appliedById,
  19. String? appliedBy,
  20. String? modifiedById,
  21. String? modifiedBy,
  22. String? paymentMemo,
  23. String? recType,
  24. String? chargeBatchId,
  25. String? chargeBatchNumber,
  26. String? currencyId,
  27. String? currencyCode,
  28. String? currencySymbol,
  29. String? officeLocationDefaultCurrencyId,
  30. String? overPaymentId,
  31. List<WebApiModulesBillingReceiptReceiptInvoice>? invoiceDataList,
  32. List<WebApiModulesBillingReceiptReceiptCredit>? creditDataList,
  33. bool? createOverpayment,
  34. bool? createDepletingDeposit,
  35. String? dealDepositId,
  36. String? dealDepositCheckNumber,
  37. String? customerDepositId,
  38. String? customerDepositCheckNumber,
  39. String? orderId,
  40. String? orderDescription,
  41. String? transactionId,
  42. String? creditCardAccountToken,
  43. String? creditCardExpirationDate,
  44. DateTime? dateStamp,
  45. String? auditNote,
  46. String? recordTitle,
  47. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  48. List<FwStandardDataFwCustomValue>? custom,
  49. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesBillingReceiptReceipt copyWith(
    {String? receiptId,
    String? receiptDate,
    String? locationId,
    String? locationCode,
    String? location,
    String? customerId,
    String? customer,
    String? dealId,
    String? deal,
    String? paymentBy,
    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? creditCardAccountToken,
    String? creditCardExpirationDate,
    DateTime? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  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,
      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,
      creditCardAccountToken:
          creditCardAccountToken ?? this.creditCardAccountToken,
      creditCardExpirationDate:
          creditCardExpirationDate ?? this.creditCardExpirationDate,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}