public class Item extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
| Modifier and Type | Class and Description |
|---|---|
static class |
Item.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseUnitOfMeasureId |
protected Boolean |
blocked |
protected String |
displayName |
protected String |
gtin |
protected BigDecimal |
inventory |
protected String |
itemCategoryCode |
protected String |
itemCategoryId |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
number |
protected Boolean |
priceIncludesTax |
protected String |
taxGroupCode |
protected String |
taxGroupId |
protected String |
type |
protected BigDecimal |
unitCost |
protected BigDecimal |
unitPrice |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Item() |
protected String number
protected String displayName
protected String type
protected String itemCategoryId
protected String itemCategoryCode
protected Boolean blocked
protected String baseUnitOfMeasureId
protected String gtin
protected BigDecimal inventory
protected BigDecimal unitPrice
protected Boolean priceIncludesTax
protected BigDecimal unitCost
protected String taxGroupId
protected String taxGroupCode
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Item.Builder builderItem()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<BigDecimal> getInventory()
public Item withInventory(BigDecimal inventory)
public Optional<BigDecimal> getUnitPrice()
public Item withUnitPrice(BigDecimal unitPrice)
public Optional<BigDecimal> getUnitCost()
public Item withUnitCost(BigDecimal unitCost)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public Item withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public PictureCollectionRequest getPicture()
public ItemCategoryRequest getItemCategory()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Item patch()
this with changed fields reset.public Item put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.