public class Vendor 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 |
Vendor.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected PostalAddressType |
address |
protected BigDecimal |
balance |
protected String |
blocked |
protected String |
currencyCode |
protected String |
currencyId |
protected String |
displayName |
protected String |
email |
protected OffsetDateTime |
lastModifiedDateTime |
protected String |
number |
protected String |
paymentMethodId |
protected String |
paymentTermsId |
protected String |
phoneNumber |
protected Boolean |
taxLiable |
protected String |
taxRegistrationNumber |
protected String |
website |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Vendor() |
protected String number
protected String displayName
protected PostalAddressType address
protected String phoneNumber
protected String email
protected String website
protected String taxRegistrationNumber
protected String currencyId
protected String currencyCode
protected String paymentTermsId
protected String paymentMethodId
protected Boolean taxLiable
protected String blocked
protected BigDecimal balance
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Vendor.Builder builderVendor()
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<PostalAddressType> getAddress()
public Vendor withAddress(PostalAddressType address)
public Optional<BigDecimal> getBalance()
public Vendor withBalance(BigDecimal balance)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public Vendor withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public PictureCollectionRequest getPicture()
public CurrencyRequest getCurrency()
public PaymentTermRequest getPaymentTerm()
public PaymentMethodRequest getPaymentMethod()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Vendor patch()
this with changed fields reset.public Vendor put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.