Package odata.msgraph.client.beta.entity
Class Vendor
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.Vendor
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Vendor extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVendor.Builder
-
Field Summary
Fields Modifier and Type Field Description protected PostalAddressTypeaddressprotected BigDecimalbalanceprotected Stringblockedprotected StringcurrencyCodeprotected StringcurrencyIdprotected StringdisplayNameprotected Stringemailprotected OffsetDateTimelastModifiedDateTimeprotected Stringnumberprotected StringpaymentMethodIdprotected StringpaymentTermsIdprotected StringphoneNumberprotected BooleantaxLiableprotected StringtaxRegistrationNumberprotected Stringwebsite-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVendor()
-
Method Summary
-
-
-
Field Detail
-
address
protected PostalAddressType address
-
balance
protected BigDecimal balance
-
blocked
protected String blocked
-
currencyCode
protected String currencyCode
-
currencyId
protected String currencyId
-
displayName
protected String displayName
-
email
protected String email
-
lastModifiedDateTime
protected OffsetDateTime lastModifiedDateTime
-
number
protected String number
-
paymentMethodId
protected String paymentMethodId
-
paymentTermsId
protected String paymentTermsId
-
phoneNumber
protected String phoneNumber
-
taxLiable
protected Boolean taxLiable
-
taxRegistrationNumber
protected String taxRegistrationNumber
-
website
protected String website
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderVendor
public static Vendor.Builder builderVendor()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
getAddress
public Optional<PostalAddressType> getAddress()
-
withAddress
public Vendor withAddress(PostalAddressType address)
-
getBalance
public Optional<BigDecimal> getBalance()
-
withBalance
public Vendor withBalance(BigDecimal balance)
-
getLastModifiedDateTime
public Optional<OffsetDateTime> getLastModifiedDateTime()
-
withLastModifiedDateTime
public Vendor withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
-
withUnmappedField
public Vendor withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getCurrency
public CurrencyRequest getCurrency()
-
getPaymentMethod
public PaymentMethodRequest getPaymentMethod()
-
getPaymentTerm
public PaymentTermRequest getPaymentTerm()
-
getPicture
public PictureCollectionRequest getPicture()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Vendor patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Vendor put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-