copyWith method

WebApiModulesHomeControlsInvoiceReceiptInvoiceReceipt copyWith({
  1. int? invoiceReceiptId,
  2. String? invoiceId,
  3. String? receiptId,
  4. String? receiptDate,
  5. String? paymentTypeId,
  6. String? paymentType,
  7. String? checkNumber,
  8. bool? recType,
  9. String? paymentBy,
  10. String? receiptCustomerId,
  11. String? receiptCustomer,
  12. String? receiptDealId,
  13. String? receiptDeal,
  14. String? invoiceNumber,
  15. String? invoiceDate,
  16. String? invoiceDescription,
  17. String? invoiceDealId,
  18. String? invoiceDeal,
  19. double? amount,
  20. String? appliedById,
  21. String? appliedBy,
  22. String? paymentMemo,
  23. String? currencyId,
  24. String? currencyCode,
  25. String? currencySymbol,
  26. String? dateStamp,
  27. String? auditNote,
  28. String? recordTitle,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesHomeControlsInvoiceReceiptInvoiceReceipt copyWith(
    {int? invoiceReceiptId,
    String? invoiceId,
    String? receiptId,
    String? receiptDate,
    String? paymentTypeId,
    String? paymentType,
    String? checkNumber,
    bool? recType,
    String? paymentBy,
    String? receiptCustomerId,
    String? receiptCustomer,
    String? receiptDealId,
    String? receiptDeal,
    String? invoiceNumber,
    String? invoiceDate,
    String? invoiceDescription,
    String? invoiceDealId,
    String? invoiceDeal,
    double? amount,
    String? appliedById,
    String? appliedBy,
    String? paymentMemo,
    String? currencyId,
    String? currencyCode,
    String? currencySymbol,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesHomeControlsInvoiceReceiptInvoiceReceipt(
      invoiceReceiptId: invoiceReceiptId ?? this.invoiceReceiptId,
      invoiceId: invoiceId ?? this.invoiceId,
      receiptId: receiptId ?? this.receiptId,
      receiptDate: receiptDate ?? this.receiptDate,
      paymentTypeId: paymentTypeId ?? this.paymentTypeId,
      paymentType: paymentType ?? this.paymentType,
      checkNumber: checkNumber ?? this.checkNumber,
      recType: recType ?? this.recType,
      paymentBy: paymentBy ?? this.paymentBy,
      receiptCustomerId: receiptCustomerId ?? this.receiptCustomerId,
      receiptCustomer: receiptCustomer ?? this.receiptCustomer,
      receiptDealId: receiptDealId ?? this.receiptDealId,
      receiptDeal: receiptDeal ?? this.receiptDeal,
      invoiceNumber: invoiceNumber ?? this.invoiceNumber,
      invoiceDate: invoiceDate ?? this.invoiceDate,
      invoiceDescription: invoiceDescription ?? this.invoiceDescription,
      invoiceDealId: invoiceDealId ?? this.invoiceDealId,
      invoiceDeal: invoiceDeal ?? this.invoiceDeal,
      amount: amount ?? this.amount,
      appliedById: appliedById ?? this.appliedById,
      appliedBy: appliedBy ?? this.appliedBy,
      paymentMemo: paymentMemo ?? this.paymentMemo,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}