copyWithWrapped method

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

Implementation

WebApiModulesInventoryInventoryReceiptInventoryReceipt copyWithWrapped(
    {Wrapped<String?>? inventoryReceiptId,
    Wrapped<String?>? receiptNumber,
    Wrapped<String?>? receiptDate,
    Wrapped<String?>? receiptType,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? originalShow,
    Wrapped<String?>? originalShowId,
    Wrapped<String?>? buyerId,
    Wrapped<String?>? buyer,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? vendor,
    Wrapped<String?>? taxId,
    Wrapped<String?>? taxOption,
    Wrapped<double?>? taxOptionPercent,
    Wrapped<double?>? shippingCost,
    Wrapped<double?>? miscCost,
    Wrapped<double?>? discountPercent,
    Wrapped<double?>? discountAmount,
    Wrapped<double?>? taxRate,
    Wrapped<double?>? taxAmount,
    Wrapped<String?>? status,
    Wrapped<String?>? note,
    Wrapped<String?>? dateStamp,
    Wrapped<String?>? auditNote,
    Wrapped<String?>? recordTitle,
    Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
        fields,
    Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
    Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
    Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesInventoryInventoryReceiptInventoryReceipt(
      inventoryReceiptId: (inventoryReceiptId != null
          ? inventoryReceiptId.value
          : this.inventoryReceiptId),
      receiptNumber:
          (receiptNumber != null ? receiptNumber.value : this.receiptNumber),
      receiptDate:
          (receiptDate != null ? receiptDate.value : this.receiptDate),
      receiptType:
          (receiptType != null ? receiptType.value : this.receiptType),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      originalShow:
          (originalShow != null ? originalShow.value : this.originalShow),
      originalShowId: (originalShowId != null
          ? originalShowId.value
          : this.originalShowId),
      buyerId: (buyerId != null ? buyerId.value : this.buyerId),
      buyer: (buyer != null ? buyer.value : this.buyer),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      vendor: (vendor != null ? vendor.value : this.vendor),
      taxId: (taxId != null ? taxId.value : this.taxId),
      taxOption: (taxOption != null ? taxOption.value : this.taxOption),
      taxOptionPercent: (taxOptionPercent != null
          ? taxOptionPercent.value
          : this.taxOptionPercent),
      shippingCost:
          (shippingCost != null ? shippingCost.value : this.shippingCost),
      miscCost: (miscCost != null ? miscCost.value : this.miscCost),
      discountPercent: (discountPercent != null
          ? discountPercent.value
          : this.discountPercent),
      discountAmount: (discountAmount != null
          ? discountAmount.value
          : this.discountAmount),
      taxRate: (taxRate != null ? taxRate.value : this.taxRate),
      taxAmount: (taxAmount != null ? taxAmount.value : this.taxAmount),
      status: (status != null ? status.value : this.status),
      note: (note != null ? note.value : this.note),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}