Class SalesOrderBillingPlan
Original entity name from the Odata EDM: A_SalesOrderBillingPlanType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of SalesOrderBillingPlan instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SalesOrderBillingPlanSelectableSelector for all available fields of SalesOrderBillingPlan.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlan field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlanCategory field to query operations.static final SalesOrderBillingPlanField<LocalDateTime>Use with available fluent helpers to apply the BillingPlanEndDate field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlanEndDateRule field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlanSearchTerm field to query operations.static final SalesOrderBillingPlanField<LocalDateTime>Use with available fluent helpers to apply the BillingPlanStartDate field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlanStartDateRule field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the BillingPlanType field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the ReferenceBillingPlan field to query operations.static final SalesOrderBillingPlanField<String>Use with available fluent helpers to apply the SalesOrder field to query operations.static final SalesOrderBillingPlanLink<SalesOrderBillingPlanItem>Use with available fluent helpers to apply the to_BillingPlanItem navigation property to query operations.static final SalesOrderBillingPlanOneToOneLink<SalesOrder>Use with available fluent helpers to apply the to_SalesOrder navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionSalesOrderBillingPlan(String salesOrder, String billingPlan, LocalDateTime billingPlanStartDate, String billingPlanStartDateRule, String referenceBillingPlan, String billingPlanCategory, String billingPlanType, LocalDateTime billingPlanEndDate, String billingPlanEndDateRule, String billingPlanSearchTerm, List<SalesOrderBillingPlanItem> toBillingPlanItem, SalesOrder toSalesOrder) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBillingPlanItem(SalesOrderBillingPlanItem... entity) Adds elements to the list of associated SalesOrderBillingPlanItem entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the SalesOrderBillingPlanItem entities (one to many) associated with this entity.Fetches the SalesOrder entity (one to one) associated with this entity.static <T,DomainT>
SalesOrderBillingPlanField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> SalesOrderBillingPlanField<T>Use with available fluent helpers to apply an extension field to query operations.protected void(Key Field) Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 1Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<List<SalesOrderBillingPlanItem>>Retrieval of associated SalesOrderBillingPlanItem entities (one to many).Retrieval of associated SalesOrderBillingPlanItem entities (one to many).Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 2Constraints: Not nullable, Maximum length: 2protected Stringprotected StringgetKey()Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<SalesOrder>Retrieval of associated SalesOrder entity (one to one).Retrieval of associated SalesOrder entity (one to one).getType()inthashCode()voidsetBillingPlan(String billingPlan) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetBillingPlanCategory(String billingPlanCategory) Constraints: Not nullable, Maximum length: 1voidsetBillingPlanEndDate(LocalDateTime billingPlanEndDate) Constraints: Not nullable, Precision: 0voidsetBillingPlanEndDateRule(String billingPlanEndDateRule) Constraints: Not nullable, Maximum length: 2voidOverwrites the list of associated SalesOrderBillingPlanItem entities for the loaded navigation property to_BillingPlanItem.voidsetBillingPlanSearchTerm(String billingPlanSearchTerm) Constraints: Not nullable, Maximum length: 10voidsetBillingPlanStartDate(LocalDateTime billingPlanStartDate) Constraints: Not nullable, Precision: 0voidsetBillingPlanStartDateRule(String billingPlanStartDateRule) Constraints: Not nullable, Maximum length: 2voidsetBillingPlanType(String billingPlanType) Constraints: Not nullable, Maximum length: 2voidsetReferenceBillingPlan(String referenceBillingPlan) Constraints: Not nullable, Maximum length: 10voidsetSalesOrder(SalesOrder value) Overwrites the associated SalesOrder entity for the loaded navigation property to_SalesOrder.voidsetSalesOrder(String salesOrder) (Key Field) Constraints: Not nullable, Maximum length: 10protected voidsetServicePathForFetch(String servicePathForFetch) toString()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 SalesOrderBillingPlan. -
SALES_ORDER
Use with available fluent helpers to apply the SalesOrder field to query operations. -
BILLING_PLAN
Use with available fluent helpers to apply the BillingPlan field to query operations. -
BILLING_PLAN_START_DATE
Use with available fluent helpers to apply the BillingPlanStartDate field to query operations. -
BILLING_PLAN_START_DATE_RULE
Use with available fluent helpers to apply the BillingPlanStartDateRule field to query operations. -
REFERENCE_BILLING_PLAN
Use with available fluent helpers to apply the ReferenceBillingPlan field to query operations. -
BILLING_PLAN_CATEGORY
Use with available fluent helpers to apply the BillingPlanCategory field to query operations. -
BILLING_PLAN_TYPE
Use with available fluent helpers to apply the BillingPlanType field to query operations. -
BILLING_PLAN_END_DATE
Use with available fluent helpers to apply the BillingPlanEndDate field to query operations. -
BILLING_PLAN_END_DATE_RULE
Use with available fluent helpers to apply the BillingPlanEndDateRule field to query operations. -
BILLING_PLAN_SEARCH_TERM
Use with available fluent helpers to apply the BillingPlanSearchTerm field to query operations. -
TO_BILLING_PLAN_ITEM
Use with available fluent helpers to apply the to_BillingPlanItem navigation property to query operations. -
TO_SALES_ORDER
Use with available fluent helpers to apply the to_SalesOrder navigation property to query operations.
-
-
Constructor Details
-
SalesOrderBillingPlan
public SalesOrderBillingPlan() -
SalesOrderBillingPlan
public SalesOrderBillingPlan(@Nullable String salesOrder, @Nullable String billingPlan, @Nullable LocalDateTime billingPlanStartDate, @Nullable String billingPlanStartDateRule, @Nullable String referenceBillingPlan, @Nullable String billingPlanCategory, @Nullable String billingPlanType, @Nullable LocalDateTime billingPlanEndDate, @Nullable String billingPlanEndDateRule, @Nullable String billingPlanSearchTerm, List<SalesOrderBillingPlanItem> toBillingPlanItem, @Nullable SalesOrder toSalesOrder)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<SalesOrderBillingPlan>
-
setSalesOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Parameters:
salesOrder- Sales Order
-
setBillingPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillingPlan
- Parameters:
billingPlan- Billing Plan Number / Invoicing Plan Number
-
setBillingPlanStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillingPlanStartDate
- Parameters:
billingPlanStartDate- Start Date for Billing Plan/Invoice Plan
-
setBillingPlanStartDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanStartDateRule
- Parameters:
billingPlanStartDateRule- Rule for Origin of Start Date of Billing/Invoicing Plan
-
setReferenceBillingPlan
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceBillingPlan
- Parameters:
referenceBillingPlan- Reference Billing Plan Number / Invoicing Plan Number
-
setBillingPlanCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillingPlanCategory
- Parameters:
billingPlanCategory- Billing plan category
-
setBillingPlanType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanType
- Parameters:
billingPlanType- Billing/Invoicing Plan Type
-
setBillingPlanEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillingPlanEndDate
- Parameters:
billingPlanEndDate- End Date Billing Plan/Invoice Plan
-
setBillingPlanEndDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanEndDateRule
- Parameters:
billingPlanEndDateRule- Rule for Origin of End Date for Billing/Invoicing Plan
-
setBillingPlanSearchTerm
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillingPlanSearchTerm
- Parameters:
billingPlanSearchTerm- Sort Field
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<SalesOrderBillingPlan>
-
getKey
- Overrides:
getKeyin classVdmObject<SalesOrderBillingPlan>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<SalesOrderBillingPlan>
-
fromMap
- Overrides:
fromMapin classVdmObject<SalesOrderBillingPlan>
-
field
@Nonnull public static <T> SalesOrderBillingPlanField<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> SalesOrderBillingPlanField<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<SalesOrderBillingPlan>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<SalesOrderBillingPlan>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<SalesOrderBillingPlan>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<SalesOrderBillingPlan>
-
fetchBillingPlanItem
Fetches the SalesOrderBillingPlanItem entities (one to many) associated with this entity. This corresponds to the OData navigation property to_BillingPlanItem.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated SalesOrderBillingPlanItem 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.
-
getBillingPlanItemOrFetch
Retrieval of associated SalesOrderBillingPlanItem entities (one to many). This corresponds to the OData navigation property to_BillingPlanItem.If the navigation property to_BillingPlanItem of a queried SalesOrderBillingPlan 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 SalesOrderBillingPlanItem 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.
-
getBillingPlanItemIfPresent
@Nonnull public io.vavr.control.Option<List<SalesOrderBillingPlanItem>> getBillingPlanItemIfPresent()Retrieval of associated SalesOrderBillingPlanItem entities (one to many). This corresponds to the OData navigation property to_BillingPlanItem.If the navigation property for an entity SalesOrderBillingPlan 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_BillingPlanItem is already loaded, the result will
contain the SalesOrderBillingPlanItem entities. If not, an
Optionwith result stateemptyis returned.
-
setBillingPlanItem
Overwrites the list of associated SalesOrderBillingPlanItem entities for the loaded navigation property to_BillingPlanItem.If the navigation property to_BillingPlanItem of a queried SalesOrderBillingPlan 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 SalesOrderBillingPlanItem entities.
-
addBillingPlanItem
Adds elements to the list of associated SalesOrderBillingPlanItem entities. This corresponds to the OData navigation property to_BillingPlanItem.If the navigation property to_BillingPlanItem of a queried SalesOrderBillingPlan 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 SalesOrderBillingPlanItem entities.
-
fetchSalesOrder
Fetches the SalesOrder entity (one to one) associated with this entity. This corresponds to the OData navigation property to_SalesOrder.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated SalesOrder 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.
-
getSalesOrderOrFetch
Retrieval of associated SalesOrder entity (one to one). This corresponds to the OData navigation property to_SalesOrder.If the navigation property to_SalesOrder of a queried SalesOrderBillingPlan 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 SalesOrder 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.
-
getSalesOrderIfPresent
Retrieval of associated SalesOrder entity (one to one). This corresponds to the OData navigation property to_SalesOrder.If the navigation property for an entity SalesOrderBillingPlan 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_SalesOrder is already loaded, the result will
contain the SalesOrder entity. If not, an
Optionwith result stateemptyis returned.
-
setSalesOrder
Overwrites the associated SalesOrder entity for the loaded navigation property to_SalesOrder.- Parameters:
value- New SalesOrder entity.
-
builder
-
getSalesOrder
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: SalesOrder
- Returns:
- Sales Order
-
getBillingPlan
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillingPlan
- Returns:
- Billing Plan Number / Invoicing Plan Number
-
getBillingPlanStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillingPlanStartDate
- Returns:
- Start Date for Billing Plan/Invoice Plan
-
getBillingPlanStartDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanStartDateRule
- Returns:
- Rule for Origin of Start Date of Billing/Invoicing Plan
-
getReferenceBillingPlan
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: ReferenceBillingPlan
- Returns:
- Reference Billing Plan Number / Invoicing Plan Number
-
getBillingPlanCategory
Constraints: Not nullable, Maximum length: 1Original property name from the Odata EDM: BillingPlanCategory
- Returns:
- Billing plan category
-
getBillingPlanType
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanType
- Returns:
- Billing/Invoicing Plan Type
-
getBillingPlanEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: BillingPlanEndDate
- Returns:
- End Date Billing Plan/Invoice Plan
-
getBillingPlanEndDateRule
Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: BillingPlanEndDateRule
- Returns:
- Rule for Origin of End Date for Billing/Invoicing Plan
-
getBillingPlanSearchTerm
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BillingPlanSearchTerm
- Returns:
- Sort Field
-
toString
- Overrides:
toStringin classVdmObject<SalesOrderBillingPlan>
-
equals
- Overrides:
equalsin classVdmEntity<SalesOrderBillingPlan>
-
canEqual
- Overrides:
canEqualin classVdmEntity<SalesOrderBillingPlan>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<SalesOrderBillingPlan>
-