public class BusPartInvoice extends VdmEntity<BusPartInvoice>
Original entity name from the Odata EDM: BusPartInvoiceType
Modifier and Type | Class and Description |
---|---|
static class |
BusPartInvoice.BusPartInvoiceBuilder
Helper class to allow for fluent creation of BusPartInvoice instances.
|
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS
Constructor and Description |
---|
BusPartInvoice() |
BusPartInvoice(UUID cADocumentContainerUUID,
String cADocContainerInvoiceStatus,
String cADocContainerInvoiceStatusTxt,
String cADocumentContainerRefType,
String cADocumentContainerRefTypeText,
String cADocumentContainerReference,
LocalDate creationDate,
LocalTime creationTime,
String displayCurrency,
BigDecimal cAInvoiceAmountInDisplayCrcy,
BigDecimal openAmountInDisplayCrcy,
BigDecimal cashDiscountAmountInDspCrcy,
BigDecimal cAEligibleAmountForCshDiscInDC,
BigDecimal cAReleasedAmtInDisplayCurrency,
BigDecimal cAClearingAmountInDisplayCrcy,
BusPartInvoiceParameters toParameters,
List<BusPartInvoiceCorrespnc> to_BusPartInvoiceCorrespnc) |
Modifier and Type | Method and Description |
---|---|
void |
addBusPartInvoiceCorrespnc(BusPartInvoiceCorrespnc... entity)
Adds elements to the list of associated BusPartInvoiceCorrespnc entities.
|
static BusPartInvoice.BusPartInvoiceBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected void |
fromMap(Map<String,Object> inputValues)
Read entity data from generic map.
|
io.vavr.control.Option<List<BusPartInvoiceCorrespnc>> |
getBusPartInvoiceCorrespncIfPresent()
Retrieval of associated BusPartInvoiceCorrespnc entities (one to many).
|
BigDecimal |
getCAClearingAmountInDisplayCrcy()
Constraints: Not nullable, Precision: 13, Scale: 0
|
String |
getCADocContainerInvoiceStatus()
Constraints: Not nullable, Maximum length: 2
|
String |
getCADocContainerInvoiceStatusTxt()
Constraints: Not nullable, Maximum length: 60
|
String |
getCADocumentContainerReference()
Constraints: Not nullable, Maximum length: 50
|
String |
getCADocumentContainerRefType()
Constraints: Not nullable, Maximum length: 3
|
String |
getCADocumentContainerRefTypeText()
Constraints: Not nullable, Maximum length: 50
|
UUID |
getCADocumentContainerUUID()
(Key Field) Constraints: Not nullable
|
BigDecimal |
getCAEligibleAmountForCshDiscInDC()
Constraints: Not nullable, Precision: 13, Scale: 0
|
BigDecimal |
getCAInvoiceAmountInDisplayCrcy()
Constraints: Not nullable, Precision: 13, Scale: 0
|
BigDecimal |
getCAReleasedAmtInDisplayCurrency()
Constraints: Not nullable, Precision: 13, Scale: 0
|
BigDecimal |
getCashDiscountAmountInDspCrcy()
Constraints: Not nullable, Precision: 13, Scale: 0
|
LocalDate |
getCreationDate()
Constraints: Nullable
|
LocalTime |
getCreationTime()
Constraints: Not nullable
|
String |
getDisplayCurrency()
Constraints: Not nullable, Maximum length: 5
|
protected String |
getEntityCollection()
Used by request builders and navigation property methods to construct OData requests.
|
protected ODataEntityKey |
getKey() |
String |
getOdataType() |
BigDecimal |
getOpenAmountInDisplayCrcy()
Constraints: Not nullable, Precision: 14, Scale: 0
|
io.vavr.control.Option<BusPartInvoiceParameters> |
getParametersIfPresent()
Retrieval of associated BusPartInvoiceParameters entity (one to one).
|
Class<BusPartInvoice> |
getType() |
int |
hashCode() |
void |
setBusPartInvoiceCorrespnc(List<BusPartInvoiceCorrespnc> value)
Overwrites the list of associated BusPartInvoiceCorrespnc entities for the loaded navigation property
_BusPartInvoiceCorrespnc.
|
void |
setCAClearingAmountInDisplayCrcy(BigDecimal cAClearingAmountInDisplayCrcy)
Constraints: Not nullable, Precision: 13, Scale: 0
|
void |
setCADocContainerInvoiceStatus(String cADocContainerInvoiceStatus)
Constraints: Not nullable, Maximum length: 2
|
void |
setCADocContainerInvoiceStatusTxt(String cADocContainerInvoiceStatusTxt)
Constraints: Not nullable, Maximum length: 60
|
void |
setCADocumentContainerReference(String cADocumentContainerReference)
Constraints: Not nullable, Maximum length: 50
|
void |
setCADocumentContainerRefType(String cADocumentContainerRefType)
Constraints: Not nullable, Maximum length: 3
|
void |
setCADocumentContainerRefTypeText(String cADocumentContainerRefTypeText)
Constraints: Not nullable, Maximum length: 50
|
void |
setCADocumentContainerUUID(UUID cADocumentContainerUUID)
(Key Field) Constraints: Not nullable
|
void |
setCAEligibleAmountForCshDiscInDC(BigDecimal cAEligibleAmountForCshDiscInDC)
Constraints: Not nullable, Precision: 13, Scale: 0
|
void |
setCAInvoiceAmountInDisplayCrcy(BigDecimal cAInvoiceAmountInDisplayCrcy)
Constraints: Not nullable, Precision: 13, Scale: 0
|
void |
setCAReleasedAmtInDisplayCurrency(BigDecimal cAReleasedAmtInDisplayCurrency)
Constraints: Not nullable, Precision: 13, Scale: 0
|
void |
setCashDiscountAmountInDspCrcy(BigDecimal cashDiscountAmountInDspCrcy)
Constraints: Not nullable, Precision: 13, Scale: 0
|
void |
setCreationDate(LocalDate creationDate)
Constraints: Nullable
|
void |
setCreationTime(LocalTime creationTime)
Constraints: Not nullable
|
void |
setDisplayCurrency(String displayCurrency)
Constraints: Not nullable, Maximum length: 5
|
void |
setOpenAmountInDisplayCrcy(BigDecimal openAmountInDisplayCrcy)
Constraints: Not nullable, Precision: 14, Scale: 0
|
void |
setParameters(BusPartInvoiceParameters value)
Overwrites the associated BusPartInvoiceParameters entity for the loaded navigation property
Parameters.
|
protected Map<String,Object> |
toMapOfFields()
Get all fields as map.
|
protected Map<String,Object> |
toMapOfNavigationProperties()
Get navigation properties as map.
|
String |
toString() |
all, attachToService, getDefaultServicePath, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifier
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
public static final SimpleProperty<BusPartInvoice> ALL_FIELDS
public static final SimpleProperty.Guid<BusPartInvoice> CA_DOCUMENT_CONTAINER_UUID
public static final SimpleProperty.String<BusPartInvoice> CA_DOC_CONTAINER_INVOICE_STATUS
public static final SimpleProperty.String<BusPartInvoice> CA_DOC_CONTAINER_INVOICE_STATUS_TXT
public static final SimpleProperty.String<BusPartInvoice> CA_DOCUMENT_CONTAINER_REF_TYPE
public static final SimpleProperty.String<BusPartInvoice> CA_DOCUMENT_CONTAINER_REF_TYPE_TEXT
public static final SimpleProperty.String<BusPartInvoice> CA_DOCUMENT_CONTAINER_REFERENCE
public static final SimpleProperty.Date<BusPartInvoice> CREATION_DATE
public static final SimpleProperty.Time<BusPartInvoice> CREATION_TIME
public static final SimpleProperty.String<BusPartInvoice> DISPLAY_CURRENCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_INVOICE_AMOUNT_IN_DISPLAY_CRCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> OPEN_AMOUNT_IN_DISPLAY_CRCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CASH_DISCOUNT_AMOUNT_IN_DSP_CRCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_ELIGIBLE_AMOUNT_FOR_CSH_DISC_IN_DC
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_RELEASED_AMT_IN_DISPLAY_CURRENCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_CLEARING_AMOUNT_IN_DISPLAY_CRCY
public static final NavigationProperty.Single<BusPartInvoice,BusPartInvoiceParameters> TO_PARAMETERS
public static final NavigationProperty.Collection<BusPartInvoice,BusPartInvoiceCorrespnc> TO__BUS_PART_INVOICE_CORRESPNC
public BusPartInvoice()
public BusPartInvoice(@Nullable UUID cADocumentContainerUUID, @Nullable String cADocContainerInvoiceStatus, @Nullable String cADocContainerInvoiceStatusTxt, @Nullable String cADocumentContainerRefType, @Nullable String cADocumentContainerRefTypeText, @Nullable String cADocumentContainerReference, @Nullable LocalDate creationDate, @Nullable LocalTime creationTime, @Nullable String displayCurrency, @Nullable BigDecimal cAInvoiceAmountInDisplayCrcy, @Nullable BigDecimal openAmountInDisplayCrcy, @Nullable BigDecimal cashDiscountAmountInDspCrcy, @Nullable BigDecimal cAEligibleAmountForCshDiscInDC, @Nullable BigDecimal cAReleasedAmtInDisplayCurrency, @Nullable BigDecimal cAClearingAmountInDisplayCrcy, @Nullable BusPartInvoiceParameters toParameters, List<BusPartInvoiceCorrespnc> to_BusPartInvoiceCorrespnc)
@Nonnull public Class<BusPartInvoice> getType()
getType
in class VdmObject<BusPartInvoice>
public void setCADocumentContainerUUID(@Nullable UUID cADocumentContainerUUID)
Original property name from the Odata EDM: CADocumentContainerUUID
cADocumentContainerUUID
- Document Container IDpublic void setCADocContainerInvoiceStatus(@Nullable String cADocContainerInvoiceStatus)
Original property name from the Odata EDM: CADocContainerInvoiceStatus
cADocContainerInvoiceStatus
- Invoice Statuspublic void setCADocContainerInvoiceStatusTxt(@Nullable String cADocContainerInvoiceStatusTxt)
Original property name from the Odata EDM: CADocContainerInvoiceStatusTxt
cADocContainerInvoiceStatusTxt
- Short Text for Fixed Valuespublic void setCADocumentContainerRefType(@Nullable String cADocumentContainerRefType)
Original property name from the Odata EDM: CADocumentContainerRefType
cADocumentContainerRefType
- Document Container - Reference Typepublic void setCADocumentContainerRefTypeText(@Nullable String cADocumentContainerRefTypeText)
Original property name from the Odata EDM: CADocumentContainerRefTypeText
cADocumentContainerRefTypeText
- Reference Type of Document Conainer Textpublic void setCADocumentContainerReference(@Nullable String cADocumentContainerReference)
Original property name from the Odata EDM: CADocumentContainerReference
cADocumentContainerReference
- Document Container - Identification for Reference Categorypublic void setCreationDate(@Nullable LocalDate creationDate)
Original property name from the Odata EDM: CreationDate
creationDate
- Day On Which Accounting Document Was Enteredpublic void setCreationTime(@Nullable LocalTime creationTime)
Original property name from the Odata EDM: CreationTime
creationTime
- Time of Entrypublic void setDisplayCurrency(@Nullable String displayCurrency)
Original property name from the Odata EDM: DisplayCurrency
displayCurrency
- The displayCurrency to set.public void setCAInvoiceAmountInDisplayCrcy(@Nullable BigDecimal cAInvoiceAmountInDisplayCrcy)
Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy
cAInvoiceAmountInDisplayCrcy
- The cAInvoiceAmountInDisplayCrcy to set.public void setOpenAmountInDisplayCrcy(@Nullable BigDecimal openAmountInDisplayCrcy)
Original property name from the Odata EDM: OpenAmountInDisplayCrcy
openAmountInDisplayCrcy
- The openAmountInDisplayCrcy to set.public void setCashDiscountAmountInDspCrcy(@Nullable BigDecimal cashDiscountAmountInDspCrcy)
Original property name from the Odata EDM: CashDiscountAmountInDspCrcy
cashDiscountAmountInDspCrcy
- The cashDiscountAmountInDspCrcy to set.public void setCAEligibleAmountForCshDiscInDC(@Nullable BigDecimal cAEligibleAmountForCshDiscInDC)
Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC
cAEligibleAmountForCshDiscInDC
- The cAEligibleAmountForCshDiscInDC to set.public void setCAReleasedAmtInDisplayCurrency(@Nullable BigDecimal cAReleasedAmtInDisplayCurrency)
Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency
cAReleasedAmtInDisplayCurrency
- The cAReleasedAmtInDisplayCurrency to set.public void setCAClearingAmountInDisplayCrcy(@Nullable BigDecimal cAClearingAmountInDisplayCrcy)
Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy
cAClearingAmountInDisplayCrcy
- The cAClearingAmountInDisplayCrcy to set.protected String getEntityCollection()
VdmEntity
getEntityCollection
in class VdmEntity<BusPartInvoice>
@Nonnull protected ODataEntityKey getKey()
getKey
in class VdmObject<BusPartInvoice>
@Nonnull protected Map<String,Object> toMapOfFields()
VdmObject
toMapOfFields
in class VdmObject<BusPartInvoice>
protected void fromMap(Map<String,Object> inputValues)
VdmObject
fromMap
in class VdmObject<BusPartInvoice>
inputValues
- The key-value map.@Nonnull protected Map<String,Object> toMapOfNavigationProperties()
VdmObject
toMapOfNavigationProperties
in class VdmObject<BusPartInvoice>
@Nonnull public io.vavr.control.Option<BusPartInvoiceParameters> getParametersIfPresent()
If the navigation property for an entity BusPartInvoice has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result state
empty
is returned.public void setParameters(BusPartInvoiceParameters value)
value
- New BusPartInvoiceParameters entity.@Nonnull public io.vavr.control.Option<List<BusPartInvoiceCorrespnc>> getBusPartInvoiceCorrespncIfPresent()
If the navigation property for an entity BusPartInvoice has not been resolved yet, this method will not
query further information. Instead its Option
result state will be empty
.
Option
with result
state empty
is returned.public void setBusPartInvoiceCorrespnc(@Nonnull List<BusPartInvoiceCorrespnc> value)
If the navigation property _BusPartInvoiceCorrespnc of a queried BusPartInvoice is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
value
- List of BusPartInvoiceCorrespnc entities.public void addBusPartInvoiceCorrespnc(BusPartInvoiceCorrespnc... entity)
If the navigation property _BusPartInvoiceCorrespnc of a queried BusPartInvoice is operated lazily, an ODataException can be thrown in case of an OData query error.
Please note: Lazy loading of OData entity associations is the process of asynchronous retrieval and persisting of items from a navigation property. If a lazy property is requested by the application for the first time and it has not yet been loaded, an OData query will be run in order to load the missing information and its result will get cached for future invocations.
entity
- Array of BusPartInvoiceCorrespnc entities.@Nonnull public static BusPartInvoice.BusPartInvoiceBuilder builder()
@Nullable public UUID getCADocumentContainerUUID()
Original property name from the Odata EDM: CADocumentContainerUUID
@Nullable public String getCADocContainerInvoiceStatus()
Original property name from the Odata EDM: CADocContainerInvoiceStatus
@Nullable public String getCADocContainerInvoiceStatusTxt()
Original property name from the Odata EDM: CADocContainerInvoiceStatusTxt
@Nullable public String getCADocumentContainerRefType()
Original property name from the Odata EDM: CADocumentContainerRefType
@Nullable public String getCADocumentContainerRefTypeText()
Original property name from the Odata EDM: CADocumentContainerRefTypeText
@Nullable public String getCADocumentContainerReference()
Original property name from the Odata EDM: CADocumentContainerReference
@Nullable public LocalDate getCreationDate()
Original property name from the Odata EDM: CreationDate
@Nullable public LocalTime getCreationTime()
Original property name from the Odata EDM: CreationTime
@Nullable public String getDisplayCurrency()
Original property name from the Odata EDM: DisplayCurrency
@Nullable public BigDecimal getCAInvoiceAmountInDisplayCrcy()
Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy
@Nullable public BigDecimal getOpenAmountInDisplayCrcy()
Original property name from the Odata EDM: OpenAmountInDisplayCrcy
@Nullable public BigDecimal getCashDiscountAmountInDspCrcy()
Original property name from the Odata EDM: CashDiscountAmountInDspCrcy
@Nullable public BigDecimal getCAEligibleAmountForCshDiscInDC()
Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC
@Nullable public BigDecimal getCAReleasedAmtInDisplayCurrency()
Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency
@Nullable public BigDecimal getCAClearingAmountInDisplayCrcy()
Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy
@Nonnull public String toString()
toString
in class VdmObject<BusPartInvoice>
public boolean equals(@Nullable Object o)
equals
in class VdmEntity<BusPartInvoice>
protected boolean canEqual(@Nullable Object other)
canEqual
in class VdmEntity<BusPartInvoice>
public int hashCode()
hashCode
in class VdmEntity<BusPartInvoice>
public String getOdataType()
getOdataType
in class VdmObject<BusPartInvoice>
Copyright © 2021 SAP SE. All rights reserved.