public class JournalLine 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 |
JournalLine.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
accountId |
protected String |
accountNumber |
protected BigDecimal |
amount |
protected String |
comment |
protected String |
description |
protected String |
documentNumber |
protected String |
externalDocumentNumber |
protected String |
journalDisplayName |
protected OffsetDateTime |
lastModifiedDateTime |
protected Integer |
lineNumber |
protected LocalDate |
postingDate |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
JournalLine() |
protected String journalDisplayName
protected Integer lineNumber
protected String accountId
protected String accountNumber
protected LocalDate postingDate
protected String documentNumber
protected String externalDocumentNumber
protected BigDecimal amount
protected String description
protected String comment
protected OffsetDateTime lastModifiedDateTime
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static JournalLine.Builder builderJournalLine()
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 JournalLine withJournalDisplayName(String journalDisplayName)
public JournalLine withLineNumber(Integer lineNumber)
public JournalLine withAccountId(String accountId)
public JournalLine withAccountNumber(String accountNumber)
public JournalLine withPostingDate(LocalDate postingDate)
public JournalLine withDocumentNumber(String documentNumber)
public JournalLine withExternalDocumentNumber(String externalDocumentNumber)
public Optional<BigDecimal> getAmount()
public JournalLine withAmount(BigDecimal amount)
public JournalLine withDescription(String description)
public JournalLine withComment(String comment)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public JournalLine 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 JournalLine patch()
this with changed fields reset.public JournalLine put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.