Class BSOrdSrvcContrItmBillgReqItm
Original entity name from the Odata EDM: A_BSOrdSrvcContrItmBillgReqItmType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of BSOrdSrvcContrItmBillgReqItm instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BSOrdSrvcContrItmBillgReqItmSelectableSelector for all available fields of BSOrdSrvcContrItmBillgReqItm.static final BSOrdSrvcContrItmBillgReqItmField<ZonedDateTime>Use with available fluent helpers to apply the BillgReqItemBillingDateTime field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<BigDecimal>Use with available fluent helpers to apply the BillgReqItemNetAmount field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<String>Use with available fluent helpers to apply the BillingPlanTimeZone field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<String>Use with available fluent helpers to apply the BillingRequestItem field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<String>Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<String>Use with available fluent helpers to apply the BusinessSolutionOrderItem field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<ZonedDateTime>Use with available fluent helpers to apply the SettlementEndDateTime field to query operations.static final BSOrdSrvcContrItmBillgReqItmField<ZonedDateTime>Use with available fluent helpers to apply the SettlementStartDateTime field to query operations.static final BSOrdSrvcContrItmBillgReqItmLink<BusSolnOrdBillgReqItmPrcElm>Use with available fluent helpers to apply the to_PricingElement navigation property to query operations.Use with available fluent helpers to apply the to_ServiceContractItem navigation property to query operations.static final BSOrdSrvcContrItmBillgReqItmField<String>Use with available fluent helpers to apply the TransactionCurrency field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionBSOrdSrvcContrItmBillgReqItm(String businessSolutionOrder, String businessSolutionOrderItem, String billingRequestItem, ZonedDateTime billgReqItemBillingDateTime, ZonedDateTime settlementStartDateTime, ZonedDateTime settlementEndDateTime, String billingPlanTimeZone, String transactionCurrency, BigDecimal billgReqItemNetAmount, List<BusSolnOrdBillgReqItmPrcElm> toPricingElement, BusSolnOrdSrvcContractItem toServiceContractItem) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPricingElement(BusSolnOrdBillgReqItmPrcElm... entity) Adds elements to the list of associated BusSolnOrdBillgReqItmPrcElm entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the BusSolnOrdBillgReqItmPrcElm entities (one to many) associated with this entity.Fetches the BusSolnOrdSrvcContractItem entity (one to one) associated with this entity.static <T,DomainT>
BSOrdSrvcContrItmBillgReqItmField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> BSOrdSrvcContrItmBillgReqItmField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 16, Scale: 3Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 6protected Stringprotected StringgetKey()io.vavr.control.Option<List<BusSolnOrdBillgReqItmPrcElm>>Retrieval of associated BusSolnOrdBillgReqItmPrcElm entities (one to many).Retrieval of associated BusSolnOrdBillgReqItmPrcElm entities (one to many).io.vavr.control.Option<BusSolnOrdSrvcContractItem>Retrieval of associated BusSolnOrdSrvcContractItem entity (one to one).Retrieval of associated BusSolnOrdSrvcContractItem entity (one to one).Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 5getType()inthashCode()voidsetBillgReqItemBillingDateTime(ZonedDateTime billgReqItemBillingDateTime) Constraints: Not nullable, Precision: 0voidsetBillgReqItemNetAmount(BigDecimal billgReqItemNetAmount) Constraints: Not nullable, Precision: 16, Scale: 3voidsetBillingPlanTimeZone(String billingPlanTimeZone) Constraints: Not nullable, Maximum length: 6voidsetBillingRequestItem(String billingRequestItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetBusinessSolutionOrder(String businessSolutionOrder) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetBusinessSolutionOrderItem(String businessSolutionOrderItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidOverwrites the list of associated BusSolnOrdBillgReqItmPrcElm entities for the loaded navigation property to_PricingElement.voidOverwrites the associated BusSolnOrdSrvcContractItem entity for the loaded navigation property to_ServiceContractItem.protected voidsetServicePathForFetch(String servicePathForFetch) voidsetSettlementEndDateTime(ZonedDateTime settlementEndDateTime) Constraints: Not nullable, Precision: 0voidsetSettlementStartDateTime(ZonedDateTime settlementStartDateTime) Constraints: Not nullable, Precision: 0voidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 5toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmEntity
fetchFieldAsList, fetchFieldAsSingle, getServicePathForFetch, getVersionIdentifier, setDestinationForFetch, setVersionIdentifierMethods inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
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 BSOrdSrvcContrItmBillgReqItm. -
BUSINESS_SOLUTION_ORDER
Use with available fluent helpers to apply the BusinessSolutionOrder field to query operations. -
BUSINESS_SOLUTION_ORDER_ITEM
Use with available fluent helpers to apply the BusinessSolutionOrderItem field to query operations. -
BILLING_REQUEST_ITEM
Use with available fluent helpers to apply the BillingRequestItem field to query operations. -
BILLG_REQ_ITEM_BILLING_DATE_TIME
public static final BSOrdSrvcContrItmBillgReqItmField<ZonedDateTime> BILLG_REQ_ITEM_BILLING_DATE_TIMEUse with available fluent helpers to apply the BillgReqItemBillingDateTime field to query operations. -
SETTLEMENT_START_DATE_TIME
Use with available fluent helpers to apply the SettlementStartDateTime field to query operations. -
SETTLEMENT_END_DATE_TIME
Use with available fluent helpers to apply the SettlementEndDateTime field to query operations. -
BILLING_PLAN_TIME_ZONE
Use with available fluent helpers to apply the BillingPlanTimeZone field to query operations. -
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations. -
BILLG_REQ_ITEM_NET_AMOUNT
Use with available fluent helpers to apply the BillgReqItemNetAmount field to query operations. -
TO_PRICING_ELEMENT
public static final BSOrdSrvcContrItmBillgReqItmLink<BusSolnOrdBillgReqItmPrcElm> TO_PRICING_ELEMENTUse with available fluent helpers to apply the to_PricingElement navigation property to query operations. -
TO_SERVICE_CONTRACT_ITEM
public static final BSOrdSrvcContrItmBillgReqItmOneToOneLink<BusSolnOrdSrvcContractItem> TO_SERVICE_CONTRACT_ITEMUse with available fluent helpers to apply the to_ServiceContractItem navigation property to query operations.
-
-
Constructor Details
-
BSOrdSrvcContrItmBillgReqItm
public BSOrdSrvcContrItmBillgReqItm() -
BSOrdSrvcContrItmBillgReqItm
public BSOrdSrvcContrItmBillgReqItm(@Nullable String businessSolutionOrder, @Nullable String businessSolutionOrderItem, @Nullable String billingRequestItem, @Nullable ZonedDateTime billgReqItemBillingDateTime, @Nullable ZonedDateTime settlementStartDateTime, @Nullable ZonedDateTime settlementEndDateTime, @Nullable String billingPlanTimeZone, @Nullable String transactionCurrency, @Nullable BigDecimal billgReqItemNetAmount, List<BusSolnOrdBillgReqItmPrcElm> toPricingElement, @Nullable BusSolnOrdSrvcContractItem toServiceContractItem)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<BSOrdSrvcContrItmBillgReqItm>
-
setBusinessSolutionOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessSolutionOrder
- Parameters:
businessSolutionOrder- Transaction ID
-
setBusinessSolutionOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BusinessSolutionOrderItem
- Parameters:
businessSolutionOrderItem- Shortened Item Number in Document
-
setBillingRequestItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BillingRequestItem
- Parameters:
billingRequestItem- Billing Request Item No
-
setBillgReqItemBillingDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillgReqItemBillingDateTime
- Parameters:
billgReqItemBillingDateTime- Billing Date for Billing Index and Printout
-
setSettlementStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SettlementStartDateTime
- Parameters:
settlementStartDateTime- Start of Settlement for Period
-
setSettlementEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SettlementEndDateTime
- Parameters:
settlementEndDateTime- End of Settlement for Period
-
setBillingPlanTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BillingPlanTimeZone
- Parameters:
billingPlanTimeZone- Time Zone of Billing Plan Set
-
setTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- Currency
-
setBillgReqItemNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: BillgReqItemNetAmount
- Parameters:
billgReqItemNetAmount- Net Value
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
getKey
- Overrides:
getKeyin classVdmObject<BSOrdSrvcContrItmBillgReqItm>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<BSOrdSrvcContrItmBillgReqItm>
-
fromMap
- Overrides:
fromMapin classVdmObject<BSOrdSrvcContrItmBillgReqItm>
-
field
@Nonnull public static <T> BSOrdSrvcContrItmBillgReqItmField<T> field(@Nonnull String fieldName, @Nonnull Class<T> fieldType) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.- Parameters:
fieldName- The name of the extension field as returned by the OData service.fieldType- The Java type to use for the extension field when performing value comparisons.- Returns:
- A representation of an extension field from this entity.
-
field
@Nonnull public static <T,DomainT> BSOrdSrvcContrItmBillgReqItmField<T> field(@Nonnull String fieldName, @Nonnull TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.- Type Parameters:
T- The type of the extension field when performing value comparisons.DomainT- The type of the extension field as returned by the OData service.- Parameters:
typeConverter- A TypeConverter<T, DomainT> instance whose first generic type matches the Java type of the fieldfieldName- The name of the extension field as returned by the OData service.- Returns:
- A representation of an extension field from this entity, holding a reference to the given TypeConverter.
-
getDestinationForFetch
- Overrides:
getDestinationForFetchin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
fetchPricingElement
Fetches the BusSolnOrdBillgReqItmPrcElm entities (one to many) associated with this entity. This corresponds to the OData navigation property to_PricingElement.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated BusSolnOrdBillgReqItmPrcElm entities. If no entities are associated then an empty list is returned.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPricingElementOrFetch
Retrieval of associated BusSolnOrdBillgReqItmPrcElm entities (one to many). This corresponds to the OData navigation property to_PricingElement.If the navigation property to_PricingElement of a queried BSOrdSrvcContrItmBillgReqItm 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.
- Returns:
- List of associated BusSolnOrdBillgReqItmPrcElm entities.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getPricingElementIfPresent
@Nonnull public io.vavr.control.Option<List<BusSolnOrdBillgReqItmPrcElm>> getPricingElementIfPresent()Retrieval of associated BusSolnOrdBillgReqItmPrcElm entities (one to many). This corresponds to the OData navigation property to_PricingElement.If the navigation property for an entity BSOrdSrvcContrItmBillgReqItm 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 to_PricingElement is already loaded, the result will
contain the BusSolnOrdBillgReqItmPrcElm entities. If not, an
Optionwith result stateemptyis returned.
-
setPricingElement
Overwrites the list of associated BusSolnOrdBillgReqItmPrcElm entities for the loaded navigation property to_PricingElement.If the navigation property to_PricingElement of a queried BSOrdSrvcContrItmBillgReqItm 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 BusSolnOrdBillgReqItmPrcElm entities.
-
addPricingElement
Adds elements to the list of associated BusSolnOrdBillgReqItmPrcElm entities. This corresponds to the OData navigation property to_PricingElement.If the navigation property to_PricingElement of a queried BSOrdSrvcContrItmBillgReqItm 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 BusSolnOrdBillgReqItmPrcElm entities.
-
fetchServiceContractItem
Fetches the BusSolnOrdSrvcContractItem entity (one to one) associated with this entity. This corresponds to the OData navigation property to_ServiceContractItem.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated BusSolnOrdSrvcContractItem entity, or
nullif an entity is not associated. - Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getServiceContractItemOrFetch
Retrieval of associated BusSolnOrdSrvcContractItem entity (one to one). This corresponds to the OData navigation property to_ServiceContractItem.If the navigation property to_ServiceContractItem of a queried BSOrdSrvcContrItmBillgReqItm 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.
- Returns:
- List of associated BusSolnOrdSrvcContractItem entity.
- Throws:
com.sap.cloud.sdk.datamodel.odata.client.exception.ODataException- If the entity is unmanaged, i.e. it has not been retrieved using the OData VDM's services and therefore has no ERP configuration context assigned. An entity is managed if it has been either retrieved using the VDM's services or returned from the VDM's services as the result of a CREATE or UPDATE call.
-
getServiceContractItemIfPresent
@Nonnull public io.vavr.control.Option<BusSolnOrdSrvcContractItem> getServiceContractItemIfPresent()Retrieval of associated BusSolnOrdSrvcContractItem entity (one to one). This corresponds to the OData navigation property to_ServiceContractItem.If the navigation property for an entity BSOrdSrvcContrItmBillgReqItm 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 to_ServiceContractItem is already loaded, the result
will contain the BusSolnOrdSrvcContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContractItem
Overwrites the associated BusSolnOrdSrvcContractItem entity for the loaded navigation property to_ServiceContractItem.- Parameters:
value- New BusSolnOrdSrvcContractItem entity.
-
builder
-
getBusinessSolutionOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessSolutionOrder
- Returns:
- Transaction ID
-
getBusinessSolutionOrderItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BusinessSolutionOrderItem
- Returns:
- Shortened Item Number in Document
-
getBillingRequestItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BillingRequestItem
- Returns:
- Billing Request Item No
-
getBillgReqItemBillingDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillgReqItemBillingDateTime
- Returns:
- Billing Date for Billing Index and Printout
-
getSettlementStartDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SettlementStartDateTime
- Returns:
- Start of Settlement for Period
-
getSettlementEndDateTime
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: SettlementEndDateTime
- Returns:
- End of Settlement for Period
-
getBillingPlanTimeZone
Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: BillingPlanTimeZone
- Returns:
- Time Zone of Billing Plan Set
-
getTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Returns:
- Currency
-
getBillgReqItemNetAmount
Constraints: Not nullable, Precision: 16, Scale: 3Original property name from the Odata EDM: BillgReqItemNetAmount
- Returns:
- Net Value
-
toString
- Overrides:
toStringin classVdmObject<BSOrdSrvcContrItmBillgReqItm>
-
equals
- Overrides:
equalsin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
canEqual
- Overrides:
canEqualin classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<BSOrdSrvcContrItmBillgReqItm>
-