public class CustomerPayment 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 |
CustomerPayment.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected BigDecimal |
amount |
protected String |
appliesToInvoiceId |
protected String |
appliesToInvoiceNumber |
protected String |
comment |
protected String |
contactId |
protected String |
customerId |
protected String |
customerNumber |
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 |
CustomerPayment() |
protected String journalDisplayName
protected Integer lineNumber
protected String customerId
protected String customerNumber
protected String contactId
protected LocalDate postingDate
protected String documentNumber
protected String externalDocumentNumber
protected BigDecimal amount
protected String appliesToInvoiceId
protected String appliesToInvoiceNumber
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 CustomerPayment.Builder builderCustomerPayment()
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 CustomerPayment withJournalDisplayName(String journalDisplayName)
public CustomerPayment withLineNumber(Integer lineNumber)
public CustomerPayment withCustomerId(String customerId)
public CustomerPayment withCustomerNumber(String customerNumber)
public CustomerPayment withContactId(String contactId)
public CustomerPayment withPostingDate(LocalDate postingDate)
public CustomerPayment withDocumentNumber(String documentNumber)
public CustomerPayment withExternalDocumentNumber(String externalDocumentNumber)
public Optional<BigDecimal> getAmount()
public CustomerPayment withAmount(BigDecimal amount)
public CustomerPayment withAppliesToInvoiceId(String appliesToInvoiceId)
public CustomerPayment withAppliesToInvoiceNumber(String appliesToInvoiceNumber)
public CustomerPayment withDescription(String description)
public CustomerPayment withComment(String comment)
public Optional<OffsetDateTime> getLastModifiedDateTime()
public CustomerPayment withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public CustomerRequest getCustomer()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic CustomerPayment patch()
this with changed fields reset.public CustomerPayment put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.