Class CreditMgmtBusinessPartner
Original entity name from the Odata EDM: CreditMgmtBusinessPartnerType
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CreditMgmtBusinessPartner instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CreditMgmtBusinessPartnerSelectableSelector for all available fields of CreditMgmtBusinessPartner.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the BusinessPartner field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CalcdCrdtWorthinessScoreValue field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CalculatedCreditRiskClass field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CrdtMgmtBusinessPartnerGroup field to query operations.static final CreditMgmtBusinessPartnerField<LocalDateTime>Use with available fluent helpers to apply the CrdtWorthinessScoreLastChgDate field to query operations.static final CreditMgmtBusinessPartnerField<LocalDateTime>Use with available fluent helpers to apply the CrdtWrthnssScoreValdtyEndDate field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CreditCheckRule field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CreditRiskClass field to query operations.static final CreditMgmtBusinessPartnerField<LocalDateTime>Use with available fluent helpers to apply the CreditRiskClassLastChangeDate field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CreditScoreAndLimitCalcRule field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CreditWorthinessScoreValue field to query operations.static final CreditMgmtBusinessPartnerField<String>Use with available fluent helpers to apply the CustBusinessRelshpStartYear field to query operations.static final CreditMgmtBusinessPartnerLink<CrdtMgmtBPCollateral>Use with available fluent helpers to apply the to_CrdtMBPCollateralTP navigation property to query operations.static final CreditMgmtBusinessPartnerLink<CrdtMgmtBPCreditInsurance>Use with available fluent helpers to apply the to_CrdtMBPCreditInsuranceTP navigation property to query operations.static final CreditMgmtBusinessPartnerLink<CrdtMgmtBPNegativeEvent>Use with available fluent helpers to apply the to_CrdtMBPNegativeEventTP navigation property to query operations.static final CreditMgmtBusinessPartnerLink<CreditManagementAccount>Use with available fluent helpers to apply the to_CreditMgmtAccountTP navigation property to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCreditMgmtBusinessPartner(String businessPartner, String crdtMgmtBusinessPartnerGroup, String creditWorthinessScoreValue, LocalDateTime crdtWrthnssScoreValdtyEndDate, LocalDateTime crdtWorthinessScoreLastChgDate, String calcdCrdtWorthinessScoreValue, String creditRiskClass, String calculatedCreditRiskClass, LocalDateTime creditRiskClassLastChangeDate, String creditCheckRule, String creditScoreAndLimitCalcRule, String custBusinessRelshpStartYear, List<CrdtMgmtBPCollateral> toCrdtMBPCollateralTP, List<CrdtMgmtBPCreditInsurance> toCrdtMBPCreditInsuranceTP, List<CrdtMgmtBPNegativeEvent> toCrdtMBPNegativeEventTP, List<CreditManagementAccount> toCreditMgmtAccountTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCrdtMBPCollateralTP(CrdtMgmtBPCollateral... entity) Adds elements to the list of associated CrdtMgmtBPCollateral entities.voidAdds elements to the list of associated CrdtMgmtBPCreditInsurance entities.voidaddCrdtMBPNegativeEventTP(CrdtMgmtBPNegativeEvent... entity) Adds elements to the list of associated CrdtMgmtBPNegativeEvent entities.voidaddCreditMgmtAccountTP(CreditManagementAccount... entity) Adds elements to the list of associated CreditManagementAccount entities.voidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CrdtMgmtBPCollateral entities (one to many) associated with this entity.Fetches the CrdtMgmtBPCreditInsurance entities (one to many) associated with this entity.Fetches the CrdtMgmtBPNegativeEvent entities (one to many) associated with this entity.Fetches the CreditManagementAccount entities (one to many) associated with this entity.static <T,DomainT>
CreditMgmtBusinessPartnerField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CreditMgmtBusinessPartnerField<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: 10Constraints: Not nullable, Maximum length: 3io.vavr.control.Option<List<CrdtMgmtBPCollateral>>Retrieval of associated CrdtMgmtBPCollateral entities (one to many).Retrieval of associated CrdtMgmtBPCollateral entities (one to many).io.vavr.control.Option<List<CrdtMgmtBPCreditInsurance>>Retrieval of associated CrdtMgmtBPCreditInsurance entities (one to many).Retrieval of associated CrdtMgmtBPCreditInsurance entities (one to many).io.vavr.control.Option<List<CrdtMgmtBPNegativeEvent>>Retrieval of associated CrdtMgmtBPNegativeEvent entities (one to many).Retrieval of associated CrdtMgmtBPNegativeEvent entities (one to many).Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 10io.vavr.control.Option<List<CreditManagementAccount>>Retrieval of associated CreditManagementAccount entities (one to many).Retrieval of associated CreditManagementAccount entities (one to many).Constraints: Not nullable, Maximum length: 3Constraints: Not nullable, Precision: 0Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 10Constraints: Not nullable, Maximum length: 4protected Stringprotected StringgetKey()getType()inthashCode()voidsetBusinessPartner(String businessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCalcdCrdtWorthinessScoreValue(String calcdCrdtWorthinessScoreValue) Constraints: Not nullable, Maximum length: 10voidsetCalculatedCreditRiskClass(String calculatedCreditRiskClass) Constraints: Not nullable, Maximum length: 3voidOverwrites the list of associated CrdtMgmtBPCollateral entities for the loaded navigation property to_CrdtMBPCollateralTP.voidOverwrites the list of associated CrdtMgmtBPCreditInsurance entities for the loaded navigation property to_CrdtMBPCreditInsuranceTP.voidOverwrites the list of associated CrdtMgmtBPNegativeEvent entities for the loaded navigation property to_CrdtMBPNegativeEventTP.voidsetCrdtMgmtBusinessPartnerGroup(String crdtMgmtBusinessPartnerGroup) Constraints: Not nullable, Maximum length: 4voidsetCrdtWorthinessScoreLastChgDate(LocalDateTime crdtWorthinessScoreLastChgDate) Constraints: Not nullable, Precision: 0voidsetCrdtWrthnssScoreValdtyEndDate(LocalDateTime crdtWrthnssScoreValdtyEndDate) Constraints: Not nullable, Precision: 0voidsetCreditCheckRule(String creditCheckRule) Constraints: Not nullable, Maximum length: 10voidOverwrites the list of associated CreditManagementAccount entities for the loaded navigation property to_CreditMgmtAccountTP.voidsetCreditRiskClass(String creditRiskClass) Constraints: Not nullable, Maximum length: 3voidsetCreditRiskClassLastChangeDate(LocalDateTime creditRiskClassLastChangeDate) Constraints: Not nullable, Precision: 0voidsetCreditScoreAndLimitCalcRule(String creditScoreAndLimitCalcRule) Constraints: Not nullable, Maximum length: 10voidsetCreditWorthinessScoreValue(String creditWorthinessScoreValue) Constraints: Not nullable, Maximum length: 10voidsetCustBusinessRelshpStartYear(String custBusinessRelshpStartYear) Constraints: Not nullable, Maximum length: 4protected 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 CreditMgmtBusinessPartner. -
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations. -
CRDT_MGMT_BUSINESS_PARTNER_GROUP
Use with available fluent helpers to apply the CrdtMgmtBusinessPartnerGroup field to query operations. -
CREDIT_WORTHINESS_SCORE_VALUE
Use with available fluent helpers to apply the CreditWorthinessScoreValue field to query operations. -
CRDT_WRTHNSS_SCORE_VALDTY_END_DATE
public static final CreditMgmtBusinessPartnerField<LocalDateTime> CRDT_WRTHNSS_SCORE_VALDTY_END_DATEUse with available fluent helpers to apply the CrdtWrthnssScoreValdtyEndDate field to query operations. -
CRDT_WORTHINESS_SCORE_LAST_CHG_DATE
public static final CreditMgmtBusinessPartnerField<LocalDateTime> CRDT_WORTHINESS_SCORE_LAST_CHG_DATEUse with available fluent helpers to apply the CrdtWorthinessScoreLastChgDate field to query operations. -
CALCD_CRDT_WORTHINESS_SCORE_VALUE
Use with available fluent helpers to apply the CalcdCrdtWorthinessScoreValue field to query operations. -
CREDIT_RISK_CLASS
Use with available fluent helpers to apply the CreditRiskClass field to query operations. -
CALCULATED_CREDIT_RISK_CLASS
Use with available fluent helpers to apply the CalculatedCreditRiskClass field to query operations. -
CREDIT_RISK_CLASS_LAST_CHANGE_DATE
public static final CreditMgmtBusinessPartnerField<LocalDateTime> CREDIT_RISK_CLASS_LAST_CHANGE_DATEUse with available fluent helpers to apply the CreditRiskClassLastChangeDate field to query operations. -
CREDIT_CHECK_RULE
Use with available fluent helpers to apply the CreditCheckRule field to query operations. -
CREDIT_SCORE_AND_LIMIT_CALC_RULE
Use with available fluent helpers to apply the CreditScoreAndLimitCalcRule field to query operations. -
CUST_BUSINESS_RELSHP_START_YEAR
Use with available fluent helpers to apply the CustBusinessRelshpStartYear field to query operations. -
TO_CRDT_MBP_COLLATERAL_TP
Use with available fluent helpers to apply the to_CrdtMBPCollateralTP navigation property to query operations. -
TO_CRDT_MBP_CREDIT_INSURANCE_TP
public static final CreditMgmtBusinessPartnerLink<CrdtMgmtBPCreditInsurance> TO_CRDT_MBP_CREDIT_INSURANCE_TPUse with available fluent helpers to apply the to_CrdtMBPCreditInsuranceTP navigation property to query operations. -
TO_CRDT_MBP_NEGATIVE_EVENT_TP
public static final CreditMgmtBusinessPartnerLink<CrdtMgmtBPNegativeEvent> TO_CRDT_MBP_NEGATIVE_EVENT_TPUse with available fluent helpers to apply the to_CrdtMBPNegativeEventTP navigation property to query operations. -
TO_CREDIT_MGMT_ACCOUNT_TP
public static final CreditMgmtBusinessPartnerLink<CreditManagementAccount> TO_CREDIT_MGMT_ACCOUNT_TPUse with available fluent helpers to apply the to_CreditMgmtAccountTP navigation property to query operations.
-
-
Constructor Details
-
CreditMgmtBusinessPartner
public CreditMgmtBusinessPartner() -
CreditMgmtBusinessPartner
public CreditMgmtBusinessPartner(@Nullable String businessPartner, @Nullable String crdtMgmtBusinessPartnerGroup, @Nullable String creditWorthinessScoreValue, @Nullable LocalDateTime crdtWrthnssScoreValdtyEndDate, @Nullable LocalDateTime crdtWorthinessScoreLastChgDate, @Nullable String calcdCrdtWorthinessScoreValue, @Nullable String creditRiskClass, @Nullable String calculatedCreditRiskClass, @Nullable LocalDateTime creditRiskClassLastChangeDate, @Nullable String creditCheckRule, @Nullable String creditScoreAndLimitCalcRule, @Nullable String custBusinessRelshpStartYear, List<CrdtMgmtBPCollateral> toCrdtMBPCollateralTP, List<CrdtMgmtBPCreditInsurance> toCrdtMBPCreditInsuranceTP, List<CrdtMgmtBPNegativeEvent> toCrdtMBPNegativeEventTP, List<CreditManagementAccount> toCreditMgmtAccountTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CreditMgmtBusinessPartner>
-
setBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
setCrdtMgmtBusinessPartnerGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CrdtMgmtBusinessPartnerGroup
- Parameters:
crdtMgmtBusinessPartnerGroup- Customer Credit Group
-
setCreditWorthinessScoreValue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditWorthinessScoreValue
- Parameters:
creditWorthinessScoreValue- Score
-
setCrdtWrthnssScoreValdtyEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CrdtWrthnssScoreValdtyEndDate
- Parameters:
crdtWrthnssScoreValdtyEndDate- Valid To Date
-
setCrdtWorthinessScoreLastChgDate
public void setCrdtWorthinessScoreLastChgDate(@Nullable LocalDateTime crdtWorthinessScoreLastChgDate) Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CrdtWorthinessScoreLastChgDate
- Parameters:
crdtWorthinessScoreLastChgDate- Change Date for Score
-
setCalcdCrdtWorthinessScoreValue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CalcdCrdtWorthinessScoreValue
- Parameters:
calcdCrdtWorthinessScoreValue- Calculated Score
-
setCreditRiskClass
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CreditRiskClass
- Parameters:
creditRiskClass- Risk Class
-
setCalculatedCreditRiskClass
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CalculatedCreditRiskClass
- Parameters:
calculatedCreditRiskClass- Calculated Risk Class
-
setCreditRiskClassLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreditRiskClassLastChangeDate
- Parameters:
creditRiskClassLastChangeDate- Risk Class Changed On
-
setCreditCheckRule
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditCheckRule
- Parameters:
creditCheckRule- Rule for Credit Check
-
setCreditScoreAndLimitCalcRule
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditScoreAndLimitCalcRule
- Parameters:
creditScoreAndLimitCalcRule- Rule for Calculating Score and Credit Limit
-
setCustBusinessRelshpStartYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustBusinessRelshpStartYear
- Parameters:
custBusinessRelshpStartYear- First Year of Customer Relationship
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CreditMgmtBusinessPartner>
-
getKey
- Overrides:
getKeyin classVdmObject<CreditMgmtBusinessPartner>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CreditMgmtBusinessPartner>
-
fromMap
- Overrides:
fromMapin classVdmObject<CreditMgmtBusinessPartner>
-
field
@Nonnull public static <T> CreditMgmtBusinessPartnerField<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> CreditMgmtBusinessPartnerField<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<CreditMgmtBusinessPartner>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CreditMgmtBusinessPartner>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CreditMgmtBusinessPartner>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CreditMgmtBusinessPartner>
-
fetchCrdtMBPCollateralTP
Fetches the CrdtMgmtBPCollateral entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CrdtMBPCollateralTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CrdtMgmtBPCollateral 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.
-
getCrdtMBPCollateralTPOrFetch
Retrieval of associated CrdtMgmtBPCollateral entities (one to many). This corresponds to the OData navigation property to_CrdtMBPCollateralTP.If the navigation property to_CrdtMBPCollateralTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCollateral 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.
-
getCrdtMBPCollateralTPIfPresent
@Nonnull public io.vavr.control.Option<List<CrdtMgmtBPCollateral>> getCrdtMBPCollateralTPIfPresent()Retrieval of associated CrdtMgmtBPCollateral entities (one to many). This corresponds to the OData navigation property to_CrdtMBPCollateralTP.If the navigation property for an entity CreditMgmtBusinessPartner 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_CrdtMBPCollateralTP is already loaded, the result
will contain the CrdtMgmtBPCollateral entities. If not, an
Optionwith result stateemptyis returned.
-
setCrdtMBPCollateralTP
Overwrites the list of associated CrdtMgmtBPCollateral entities for the loaded navigation property to_CrdtMBPCollateralTP.If the navigation property to_CrdtMBPCollateralTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCollateral entities.
-
addCrdtMBPCollateralTP
Adds elements to the list of associated CrdtMgmtBPCollateral entities. This corresponds to the OData navigation property to_CrdtMBPCollateralTP.If the navigation property to_CrdtMBPCollateralTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCollateral entities.
-
fetchCrdtMBPCreditInsuranceTP
Fetches the CrdtMgmtBPCreditInsurance entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CrdtMBPCreditInsuranceTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CrdtMgmtBPCreditInsurance 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.
-
getCrdtMBPCreditInsuranceTPOrFetch
Retrieval of associated CrdtMgmtBPCreditInsurance entities (one to many). This corresponds to the OData navigation property to_CrdtMBPCreditInsuranceTP.If the navigation property to_CrdtMBPCreditInsuranceTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCreditInsurance 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.
-
getCrdtMBPCreditInsuranceTPIfPresent
@Nonnull public io.vavr.control.Option<List<CrdtMgmtBPCreditInsurance>> getCrdtMBPCreditInsuranceTPIfPresent()Retrieval of associated CrdtMgmtBPCreditInsurance entities (one to many). This corresponds to the OData navigation property to_CrdtMBPCreditInsuranceTP.If the navigation property for an entity CreditMgmtBusinessPartner 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_CrdtMBPCreditInsuranceTP is already loaded, the
result will contain the CrdtMgmtBPCreditInsurance entities. If not, an
Optionwith result stateemptyis returned.
-
setCrdtMBPCreditInsuranceTP
Overwrites the list of associated CrdtMgmtBPCreditInsurance entities for the loaded navigation property to_CrdtMBPCreditInsuranceTP.If the navigation property to_CrdtMBPCreditInsuranceTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCreditInsurance entities.
-
addCrdtMBPCreditInsuranceTP
Adds elements to the list of associated CrdtMgmtBPCreditInsurance entities. This corresponds to the OData navigation property to_CrdtMBPCreditInsuranceTP.If the navigation property to_CrdtMBPCreditInsuranceTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPCreditInsurance entities.
-
fetchCrdtMBPNegativeEventTP
Fetches the CrdtMgmtBPNegativeEvent entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CrdtMBPNegativeEventTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CrdtMgmtBPNegativeEvent 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.
-
getCrdtMBPNegativeEventTPOrFetch
Retrieval of associated CrdtMgmtBPNegativeEvent entities (one to many). This corresponds to the OData navigation property to_CrdtMBPNegativeEventTP.If the navigation property to_CrdtMBPNegativeEventTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPNegativeEvent 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.
-
getCrdtMBPNegativeEventTPIfPresent
@Nonnull public io.vavr.control.Option<List<CrdtMgmtBPNegativeEvent>> getCrdtMBPNegativeEventTPIfPresent()Retrieval of associated CrdtMgmtBPNegativeEvent entities (one to many). This corresponds to the OData navigation property to_CrdtMBPNegativeEventTP.If the navigation property for an entity CreditMgmtBusinessPartner 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_CrdtMBPNegativeEventTP is already loaded, the result
will contain the CrdtMgmtBPNegativeEvent entities. If not, an
Optionwith result stateemptyis returned.
-
setCrdtMBPNegativeEventTP
Overwrites the list of associated CrdtMgmtBPNegativeEvent entities for the loaded navigation property to_CrdtMBPNegativeEventTP.If the navigation property to_CrdtMBPNegativeEventTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPNegativeEvent entities.
-
addCrdtMBPNegativeEventTP
Adds elements to the list of associated CrdtMgmtBPNegativeEvent entities. This corresponds to the OData navigation property to_CrdtMBPNegativeEventTP.If the navigation property to_CrdtMBPNegativeEventTP of a queried CreditMgmtBusinessPartner 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 CrdtMgmtBPNegativeEvent entities.
-
fetchCreditMgmtAccountTP
Fetches the CreditManagementAccount entities (one to many) associated with this entity. This corresponds to the OData navigation property to_CreditMgmtAccountTP.Please note: This method will not cache or persist the query results.
- Returns:
- List containing one or more associated CreditManagementAccount 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.
-
getCreditMgmtAccountTPOrFetch
Retrieval of associated CreditManagementAccount entities (one to many). This corresponds to the OData navigation property to_CreditMgmtAccountTP.If the navigation property to_CreditMgmtAccountTP of a queried CreditMgmtBusinessPartner 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 CreditManagementAccount 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.
-
getCreditMgmtAccountTPIfPresent
@Nonnull public io.vavr.control.Option<List<CreditManagementAccount>> getCreditMgmtAccountTPIfPresent()Retrieval of associated CreditManagementAccount entities (one to many). This corresponds to the OData navigation property to_CreditMgmtAccountTP.If the navigation property for an entity CreditMgmtBusinessPartner 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_CreditMgmtAccountTP is already loaded, the result
will contain the CreditManagementAccount entities. If not, an
Optionwith result stateemptyis returned.
-
setCreditMgmtAccountTP
Overwrites the list of associated CreditManagementAccount entities for the loaded navigation property to_CreditMgmtAccountTP.If the navigation property to_CreditMgmtAccountTP of a queried CreditMgmtBusinessPartner 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 CreditManagementAccount entities.
-
addCreditMgmtAccountTP
Adds elements to the list of associated CreditManagementAccount entities. This corresponds to the OData navigation property to_CreditMgmtAccountTP.If the navigation property to_CreditMgmtAccountTP of a queried CreditMgmtBusinessPartner 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 CreditManagementAccount entities.
-
builder
-
getBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
getCrdtMgmtBusinessPartnerGroup
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CrdtMgmtBusinessPartnerGroup
- Returns:
- Customer Credit Group
-
getCreditWorthinessScoreValue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditWorthinessScoreValue
- Returns:
- Score
-
getCrdtWrthnssScoreValdtyEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CrdtWrthnssScoreValdtyEndDate
- Returns:
- Valid To Date
-
getCrdtWorthinessScoreLastChgDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CrdtWorthinessScoreLastChgDate
- Returns:
- Change Date for Score
-
getCalcdCrdtWorthinessScoreValue
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CalcdCrdtWorthinessScoreValue
- Returns:
- Calculated Score
-
getCreditRiskClass
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CreditRiskClass
- Returns:
- Risk Class
-
getCalculatedCreditRiskClass
Constraints: Not nullable, Maximum length: 3Original property name from the Odata EDM: CalculatedCreditRiskClass
- Returns:
- Calculated Risk Class
-
getCreditRiskClassLastChangeDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: CreditRiskClassLastChangeDate
- Returns:
- Risk Class Changed On
-
getCreditCheckRule
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditCheckRule
- Returns:
- Rule for Credit Check
-
getCreditScoreAndLimitCalcRule
Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditScoreAndLimitCalcRule
- Returns:
- Rule for Calculating Score and Credit Limit
-
getCustBusinessRelshpStartYear
Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: CustBusinessRelshpStartYear
- Returns:
- First Year of Customer Relationship
-
toString
- Overrides:
toStringin classVdmObject<CreditMgmtBusinessPartner>
-
equals
- Overrides:
equalsin classVdmEntity<CreditMgmtBusinessPartner>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CreditMgmtBusinessPartner>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CreditMgmtBusinessPartner>
-