public class SalesQuoteLine extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
| Modifier and Type | Class and Description |
|---|---|
static class |
SalesQuoteLine.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountId |
protected BigDecimal |
amountExcludingTax |
protected BigDecimal |
amountIncludingTax |
protected String |
description |
protected BigDecimal |
discountAmount |
protected Boolean |
discountAppliedBeforeTax |
protected BigDecimal |
discountPercent |
protected String |
documentId |
protected String |
itemId |
protected String |
lineType |
protected BigDecimal |
netAmount |
protected BigDecimal |
netAmountIncludingTax |
protected BigDecimal |
netTaxAmount |
protected BigDecimal |
quantity |
protected Integer |
sequence |
protected String |
taxCode |
protected BigDecimal |
taxPercent |
protected BigDecimal |
totalTaxAmount |
protected String |
unitOfMeasureId |
protected BigDecimal |
unitPrice |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SalesQuoteLine() |
protected String documentId
protected Integer sequence
protected String itemId
protected String accountId
protected String lineType
protected String description
protected String unitOfMeasureId
protected BigDecimal unitPrice
protected BigDecimal quantity
protected BigDecimal discountAmount
protected BigDecimal discountPercent
protected Boolean discountAppliedBeforeTax
protected BigDecimal amountExcludingTax
protected String taxCode
protected BigDecimal taxPercent
protected BigDecimal totalTaxAmount
protected BigDecimal amountIncludingTax
protected BigDecimal netAmount
protected BigDecimal netTaxAmount
protected BigDecimal netAmountIncludingTax
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SalesQuoteLine.Builder builderSalesQuoteLine()
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 SalesQuoteLine withDocumentId(String documentId)
public SalesQuoteLine withSequence(Integer sequence)
public SalesQuoteLine withItemId(String itemId)
public SalesQuoteLine withAccountId(String accountId)
public SalesQuoteLine withLineType(String lineType)
public SalesQuoteLine withDescription(String description)
public SalesQuoteLine withUnitOfMeasureId(String unitOfMeasureId)
public Optional<BigDecimal> getUnitPrice()
public SalesQuoteLine withUnitPrice(BigDecimal unitPrice)
public Optional<BigDecimal> getQuantity()
public SalesQuoteLine withQuantity(BigDecimal quantity)
public Optional<BigDecimal> getDiscountAmount()
public SalesQuoteLine withDiscountAmount(BigDecimal discountAmount)
public Optional<BigDecimal> getDiscountPercent()
public SalesQuoteLine withDiscountPercent(BigDecimal discountPercent)
public SalesQuoteLine withDiscountAppliedBeforeTax(Boolean discountAppliedBeforeTax)
public Optional<BigDecimal> getAmountExcludingTax()
public SalesQuoteLine withAmountExcludingTax(BigDecimal amountExcludingTax)
public SalesQuoteLine withTaxCode(String taxCode)
public Optional<BigDecimal> getTaxPercent()
public SalesQuoteLine withTaxPercent(BigDecimal taxPercent)
public Optional<BigDecimal> getTotalTaxAmount()
public SalesQuoteLine withTotalTaxAmount(BigDecimal totalTaxAmount)
public Optional<BigDecimal> getAmountIncludingTax()
public SalesQuoteLine withAmountIncludingTax(BigDecimal amountIncludingTax)
public Optional<BigDecimal> getNetAmount()
public SalesQuoteLine withNetAmount(BigDecimal netAmount)
public Optional<BigDecimal> getNetTaxAmount()
public SalesQuoteLine withNetTaxAmount(BigDecimal netTaxAmount)
public Optional<BigDecimal> getNetAmountIncludingTax()
public SalesQuoteLine withNetAmountIncludingTax(BigDecimal netAmountIncludingTax)
public ItemRequest getItem()
public AccountRequest getAccount()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SalesQuoteLine patch()
this with changed fields reset.public SalesQuoteLine put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.