copyWith method

WebApiModulesInventoryInventoryReceiptInventoryReceipt copyWith({
  1. String? inventoryReceiptId,
  2. String? receiptNumber,
  3. String? receiptDate,
  4. String? receiptType,
  5. String? warehouseId,
  6. String? warehouse,
  7. String? originalShow,
  8. String? originalShowId,
  9. String? buyerId,
  10. String? buyer,
  11. String? vendorId,
  12. String? vendor,
  13. String? taxId,
  14. String? taxOption,
  15. double? taxOptionPercent,
  16. double? shippingCost,
  17. double? miscCost,
  18. double? discountPercent,
  19. double? discountAmount,
  20. double? taxRate,
  21. double? taxAmount,
  22. String? status,
  23. String? note,
  24. String? dateStamp,
  25. String? auditNote,
  26. String? recordTitle,
  27. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  28. List<FwStandardDataFwCustomValue>? custom,
  29. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  30. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesInventoryInventoryReceiptInventoryReceipt copyWith(
    {String? inventoryReceiptId,
    String? receiptNumber,
    String? receiptDate,
    String? receiptType,
    String? warehouseId,
    String? warehouse,
    String? originalShow,
    String? originalShowId,
    String? buyerId,
    String? buyer,
    String? vendorId,
    String? vendor,
    String? taxId,
    String? taxOption,
    double? taxOptionPercent,
    double? shippingCost,
    double? miscCost,
    double? discountPercent,
    double? discountAmount,
    double? taxRate,
    double? taxAmount,
    String? status,
    String? note,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesInventoryInventoryReceiptInventoryReceipt(
      inventoryReceiptId: inventoryReceiptId ?? this.inventoryReceiptId,
      receiptNumber: receiptNumber ?? this.receiptNumber,
      receiptDate: receiptDate ?? this.receiptDate,
      receiptType: receiptType ?? this.receiptType,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      originalShow: originalShow ?? this.originalShow,
      originalShowId: originalShowId ?? this.originalShowId,
      buyerId: buyerId ?? this.buyerId,
      buyer: buyer ?? this.buyer,
      vendorId: vendorId ?? this.vendorId,
      vendor: vendor ?? this.vendor,
      taxId: taxId ?? this.taxId,
      taxOption: taxOption ?? this.taxOption,
      taxOptionPercent: taxOptionPercent ?? this.taxOptionPercent,
      shippingCost: shippingCost ?? this.shippingCost,
      miscCost: miscCost ?? this.miscCost,
      discountPercent: discountPercent ?? this.discountPercent,
      discountAmount: discountAmount ?? this.discountAmount,
      taxRate: taxRate ?? this.taxRate,
      taxAmount: taxAmount ?? this.taxAmount,
      status: status ?? this.status,
      note: note ?? this.note,
      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);
}