public class SalesQuote 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 |
SalesQuote.Builder |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
SalesQuote() |
protected String number
protected String externalDocumentNumber
protected LocalDate documentDate
protected LocalDate dueDate
protected String customerId
protected String customerNumber
protected String customerName
protected String billToName
protected String billToCustomerId
protected String billToCustomerNumber
protected String shipToName
protected String shipToContact
protected PostalAddressType sellingPostalAddress
protected PostalAddressType billingPostalAddress
protected PostalAddressType shippingPostalAddress
protected String currencyId
protected String currencyCode
protected String paymentTermsId
protected String shipmentMethodId
protected String salesperson
protected BigDecimal discountAmount
protected BigDecimal totalAmountExcludingTax
protected BigDecimal totalTaxAmount
protected BigDecimal totalAmountIncludingTax
protected String status
protected OffsetDateTime sentDate
protected LocalDate validUntilDate
protected LocalDate acceptedDate
protected OffsetDateTime lastModifiedDateTime
protected String phoneNumber
protected String email
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static SalesQuote.Builder builderSalesQuote()
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 SalesQuote withNumber(String number)
public SalesQuote withExternalDocumentNumber(String externalDocumentNumber)
public SalesQuote withDocumentDate(LocalDate documentDate)
public SalesQuote withDueDate(LocalDate dueDate)
public SalesQuote withCustomerId(String customerId)
public SalesQuote withCustomerNumber(String customerNumber)
public SalesQuote withCustomerName(String customerName)
public SalesQuote withBillToName(String billToName)
public SalesQuote withBillToCustomerId(String billToCustomerId)
public SalesQuote withBillToCustomerNumber(String billToCustomerNumber)
public SalesQuote withShipToName(String shipToName)
public SalesQuote withShipToContact(String shipToContact)
public Optional<PostalAddressType> getSellingPostalAddress()
public SalesQuote withSellingPostalAddress(PostalAddressType sellingPostalAddress)
public Optional<PostalAddressType> getBillingPostalAddress()
public SalesQuote withBillingPostalAddress(PostalAddressType billingPostalAddress)
public Optional<PostalAddressType> getShippingPostalAddress()
public SalesQuote withShippingPostalAddress(PostalAddressType shippingPostalAddress)
public SalesQuote withCurrencyId(String currencyId)
public SalesQuote withCurrencyCode(String currencyCode)
public SalesQuote withPaymentTermsId(String paymentTermsId)
public SalesQuote withShipmentMethodId(String shipmentMethodId)
public SalesQuote withSalesperson(String salesperson)
public Optional<BigDecimal> getDiscountAmount()
public SalesQuote withDiscountAmount(BigDecimal discountAmount)
public Optional<BigDecimal> getTotalAmountExcludingTax()
public SalesQuote withTotalAmountExcludingTax(BigDecimal totalAmountExcludingTax)
public Optional<BigDecimal> getTotalTaxAmount()
public SalesQuote withTotalTaxAmount(BigDecimal totalTaxAmount)
public Optional<BigDecimal> getTotalAmountIncludingTax()
public SalesQuote withTotalAmountIncludingTax(BigDecimal totalAmountIncludingTax)
public SalesQuote withStatus(String status)
public Optional<OffsetDateTime> getSentDate()
public SalesQuote withSentDate(OffsetDateTime sentDate)
public SalesQuote withValidUntilDate(LocalDate validUntilDate)
public SalesQuote withAcceptedDate(LocalDate acceptedDate)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public SalesQuote withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public SalesQuote withPhoneNumber(String phoneNumber)
public SalesQuote withEmail(String email)
public SalesQuoteLineCollectionRequest getSalesQuoteLines()
public CustomerRequest getCustomer()
public CurrencyRequest getCurrency()
public PaymentTermRequest getPaymentTerm()
public ShipmentMethodRequest getShipmentMethod()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic SalesQuote patch()
this with changed fields reset.public SalesQuote put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn makeInvoice()
public com.github.davidmoten.odata.client.ActionRequestNoReturn send()
Copyright © 2018–2020. All rights reserved.