copyWith method

WebApiModulesHomeControlsReceiptCreditReceiptCredit copyWith({
  1. String? creditReceiptId,
  2. String? creditingInvoiceId,
  3. String? receiptId,
  4. String? customerId,
  5. String? customer,
  6. String? dealId,
  7. String? deal,
  8. String? officeLocationId,
  9. String? paymentBy,
  10. String? recType,
  11. String? recTypeDisplay,
  12. String? recTypeColor,
  13. String? receiptDate,
  14. String? paymentTypeId,
  15. String? paymentType,
  16. String? paymentTypeType,
  17. String? checkNumber,
  18. double? origAmount,
  19. double? applied,
  20. double? refunded,
  21. double? remaining,
  22. double? amount,
  23. String? currencyId,
  24. String? currencyCode,
  25. String? currencySymbol,
  26. String? creditCardName,
  27. String? creditCardExpirationDate,
  28. DateTime? dateStamp,
  29. String? auditNote,
  30. String? recordTitle,
  31. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  32. List<FwStandardDataFwCustomValue>? custom,
  33. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  34. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsReceiptCreditReceiptCredit copyWith(
    {String? creditReceiptId,
    String? creditingInvoiceId,
    String? receiptId,
    String? customerId,
    String? customer,
    String? dealId,
    String? deal,
    String? officeLocationId,
    String? paymentBy,
    String? recType,
    String? recTypeDisplay,
    String? recTypeColor,
    String? receiptDate,
    String? paymentTypeId,
    String? paymentType,
    String? paymentTypeType,
    String? checkNumber,
    double? origAmount,
    double? applied,
    double? refunded,
    double? remaining,
    double? amount,
    String? currencyId,
    String? currencyCode,
    String? currencySymbol,
    String? creditCardName,
    String? creditCardExpirationDate,
    DateTime? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsReceiptCreditReceiptCredit(
      creditReceiptId: creditReceiptId ?? this.creditReceiptId,
      creditingInvoiceId: creditingInvoiceId ?? this.creditingInvoiceId,
      receiptId: receiptId ?? this.receiptId,
      customerId: customerId ?? this.customerId,
      customer: customer ?? this.customer,
      dealId: dealId ?? this.dealId,
      deal: deal ?? this.deal,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      paymentBy: paymentBy ?? this.paymentBy,
      recType: recType ?? this.recType,
      recTypeDisplay: recTypeDisplay ?? this.recTypeDisplay,
      recTypeColor: recTypeColor ?? this.recTypeColor,
      receiptDate: receiptDate ?? this.receiptDate,
      paymentTypeId: paymentTypeId ?? this.paymentTypeId,
      paymentType: paymentType ?? this.paymentType,
      paymentTypeType: paymentTypeType ?? this.paymentTypeType,
      checkNumber: checkNumber ?? this.checkNumber,
      origAmount: origAmount ?? this.origAmount,
      applied: applied ?? this.applied,
      refunded: refunded ?? this.refunded,
      remaining: remaining ?? this.remaining,
      amount: amount ?? this.amount,
      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);
}