public class GeneralLedgerEntry extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = false
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = false
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = false
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneralLedgerEntry.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountId |
protected String |
accountNumber |
protected BigDecimal |
creditAmount |
protected BigDecimal |
debitAmount |
protected String |
description |
protected String |
documentNumber |
protected String |
documentType |
protected OffsetDateTime |
lastModifiedDateTime |
protected LocalDate |
postingDate |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
GeneralLedgerEntry() |
protected LocalDate postingDate
protected String documentNumber
protected String documentType
protected String accountId
protected String accountNumber
protected String description
protected BigDecimal debitAmount
protected BigDecimal creditAmount
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static GeneralLedgerEntry.Builder builderGeneralLedgerEntry()
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 GeneralLedgerEntry withPostingDate(LocalDate postingDate)
public GeneralLedgerEntry withDocumentNumber(String documentNumber)
public GeneralLedgerEntry withDocumentType(String documentType)
public GeneralLedgerEntry withAccountId(String accountId)
public GeneralLedgerEntry withAccountNumber(String accountNumber)
public GeneralLedgerEntry withDescription(String description)
public Optional<BigDecimal> getDebitAmount()
public GeneralLedgerEntry withDebitAmount(BigDecimal debitAmount)
public Optional<BigDecimal> getCreditAmount()
public GeneralLedgerEntry withCreditAmount(BigDecimal creditAmount)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public GeneralLedgerEntry withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public AccountRequest getAccount()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic GeneralLedgerEntry patch()
this with changed fields reset.public GeneralLedgerEntry put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.