public class PurchaseInvoiceLine 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 |
PurchaseInvoiceLine.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 LocalDate |
expectedReceiptDate |
protected BigDecimal |
invoiceDiscountAllocation |
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 BigDecimal |
unitCost |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PurchaseInvoiceLine() |
protected String documentId
protected Integer sequence
protected String itemId
protected String accountId
protected String lineType
protected String description
protected BigDecimal unitCost
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 invoiceDiscountAllocation
protected BigDecimal netAmount
protected BigDecimal netTaxAmount
protected BigDecimal netAmountIncludingTax
protected LocalDate expectedReceiptDate
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PurchaseInvoiceLine.Builder builderPurchaseInvoiceLine()
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 PurchaseInvoiceLine withDocumentId(String documentId)
public PurchaseInvoiceLine withSequence(Integer sequence)
public PurchaseInvoiceLine withItemId(String itemId)
public PurchaseInvoiceLine withAccountId(String accountId)
public PurchaseInvoiceLine withLineType(String lineType)
public PurchaseInvoiceLine withDescription(String description)
public Optional<BigDecimal> getUnitCost()
public PurchaseInvoiceLine withUnitCost(BigDecimal unitCost)
public Optional<BigDecimal> getQuantity()
public PurchaseInvoiceLine withQuantity(BigDecimal quantity)
public Optional<BigDecimal> getDiscountAmount()
public PurchaseInvoiceLine withDiscountAmount(BigDecimal discountAmount)
public Optional<BigDecimal> getDiscountPercent()
public PurchaseInvoiceLine withDiscountPercent(BigDecimal discountPercent)
public PurchaseInvoiceLine withDiscountAppliedBeforeTax(Boolean discountAppliedBeforeTax)
public Optional<BigDecimal> getAmountExcludingTax()
public PurchaseInvoiceLine withAmountExcludingTax(BigDecimal amountExcludingTax)
public PurchaseInvoiceLine withTaxCode(String taxCode)
public Optional<BigDecimal> getTaxPercent()
public PurchaseInvoiceLine withTaxPercent(BigDecimal taxPercent)
public Optional<BigDecimal> getTotalTaxAmount()
public PurchaseInvoiceLine withTotalTaxAmount(BigDecimal totalTaxAmount)
public Optional<BigDecimal> getAmountIncludingTax()
public PurchaseInvoiceLine withAmountIncludingTax(BigDecimal amountIncludingTax)
public Optional<BigDecimal> getInvoiceDiscountAllocation()
public PurchaseInvoiceLine withInvoiceDiscountAllocation(BigDecimal invoiceDiscountAllocation)
public Optional<BigDecimal> getNetAmount()
public PurchaseInvoiceLine withNetAmount(BigDecimal netAmount)
public Optional<BigDecimal> getNetTaxAmount()
public PurchaseInvoiceLine withNetTaxAmount(BigDecimal netTaxAmount)
public Optional<BigDecimal> getNetAmountIncludingTax()
public PurchaseInvoiceLine withNetAmountIncludingTax(BigDecimal netAmountIncludingTax)
public PurchaseInvoiceLine withExpectedReceiptDate(LocalDate expectedReceiptDate)
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 PurchaseInvoiceLine patch()
this with changed fields reset.public PurchaseInvoiceLine put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.