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