Package odata.msgraph.client.beta.entity
Class AgedAccountsPayable
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.AgedAccountsPayable
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class AgedAccountsPayable extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAgedAccountsPayable.Builder
-
Field Summary
Fields Modifier and Type Field Description protected LocalDateagedAsOfDateprotected BigDecimalbalanceDueprotected StringcurrencyCodeprotected BigDecimalcurrentAmountprotected Stringnameprotected BigDecimalperiod1Amountprotected BigDecimalperiod2Amountprotected BigDecimalperiod3Amountprotected StringperiodLengthFilterprotected StringvendorNumber-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAgedAccountsPayable()
-
Method Summary
-
-
-
Field Detail
-
agedAsOfDate
protected LocalDate agedAsOfDate
-
balanceDue
protected BigDecimal balanceDue
-
currencyCode
protected String currencyCode
-
currentAmount
protected BigDecimal currentAmount
-
name
protected String name
-
period1Amount
protected BigDecimal period1Amount
-
period2Amount
protected BigDecimal period2Amount
-
period3Amount
protected BigDecimal period3Amount
-
periodLengthFilter
protected String periodLengthFilter
-
vendorNumber
protected String vendorNumber
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderAgedAccountsPayable
public static AgedAccountsPayable.Builder builderAgedAccountsPayable()
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
-
withAgedAsOfDate
public AgedAccountsPayable withAgedAsOfDate(LocalDate agedAsOfDate)
-
getBalanceDue
public Optional<BigDecimal> getBalanceDue()
-
withBalanceDue
public AgedAccountsPayable withBalanceDue(BigDecimal balanceDue)
-
withCurrencyCode
public AgedAccountsPayable withCurrencyCode(String currencyCode)
-
getCurrentAmount
public Optional<BigDecimal> getCurrentAmount()
-
withCurrentAmount
public AgedAccountsPayable withCurrentAmount(BigDecimal currentAmount)
-
withName
public AgedAccountsPayable withName(String name)
-
getPeriod1Amount
public Optional<BigDecimal> getPeriod1Amount()
-
withPeriod1Amount
public AgedAccountsPayable withPeriod1Amount(BigDecimal period1Amount)
-
getPeriod2Amount
public Optional<BigDecimal> getPeriod2Amount()
-
withPeriod2Amount
public AgedAccountsPayable withPeriod2Amount(BigDecimal period2Amount)
-
getPeriod3Amount
public Optional<BigDecimal> getPeriod3Amount()
-
withPeriod3Amount
public AgedAccountsPayable withPeriod3Amount(BigDecimal period3Amount)
-
withPeriodLengthFilter
public AgedAccountsPayable withPeriodLengthFilter(String periodLengthFilter)
-
withVendorNumber
public AgedAccountsPayable withVendorNumber(String vendorNumber)
-
withUnmappedField
public AgedAccountsPayable withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public AgedAccountsPayable patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public AgedAccountsPayable put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
-