Class BusPartInvoice
Original entity name from the Odata EDM: BusPartInvoiceType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BusPartInvoice instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<BusPartInvoice>Selector for all available fields of BusPartInvoice.static final SimpleProperty.NumericDecimal<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.Guid<BusPartInvoice>static final SimpleProperty.NumericDecimal<BusPartInvoice>static final SimpleProperty.NumericDecimal<BusPartInvoice>static final SimpleProperty.NumericDecimal<BusPartInvoice>static final SimpleProperty.NumericDecimal<BusPartInvoice>static final SimpleProperty.Date<BusPartInvoice>static final SimpleProperty.Time<BusPartInvoice>static final SimpleProperty.String<BusPartInvoice>static final SimpleProperty.NumericDecimal<BusPartInvoice>Use with available request builders to apply the _BusPartInvoiceCorrespnc navigation property to query operations.static final NavigationProperty.Single<BusPartInvoice,BusPartInvoiceParameters> Use with available request builders to apply the Parameters navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionBusPartInvoice(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) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds elements to the list of associated BusPartInvoiceCorrespnc entities.builder()protected booleanbooleanprotected voidio.vavr.control.Option<List<BusPartInvoiceCorrespnc>>Retrieval of associated BusPartInvoiceCorrespnc entities (one to many).Constraints: Not nullable, Precision: 23, Scale: 0Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 60Constraints: Not nullable, Maximum length: 50Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Maximum length: 50(Key Field) Constraints: Not nullableConstraints: Not nullable, Precision: 23, Scale: 0Constraints: Not nullable, Precision: 23, Scale: 0Constraints: Not nullable, Precision: 23, Scale: 0Constraints: Not nullable, Precision: 23, Scale: 0Constraints: NullableConstraints: Not nullableConstraints: Not nullable, Maximum length: 3protected Stringprotected ODataEntityKeygetKey()Constraints: Not nullable, Precision: 23, Scale: 0io.vavr.control.Option<BusPartInvoiceParameters>Retrieval of associated BusPartInvoiceParameters entity (one to one).getType()inthashCode()voidOverwrites the list of associated BusPartInvoiceCorrespnc entities for the loaded navigation property _BusPartInvoiceCorrespnc.voidsetCAClearingAmountInDisplayCrcy(BigDecimal cAClearingAmountInDisplayCrcy) Constraints: Not nullable, Precision: 23, Scale: 0voidsetCADocContainerInvoiceStatus(String cADocContainerInvoiceStatus) Constraints: Not nullable, Maximum length: 2voidsetCADocContainerInvoiceStatusTxt(String cADocContainerInvoiceStatusTxt) Constraints: Not nullable, Maximum length: 60voidsetCADocumentContainerReference(String cADocumentContainerReference) Constraints: Not nullable, Maximum length: 50voidsetCADocumentContainerRefType(String cADocumentContainerRefType) Constraints: Not nullable, Maximum length: 3voidsetCADocumentContainerRefTypeText(String cADocumentContainerRefTypeText) Constraints: Not nullable, Maximum length: 50voidsetCADocumentContainerUUID(UUID cADocumentContainerUUID) (Key Field) Constraints: Not nullablevoidsetCAEligibleAmountForCshDiscInDC(BigDecimal cAEligibleAmountForCshDiscInDC) Constraints: Not nullable, Precision: 23, Scale: 0voidsetCAInvoiceAmountInDisplayCrcy(BigDecimal cAInvoiceAmountInDisplayCrcy) Constraints: Not nullable, Precision: 23, Scale: 0voidsetCAReleasedAmtInDisplayCurrency(BigDecimal cAReleasedAmtInDisplayCurrency) Constraints: Not nullable, Precision: 23, Scale: 0voidsetCashDiscountAmountInDspCrcy(BigDecimal cashDiscountAmountInDspCrcy) Constraints: Not nullable, Precision: 23, Scale: 0voidsetCreationDate(LocalDate creationDate) Constraints: NullablevoidsetCreationTime(LocalTime creationTime) Constraints: Not nullablevoidsetDisplayCurrency(String displayCurrency) Constraints: Not nullable, Maximum length: 3voidsetOpenAmountInDisplayCrcy(BigDecimal openAmountInDisplayCrcy) Constraints: Not nullable, Precision: 23, Scale: 0voidOverwrites the associated BusPartInvoiceParameters entity for the loaded navigation property Parameters.toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, getDefaultServicePath, getDestinationForFetch, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setServicePathForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
getAnnotationProperties, getChangedFields, getCustomField, getCustomField, getCustomFieldNames, getCustomFields, getSetOfCustomFields, getSetOfFields, getSetOfNavigationProperties, hasCustomField, hasCustomField, rememberChangedField, resetChangedFields, setCustomField, setCustomField, toMap, toMapOfCustomFields
-
Field Details
-
ALL_FIELDS
Selector for all available fields of BusPartInvoice. -
CA_DOCUMENT_CONTAINER_UUID
-
CA_DOC_CONTAINER_INVOICE_STATUS
-
CA_DOC_CONTAINER_INVOICE_STATUS_TXT
-
CA_DOCUMENT_CONTAINER_REF_TYPE
-
CA_DOCUMENT_CONTAINER_REF_TYPE_TEXT
-
CA_DOCUMENT_CONTAINER_REFERENCE
-
CREATION_DATE
-
CREATION_TIME
-
DISPLAY_CURRENCY
-
CA_INVOICE_AMOUNT_IN_DISPLAY_CRCY
-
OPEN_AMOUNT_IN_DISPLAY_CRCY
-
CASH_DISCOUNT_AMOUNT_IN_DSP_CRCY
-
CA_ELIGIBLE_AMOUNT_FOR_CSH_DISC_IN_DC
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_ELIGIBLE_AMOUNT_FOR_CSH_DISC_IN_DC -
CA_RELEASED_AMT_IN_DISPLAY_CURRENCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_RELEASED_AMT_IN_DISPLAY_CURRENCY -
CA_CLEARING_AMOUNT_IN_DISPLAY_CRCY
public static final SimpleProperty.NumericDecimal<BusPartInvoice> CA_CLEARING_AMOUNT_IN_DISPLAY_CRCY -
TO_PARAMETERS
public static final NavigationProperty.Single<BusPartInvoice,BusPartInvoiceParameters> TO_PARAMETERSUse with available request builders to apply the Parameters navigation property to query operations. -
TO__BUS_PART_INVOICE_CORRESPNC
public static final NavigationProperty.Collection<BusPartInvoice,BusPartInvoiceCorrespnc> TO__BUS_PART_INVOICE_CORRESPNCUse with available request builders to apply the _BusPartInvoiceCorrespnc navigation property to query operations.
-
-
Constructor Details
-
BusPartInvoice
public BusPartInvoice() -
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)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BusPartInvoice>
-
setCADocumentContainerUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CADocumentContainerUUID
- Parameters:
cADocumentContainerUUID- Document Container ID
-
setCADocContainerInvoiceStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CADocContainerInvoiceStatus
- Parameters:
cADocContainerInvoiceStatus- Invoice Status
-
setCADocContainerInvoiceStatusTxt
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CADocContainerInvoiceStatusTxt
- Parameters:
cADocContainerInvoiceStatusTxt- Description for Status of Invoice
-
setCADocumentContainerRefType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CADocumentContainerRefType
- Parameters:
cADocumentContainerRefType- Document Container - Reference Type
-
setCADocumentContainerRefTypeText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CADocumentContainerRefTypeText
- Parameters:
cADocumentContainerRefTypeText- Reference Type of Document Conainer Text
-
setCADocumentContainerReference
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CADocumentContainerReference
- Parameters:
cADocumentContainerReference- Document Container - Identification for Reference Category
-
setCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Parameters:
creationDate- Day On Which Accounting Document Was Entered
-
setCreationTime
Constraints: Not nullableOriginal property name from the Odata EDM: CreationTime
- Parameters:
creationTime- Time of Entry
-
setDisplayCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DisplayCurrency
- Parameters:
displayCurrency- Currency Key
-
setCAInvoiceAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy
- Parameters:
cAInvoiceAmountInDisplayCrcy- The cAInvoiceAmountInDisplayCrcy to set.
-
setOpenAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: OpenAmountInDisplayCrcy
- Parameters:
openAmountInDisplayCrcy- The openAmountInDisplayCrcy to set.
-
setCashDiscountAmountInDspCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CashDiscountAmountInDspCrcy
- Parameters:
cashDiscountAmountInDspCrcy- The cashDiscountAmountInDspCrcy to set.
-
setCAEligibleAmountForCshDiscInDC
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC
- Parameters:
cAEligibleAmountForCshDiscInDC- The cAEligibleAmountForCshDiscInDC to set.
-
setCAReleasedAmtInDisplayCurrency
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency
- Parameters:
cAReleasedAmtInDisplayCurrency- The cAReleasedAmtInDisplayCurrency to set.
-
setCAClearingAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy
- Parameters:
cAClearingAmountInDisplayCrcy- The cAClearingAmountInDisplayCrcy to set.
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BusPartInvoice>
-
getKey
- Overrides:
getKeyin classVdmObject<BusPartInvoice>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BusPartInvoice>
-
fromMap
- Overrides:
fromMapin classVdmObject<BusPartInvoice>
-
getParametersIfPresent
Retrieval of associated BusPartInvoiceParameters entity (one to one). This corresponds to the OData navigation property Parameters.If the navigation property for an entity BusPartInvoice has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property Parameters is already loaded, the result will contain
the BusPartInvoiceParameters entity. If not, an
Optionwith result stateemptyis returned.
-
setParameters
Overwrites the associated BusPartInvoiceParameters entity for the loaded navigation property Parameters.- Parameters:
value- New BusPartInvoiceParameters entity.
-
getBusPartInvoiceCorrespncIfPresent
@Nonnull public io.vavr.control.Option<List<BusPartInvoiceCorrespnc>> getBusPartInvoiceCorrespncIfPresent()Retrieval of associated BusPartInvoiceCorrespnc entities (one to many). This corresponds to the OData navigation property _BusPartInvoiceCorrespnc.If the navigation property for an entity BusPartInvoice has not been resolved yet, this method will not query further information. Instead its
Optionresult state will beempty.- Returns:
- If the information for navigation property _BusPartInvoiceCorrespnc is already loaded, the result
will contain the BusPartInvoiceCorrespnc entities. If not, an
Optionwith result stateemptyis returned.
-
setBusPartInvoiceCorrespnc
Overwrites the list of associated BusPartInvoiceCorrespnc entities for the loaded navigation property _BusPartInvoiceCorrespnc.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.
- Parameters:
value- List of BusPartInvoiceCorrespnc entities.
-
addBusPartInvoiceCorrespnc
Adds elements to the list of associated BusPartInvoiceCorrespnc entities. This corresponds to the OData navigation property _BusPartInvoiceCorrespnc.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.
- Parameters:
entity- Array of BusPartInvoiceCorrespnc entities.
-
builder
-
getCADocumentContainerUUID
(Key Field) Constraints: Not nullableOriginal property name from the Odata EDM: CADocumentContainerUUID
- Returns:
- Document Container ID
-
getCADocContainerInvoiceStatus
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CADocContainerInvoiceStatus
- Returns:
- Invoice Status
-
getCADocContainerInvoiceStatusTxt
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: CADocContainerInvoiceStatusTxt
- Returns:
- Description for Status of Invoice
-
getCADocumentContainerRefType
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CADocumentContainerRefType
- Returns:
- Document Container - Reference Type
-
getCADocumentContainerRefTypeText
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CADocumentContainerRefTypeText
- Returns:
- Reference Type of Document Conainer Text
-
getCADocumentContainerReference
Constraints: Not nullable, Maximum length: 50Original property name from the Odata EDM: CADocumentContainerReference
- Returns:
- Document Container - Identification for Reference Category
-
getCreationDate
Constraints: NullableOriginal property name from the Odata EDM: CreationDate
- Returns:
- Day On Which Accounting Document Was Entered
-
getCreationTime
Constraints: Not nullableOriginal property name from the Odata EDM: CreationTime
- Returns:
- Time of Entry
-
getDisplayCurrency
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: DisplayCurrency
- Returns:
- Currency Key
-
getCAInvoiceAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAInvoiceAmountInDisplayCrcy
- Returns:
- The cAInvoiceAmountInDisplayCrcy contained in this
VdmEntity.
-
getOpenAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: OpenAmountInDisplayCrcy
- Returns:
- The openAmountInDisplayCrcy contained in this
VdmEntity.
-
getCashDiscountAmountInDspCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CashDiscountAmountInDspCrcy
- Returns:
- The cashDiscountAmountInDspCrcy contained in this
VdmEntity.
-
getCAEligibleAmountForCshDiscInDC
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAEligibleAmountForCshDiscInDC
- Returns:
- The cAEligibleAmountForCshDiscInDC contained in this
VdmEntity.
-
getCAReleasedAmtInDisplayCurrency
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAReleasedAmtInDisplayCurrency
- Returns:
- The cAReleasedAmtInDisplayCurrency contained in this
VdmEntity.
-
getCAClearingAmountInDisplayCrcy
Constraints: Not nullable, Precision: 23, Scale: 0Original property name from the Odata EDM: CAClearingAmountInDisplayCrcy
- Returns:
- The cAClearingAmountInDisplayCrcy contained in this
VdmEntity.
-
toString
- Overrides:
toStringin classVdmObject<BusPartInvoice>
-
equals
- Overrides:
equalsin classVdmEntity<BusPartInvoice>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BusPartInvoice>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BusPartInvoice>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<BusPartInvoice>
-