copyWith method

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

Implementation

WebApiModulesBillingInvoiceInvoiceReceipt copyWith(
    {int? invoiceReceiptId,
    String? invoiceId,
    String? receiptId,
    String? receiptDate,
    String? paymentTypeId,
    String? paymentType,
    String? paymentTypeType,
    String? checkNumber,
    String? recType,
    String? paymentBy,
    String? receiptCustomerId,
    String? receiptCustomer,
    String? receiptDealId,
    String? receiptDeal,
    String? invoiceNumber,
    String? invoiceDate,
    String? invoiceDescription,
    String? invoiceDealId,
    String? invoiceDeal,
    String? invoiceOrderId,
    String? invoiceOrderDescription,
    double? amount,
    double? remaining,
    String? appliedById,
    String? appliedBy,
    String? paymentMemo,
    String? currencyId,
    String? currencyCode,
    String? currencySymbol,
    String? creditCardName,
    String? creditCardExpirationDate,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesBillingInvoiceInvoiceReceipt(
      invoiceReceiptId: invoiceReceiptId ?? this.invoiceReceiptId,
      invoiceId: invoiceId ?? this.invoiceId,
      receiptId: receiptId ?? this.receiptId,
      receiptDate: receiptDate ?? this.receiptDate,
      paymentTypeId: paymentTypeId ?? this.paymentTypeId,
      paymentType: paymentType ?? this.paymentType,
      paymentTypeType: paymentTypeType ?? this.paymentTypeType,
      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,
      invoiceOrderId: invoiceOrderId ?? this.invoiceOrderId,
      invoiceOrderDescription:
          invoiceOrderDescription ?? this.invoiceOrderDescription,
      amount: amount ?? this.amount,
      remaining: remaining ?? this.remaining,
      appliedById: appliedById ?? this.appliedById,
      appliedBy: appliedBy ?? this.appliedBy,
      paymentMemo: paymentMemo ?? this.paymentMemo,
      currencyId: currencyId ?? this.currencyId,
      currencyCode: currencyCode ?? this.currencyCode,
      currencySymbol: currencySymbol ?? this.currencySymbol,
      creditCardName: creditCardName ?? this.creditCardName,
      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,
      translation: translation ?? this.translation);
}