Class SrvcContrItmBillgReqItem
- All Implemented Interfaces:
VdmEntitySet
Original entity name from the Odata EDM: SrvcContrItmBillgReqItem_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SrvcContrItmBillgReqItem instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SimpleProperty<SrvcContrItmBillgReqItem>Selector for all available fields of SrvcContrItmBillgReqItem.static final SimpleProperty.DateTime<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.NumericDecimal<SrvcContrItmBillgReqItem>static final SimpleProperty.Date<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.String<SrvcContrItmBillgReqItem>static final SimpleProperty.DateTime<SrvcContrItmBillgReqItem>static final SimpleProperty.DateTime<SrvcContrItmBillgReqItem>static final SimpleProperty.DateTime<SrvcContrItmBillgReqItem>Use with available request builders to apply the _Item navigation property to query operations.Use with available request builders to apply the _PricingElement navigation property to query operations.static final NavigationProperty.Single<SrvcContrItmBillgReqItem,ServiceContract> Use with available request builders to apply the _ServiceContract navigation property to query operations.static final SimpleProperty.String<SrvcContrItmBillgReqItem>Fields inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmObject
changedOriginalFields, ODATA_TYPE_ANNOTATIONS, ODATA_VERSION_ANNOTATIONS -
Constructor Summary
ConstructorsConstructorDescriptionSrvcContrItmBillgReqItem(String serviceContract, String serviceContractItem, String billingRequestItem, String billgReqItemDescription, OffsetDateTime billgReqItemBillingDateTime, String billgReqItemBillingStatus, OffsetDateTime settlementStartDateTime, OffsetDateTime settlementEndDateTime, String billingPlanTimeZone, String transactionCurrency, BigDecimal billgReqItemNetAmount, String billingBlockReason, OffsetDateTime servicesRenderedDateTime, LocalDate billgReqItemPricingDate, ServiceContractItem to_Item, List<SrvcContrBillgReqItmPrcElm> to_PricingElement, ServiceContract to_ServiceContract) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPricingElement(SrvcContrBillgReqItmPrcElm... entity) Adds elements to the list of associated SrvcContrBillgReqItmPrcElm entities.builder()protected booleanbooleanprotected voidConstraints: NullableConstraints: Not nullable, Maximum length: 1Constraints: Not nullable, Maximum length: 40Constraints: Not nullable, Precision: 15, Scale: 0Constraints: NullableConstraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 6(Key Field) Constraints: Not nullable, Maximum length: 6protected Stringprotected Stringio.vavr.control.Option<ServiceContractItem>Retrieval of associated ServiceContractItem entity (one to one).protected ODataEntityKeygetKey()io.vavr.control.Option<List<SrvcContrBillgReqItmPrcElm>>Retrieval of associated SrvcContrBillgReqItmPrcElm entities (one to many).(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<ServiceContract>Retrieval of associated ServiceContract entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 6Constraints: NullableConstraints: NullableConstraints: NullableConstraints: Not nullable, Maximum length: 3getType()inthashCode()voidsetBillgReqItemBillingDateTime(OffsetDateTime billgReqItemBillingDateTime) Constraints: NullablevoidsetBillgReqItemBillingStatus(String billgReqItemBillingStatus) Constraints: Not nullable, Maximum length: 1voidsetBillgReqItemDescription(String billgReqItemDescription) Constraints: Not nullable, Maximum length: 40voidsetBillgReqItemNetAmount(BigDecimal billgReqItemNetAmount) Constraints: Not nullable, Precision: 15, Scale: 0voidsetBillgReqItemPricingDate(LocalDate billgReqItemPricingDate) Constraints: NullablevoidsetBillingBlockReason(String billingBlockReason) Constraints: Not nullable, Maximum length: 2voidsetBillingPlanTimeZone(String billingPlanTimeZone) Constraints: Not nullable, Maximum length: 6voidsetBillingRequestItem(String billingRequestItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetItem(ServiceContractItem value) Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.voidOverwrites the list of associated SrvcContrBillgReqItmPrcElm entities for the loaded navigation property _PricingElement.voidOverwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.voidsetServiceContract(String serviceContract) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetServiceContractItem(String serviceContractItem) (Key Field) Constraints: Not nullable, Maximum length: 6voidsetServicesRenderedDateTime(OffsetDateTime servicesRenderedDateTime) Constraints: NullablevoidsetSettlementEndDateTime(OffsetDateTime settlementEndDateTime) Constraints: NullablevoidsetSettlementStartDateTime(OffsetDateTime settlementStartDateTime) Constraints: NullablevoidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 3toString()Methods inherited from class com.sap.cloud.sdk.datamodel.odatav4.core.VdmEntity
all, attachToService, 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 SrvcContrItmBillgReqItem. -
SERVICE_CONTRACT
-
SERVICE_CONTRACT_ITEM
-
BILLING_REQUEST_ITEM
-
BILLG_REQ_ITEM_DESCRIPTION
-
BILLG_REQ_ITEM_BILLING_DATE_TIME
public static final SimpleProperty.DateTime<SrvcContrItmBillgReqItem> BILLG_REQ_ITEM_BILLING_DATE_TIME -
BILLG_REQ_ITEM_BILLING_STATUS
-
SETTLEMENT_START_DATE_TIME
-
SETTLEMENT_END_DATE_TIME
-
BILLING_PLAN_TIME_ZONE
-
TRANSACTION_CURRENCY
-
BILLG_REQ_ITEM_NET_AMOUNT
public static final SimpleProperty.NumericDecimal<SrvcContrItmBillgReqItem> BILLG_REQ_ITEM_NET_AMOUNT -
BILLING_BLOCK_REASON
-
SERVICES_RENDERED_DATE_TIME
-
BILLG_REQ_ITEM_PRICING_DATE
-
TO__ITEM
public static final NavigationProperty.Single<SrvcContrItmBillgReqItem,ServiceContractItem> TO__ITEMUse with available request builders to apply the _Item navigation property to query operations. -
TO__PRICING_ELEMENT
public static final NavigationProperty.Collection<SrvcContrItmBillgReqItem,SrvcContrBillgReqItmPrcElm> TO__PRICING_ELEMENTUse with available request builders to apply the _PricingElement navigation property to query operations. -
TO__SERVICE_CONTRACT
public static final NavigationProperty.Single<SrvcContrItmBillgReqItem,ServiceContract> TO__SERVICE_CONTRACTUse with available request builders to apply the _ServiceContract navigation property to query operations.
-
-
Constructor Details
-
SrvcContrItmBillgReqItem
public SrvcContrItmBillgReqItem() -
SrvcContrItmBillgReqItem
public SrvcContrItmBillgReqItem(@Nullable String serviceContract, @Nullable String serviceContractItem, @Nullable String billingRequestItem, @Nullable String billgReqItemDescription, @Nullable OffsetDateTime billgReqItemBillingDateTime, @Nullable String billgReqItemBillingStatus, @Nullable OffsetDateTime settlementStartDateTime, @Nullable OffsetDateTime settlementEndDateTime, @Nullable String billingPlanTimeZone, @Nullable String transactionCurrency, @Nullable BigDecimal billgReqItemNetAmount, @Nullable String billingBlockReason, @Nullable OffsetDateTime servicesRenderedDateTime, @Nullable LocalDate billgReqItemPricingDate, @Nullable ServiceContractItem to_Item, List<SrvcContrBillgReqItmPrcElm> to_PricingElement, @Nullable ServiceContract to_ServiceContract)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SrvcContrItmBillgReqItem>
-
setServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Parameters:
serviceContract- Transaction ID
-
setServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- Parameters:
serviceContractItem- 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
-
setBillgReqItemDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BillgReqItemDescription
- Parameters:
billgReqItemDescription- Description
-
setBillgReqItemBillingDateTime
Constraints: NullableOriginal property name from the Odata EDM: BillgReqItemBillingDateTime
- Parameters:
billgReqItemBillingDateTime- Billing Date for Billing Index and Printout
-
setBillgReqItemBillingStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillgReqItemBillingStatus
- Parameters:
billgReqItemBillingStatus- Settlement Status of Billing Request Line
-
setSettlementStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: SettlementStartDateTime
- Parameters:
settlementStartDateTime- Start of Settlement for Period
-
setSettlementEndDateTime
Constraints: NullableOriginal 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: 3Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- Currency
-
setBillgReqItemNetAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: BillgReqItemNetAmount
- Parameters:
billgReqItemNetAmount- Net Value
-
setBillingBlockReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingBlockReason
- Parameters:
billingBlockReason- Business Partner: Billing Block Reason
-
setServicesRenderedDateTime
Constraints: NullableOriginal property name from the Odata EDM: ServicesRenderedDateTime
- Parameters:
servicesRenderedDateTime- Services Rendered Date as Timestamp
-
setBillgReqItemPricingDate
Constraints: NullableOriginal property name from the Odata EDM: BillgReqItemPricingDate
- Parameters:
billgReqItemPricingDate- Pricing Date
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SrvcContrItmBillgReqItem>
-
getKey
- Overrides:
getKeyin classVdmObject<SrvcContrItmBillgReqItem>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SrvcContrItmBillgReqItem>
-
fromMap
- Overrides:
fromMapin classVdmObject<SrvcContrItmBillgReqItem>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SrvcContrItmBillgReqItem>
-
getItemIfPresent
Retrieval of associated ServiceContractItem entity (one to one). This corresponds to the OData navigation property _Item.If the navigation property for an entity SrvcContrItmBillgReqItem 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 _Item is already loaded, the result will contain the
ServiceContractItem entity. If not, an
Optionwith result stateemptyis returned.
-
setItem
Overwrites the associated ServiceContractItem entity for the loaded navigation property _Item.- Parameters:
value- New ServiceContractItem entity.
-
getPricingElementIfPresent
@Nonnull public io.vavr.control.Option<List<SrvcContrBillgReqItmPrcElm>> getPricingElementIfPresent()Retrieval of associated SrvcContrBillgReqItmPrcElm entities (one to many). This corresponds to the OData navigation property _PricingElement.If the navigation property for an entity SrvcContrItmBillgReqItem 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 _PricingElement is already loaded, the result will
contain the SrvcContrBillgReqItmPrcElm entities. If not, an
Optionwith result stateemptyis returned.
-
setPricingElement
Overwrites the list of associated SrvcContrBillgReqItmPrcElm entities for the loaded navigation property _PricingElement.If the navigation property _PricingElement of a queried SrvcContrItmBillgReqItem 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 SrvcContrBillgReqItmPrcElm entities.
-
addPricingElement
Adds elements to the list of associated SrvcContrBillgReqItmPrcElm entities. This corresponds to the OData navigation property _PricingElement.If the navigation property _PricingElement of a queried SrvcContrItmBillgReqItem 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 SrvcContrBillgReqItmPrcElm entities.
-
getServiceContractIfPresent
Retrieval of associated ServiceContract entity (one to one). This corresponds to the OData navigation property _ServiceContract.If the navigation property for an entity SrvcContrItmBillgReqItem 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 _ServiceContract is already loaded, the result will
contain the ServiceContract entity. If not, an
Optionwith result stateemptyis returned.
-
setServiceContract
Overwrites the associated ServiceContract entity for the loaded navigation property _ServiceContract.- Parameters:
value- New ServiceContract entity.
-
builder
-
getServiceContract
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ServiceContract
- Returns:
- Transaction ID
-
getServiceContractItem
(Key Field) Constraints: Not nullable, Maximum length: 6Original property name from the Odata EDM: ServiceContractItem
- 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
-
getBillgReqItemDescription
Constraints: Not nullable, Maximum length: 40Original property name from the Odata EDM: BillgReqItemDescription
- Returns:
- Description
-
getBillgReqItemBillingDateTime
Constraints: NullableOriginal property name from the Odata EDM: BillgReqItemBillingDateTime
- Returns:
- Billing Date for Billing Index and Printout
-
getBillgReqItemBillingStatus
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillgReqItemBillingStatus
- Returns:
- Settlement Status of Billing Request Line
-
getSettlementStartDateTime
Constraints: NullableOriginal property name from the Odata EDM: SettlementStartDateTime
- Returns:
- Start of Settlement for Period
-
getSettlementEndDateTime
Constraints: NullableOriginal 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: 3Original property name from the Odata EDM: TransactionCurrency
- Returns:
- Currency
-
getBillgReqItemNetAmount
Constraints: Not nullable, Precision: 15, Scale: 0Original property name from the Odata EDM: BillgReqItemNetAmount
- Returns:
- Net Value
-
getBillingBlockReason
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingBlockReason
- Returns:
- Business Partner: Billing Block Reason
-
getServicesRenderedDateTime
Constraints: NullableOriginal property name from the Odata EDM: ServicesRenderedDateTime
- Returns:
- Services Rendered Date as Timestamp
-
getBillgReqItemPricingDate
Constraints: NullableOriginal property name from the Odata EDM: BillgReqItemPricingDate
- Returns:
- Pricing Date
-
toString
- Overrides:
toStringin classVdmObject<SrvcContrItmBillgReqItem>
-
equals
- Overrides:
equalsin classVdmEntity<SrvcContrItmBillgReqItem>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SrvcContrItmBillgReqItem>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SrvcContrItmBillgReqItem>
-
getOdataType
- Specified by:
getOdataTypein classVdmObject<SrvcContrItmBillgReqItem>
-