Class CrdtMgmtBPCreditInsurance
Original entity name from the Odata EDM: CrdtMgmtBPCreditInsurance_Type
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHelper class to allow for fluent creation of CrdtMgmtBPCreditInsurance instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the AdditionalCreditDocComment field to query operations.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the AdditionalCreditDocSequence field to query operations.static final CrdtMgmtBPCreditInsuranceField<BigDecimal>Use with available fluent helpers to apply the AddlCreditDocAmtInTransacCrcy field to query operations.static final CrdtMgmtBPCreditInsuranceSelectableSelector for all available fields of CrdtMgmtBPCreditInsurance.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the BusinessPartner field to query operations.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the CrdtAcctInformationCategory field to query operations.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the CrdtAcctInformationType field to query operations.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the CreditSegment field to query operations.static final CrdtMgmtBPCreditInsuranceField<Boolean>Use with available fluent helpers to apply the ExceptionIsCreditCheckRelevant field to query operations.Use with available fluent helpers to apply the to_CrdtMBusinessPartnerTP navigation property to query operations.static final CrdtMgmtBPCreditInsuranceField<String>Use with available fluent helpers to apply the TransactionCurrency field to query operations.static final CrdtMgmtBPCreditInsuranceField<LocalDateTime>Use with available fluent helpers to apply the ValidityEndDate field to query operations.static final CrdtMgmtBPCreditInsuranceField<LocalDateTime>Use with available fluent helpers to apply the ValidityStartDate field to query operations.Fields inherited from class com.sap.cloud.sdk.datamodel.odata.helper.VdmObject
changedOriginalFields -
Constructor Summary
ConstructorsConstructorDescriptionCrdtMgmtBPCreditInsurance(String businessPartner, String creditSegment, String crdtAcctInformationCategory, String crdtAcctInformationType, String additionalCreditDocSequence, Boolean exceptionIsCreditCheckRelevant, BigDecimal addlCreditDocAmtInTransacCrcy, String transactionCurrency, LocalDateTime validityStartDate, LocalDateTime validityEndDate, String additionalCreditDocComment, CreditMgmtBusinessPartner toCrdtMBusinessPartnerTP) -
Method Summary
Modifier and TypeMethodDescriptionvoidattachToService(String servicePath, HttpDestinationProperties destination) builder()protected booleanbooleanFetches the CreditMgmtBusinessPartner entity (one to one) associated with this entity.static <T,DomainT>
CrdtMgmtBPCreditInsuranceField<T>field(String fieldName, TypeConverter<T, DomainT> typeConverter) Use with available fluent helpers to apply an extension field to query operations.static <T> CrdtMgmtBPCreditInsuranceField<T>Use with available fluent helpers to apply an extension field to query operations.protected voidConstraints: Not nullable, Maximum length: 60(Key Field) Constraints: Not nullable, Maximum length: 4Constraints: Not nullable, Precision: 15, Scale: 3(Key Field) Constraints: Not nullable, Maximum length: 10(Key Field) Constraints: Not nullable, Maximum length: 2(Key Field) Constraints: Not nullable, Maximum length: 2io.vavr.control.Option<CreditMgmtBusinessPartner>Retrieval of associated CreditMgmtBusinessPartner entity (one to one).Retrieval of associated CreditMgmtBusinessPartner entity (one to one).(Key Field) Constraints: Not nullable, Maximum length: 10protected Stringprotected StringConstraints: nonegetKey()Constraints: Not nullable, Maximum length: 5getType()Constraints: Not nullable, Precision: 0Constraints: Not nullable, Precision: 0inthashCode()voidsetAdditionalCreditDocComment(String additionalCreditDocComment) Constraints: Not nullable, Maximum length: 60voidsetAdditionalCreditDocSequence(String additionalCreditDocSequence) (Key Field) Constraints: Not nullable, Maximum length: 4voidsetAddlCreditDocAmtInTransacCrcy(BigDecimal addlCreditDocAmtInTransacCrcy) Constraints: Not nullable, Precision: 15, Scale: 3voidsetBusinessPartner(String businessPartner) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetCrdtAcctInformationCategory(String crdtAcctInformationCategory) (Key Field) Constraints: Not nullable, Maximum length: 2voidsetCrdtAcctInformationType(String crdtAcctInformationType) (Key Field) Constraints: Not nullable, Maximum length: 2voidOverwrites the associated CreditMgmtBusinessPartner entity for the loaded navigation property to_CrdtMBusinessPartnerTP.voidsetCreditSegment(String creditSegment) (Key Field) Constraints: Not nullable, Maximum length: 10voidsetExceptionIsCreditCheckRelevant(Boolean exceptionIsCreditCheckRelevant) Constraints: noneprotected voidsetServicePathForFetch(String servicePathForFetch) voidsetTransactionCurrency(String transactionCurrency) Constraints: Not nullable, Maximum length: 5voidsetValidityEndDate(LocalDateTime validityEndDate) Constraints: Not nullable, Precision: 0voidsetValidityStartDate(LocalDateTime validityStartDate) Constraints: Not nullable, Precision: 0toString()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 CrdtMgmtBPCreditInsurance. -
BUSINESS_PARTNER
Use with available fluent helpers to apply the BusinessPartner field to query operations. -
CREDIT_SEGMENT
Use with available fluent helpers to apply the CreditSegment field to query operations. -
CRDT_ACCT_INFORMATION_CATEGORY
Use with available fluent helpers to apply the CrdtAcctInformationCategory field to query operations. -
CRDT_ACCT_INFORMATION_TYPE
Use with available fluent helpers to apply the CrdtAcctInformationType field to query operations. -
ADDITIONAL_CREDIT_DOC_SEQUENCE
Use with available fluent helpers to apply the AdditionalCreditDocSequence field to query operations. -
EXCEPTION_IS_CREDIT_CHECK_RELEVANT
Use with available fluent helpers to apply the ExceptionIsCreditCheckRelevant field to query operations. -
ADDL_CREDIT_DOC_AMT_IN_TRANSAC_CRCY
Use with available fluent helpers to apply the AddlCreditDocAmtInTransacCrcy field to query operations. -
TRANSACTION_CURRENCY
Use with available fluent helpers to apply the TransactionCurrency field to query operations. -
VALIDITY_START_DATE
Use with available fluent helpers to apply the ValidityStartDate field to query operations. -
VALIDITY_END_DATE
Use with available fluent helpers to apply the ValidityEndDate field to query operations. -
ADDITIONAL_CREDIT_DOC_COMMENT
Use with available fluent helpers to apply the AdditionalCreditDocComment field to query operations. -
TO_CRDT_M_BUSINESS_PARTNER_TP
public static final CrdtMgmtBPCreditInsuranceOneToOneLink<CreditMgmtBusinessPartner> TO_CRDT_M_BUSINESS_PARTNER_TPUse with available fluent helpers to apply the to_CrdtMBusinessPartnerTP navigation property to query operations.
-
-
Constructor Details
-
CrdtMgmtBPCreditInsurance
public CrdtMgmtBPCreditInsurance() -
CrdtMgmtBPCreditInsurance
public CrdtMgmtBPCreditInsurance(@Nullable String businessPartner, @Nullable String creditSegment, @Nullable String crdtAcctInformationCategory, @Nullable String crdtAcctInformationType, @Nullable String additionalCreditDocSequence, @Nullable Boolean exceptionIsCreditCheckRelevant, @Nullable BigDecimal addlCreditDocAmtInTransacCrcy, @Nullable String transactionCurrency, @Nullable LocalDateTime validityStartDate, @Nullable LocalDateTime validityEndDate, @Nullable String additionalCreditDocComment, @Nullable CreditMgmtBusinessPartner toCrdtMBusinessPartnerTP)
-
-
Method Details
-
getType
- Specified by:
getTypein classVdmObject<CrdtMgmtBPCreditInsurance>
-
setBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Parameters:
businessPartner- Business Partner Number
-
setCreditSegment
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditSegment
- Parameters:
creditSegment- Credit Segment
-
setCrdtAcctInformationCategory
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CrdtAcctInformationCategory
- Parameters:
crdtAcctInformationCategory- Information Category
-
setCrdtAcctInformationType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CrdtAcctInformationType
- Parameters:
crdtAcctInformationType- Information Type
-
setAdditionalCreditDocSequence
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AdditionalCreditDocSequence
- Parameters:
additionalCreditDocSequence- Counter
-
setExceptionIsCreditCheckRelevant
Constraints: noneOriginal property name from the Odata EDM: ExceptionIsCreditCheckRelevant
- Parameters:
exceptionIsCreditCheckRelevant- Relevance for Credit Check
-
setAddlCreditDocAmtInTransacCrcy
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: AddlCreditDocAmtInTransacCrcy
- Parameters:
addlCreditDocAmtInTransacCrcy- Amount
-
setTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Parameters:
transactionCurrency- Currency
-
setValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Parameters:
validityStartDate- Start Date of Validity
-
setValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Parameters:
validityEndDate- End Date of Validity
-
setAdditionalCreditDocComment
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: AdditionalCreditDocComment
- Parameters:
additionalCreditDocComment- Additional Information
-
getEntityCollection
- Specified by:
getEntityCollectionin classVdmEntity<CrdtMgmtBPCreditInsurance>
-
getKey
- Overrides:
getKeyin classVdmObject<CrdtMgmtBPCreditInsurance>
-
toMapOfFields
- Overrides:
toMapOfFieldsin classVdmObject<CrdtMgmtBPCreditInsurance>
-
fromMap
- Overrides:
fromMapin classVdmObject<CrdtMgmtBPCreditInsurance>
-
field
@Nonnull public static <T> CrdtMgmtBPCreditInsuranceField<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> CrdtMgmtBPCreditInsuranceField<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<CrdtMgmtBPCreditInsurance>
-
setServicePathForFetch
- Overrides:
setServicePathForFetchin classVdmEntity<CrdtMgmtBPCreditInsurance>
-
attachToService
public void attachToService(@Nullable String servicePath, @Nonnull HttpDestinationProperties destination) - Overrides:
attachToServicein classVdmEntity<CrdtMgmtBPCreditInsurance>
-
getDefaultServicePath
- Overrides:
getDefaultServicePathin classVdmEntity<CrdtMgmtBPCreditInsurance>
-
fetchCrdtMBusinessPartnerTP
Fetches the CreditMgmtBusinessPartner entity (one to one) associated with this entity. This corresponds to the OData navigation property to_CrdtMBusinessPartnerTP.Please note: This method will not cache or persist the query results.
- Returns:
- The single associated CreditMgmtBusinessPartner 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.
-
getCrdtMBusinessPartnerTPOrFetch
Retrieval of associated CreditMgmtBusinessPartner entity (one to one). This corresponds to the OData navigation property to_CrdtMBusinessPartnerTP.If the navigation property to_CrdtMBusinessPartnerTP of a queried CrdtMgmtBPCreditInsurance 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 CreditMgmtBusinessPartner 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.
-
getCrdtMBusinessPartnerTPIfPresent
@Nonnull public io.vavr.control.Option<CreditMgmtBusinessPartner> getCrdtMBusinessPartnerTPIfPresent()Retrieval of associated CreditMgmtBusinessPartner entity (one to one). This corresponds to the OData navigation property to_CrdtMBusinessPartnerTP.If the navigation property for an entity CrdtMgmtBPCreditInsurance 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_CrdtMBusinessPartnerTP is already loaded, the result
will contain the CreditMgmtBusinessPartner entity. If not, an
Optionwith result stateemptyis returned.
-
setCrdtMBusinessPartnerTP
Overwrites the associated CreditMgmtBusinessPartner entity for the loaded navigation property to_CrdtMBusinessPartnerTP.- Parameters:
value- New CreditMgmtBusinessPartner entity.
-
builder
-
getBusinessPartner
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: BusinessPartner
- Returns:
- Business Partner Number
-
getCreditSegment
(Key Field) Constraints: Not nullable, Maximum length: 10Original property name from the Odata EDM: CreditSegment
- Returns:
- Credit Segment
-
getCrdtAcctInformationCategory
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CrdtAcctInformationCategory
- Returns:
- Information Category
-
getCrdtAcctInformationType
(Key Field) Constraints: Not nullable, Maximum length: 2Original property name from the Odata EDM: CrdtAcctInformationType
- Returns:
- Information Type
-
getAdditionalCreditDocSequence
(Key Field) Constraints: Not nullable, Maximum length: 4Original property name from the Odata EDM: AdditionalCreditDocSequence
- Returns:
- Counter
-
getExceptionIsCreditCheckRelevant
Constraints: noneOriginal property name from the Odata EDM: ExceptionIsCreditCheckRelevant
- Returns:
- Relevance for Credit Check
-
getAddlCreditDocAmtInTransacCrcy
Constraints: Not nullable, Precision: 15, Scale: 3Original property name from the Odata EDM: AddlCreditDocAmtInTransacCrcy
- Returns:
- Amount
-
getTransactionCurrency
Constraints: Not nullable, Maximum length: 5Original property name from the Odata EDM: TransactionCurrency
- Returns:
- Currency
-
getValidityStartDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityStartDate
- Returns:
- Start Date of Validity
-
getValidityEndDate
Constraints: Not nullable, Precision: 0Original property name from the Odata EDM: ValidityEndDate
- Returns:
- End Date of Validity
-
getAdditionalCreditDocComment
Constraints: Not nullable, Maximum length: 60Original property name from the Odata EDM: AdditionalCreditDocComment
- Returns:
- Additional Information
-
toString
- Overrides:
toStringin classVdmObject<CrdtMgmtBPCreditInsurance>
-
equals
- Overrides:
equalsin classVdmEntity<CrdtMgmtBPCreditInsurance>
-
canEqual
- Overrides:
canEqualin classVdmEntity<CrdtMgmtBPCreditInsurance>
-
hashCode
public int hashCode()- Overrides:
hashCodein classVdmEntity<CrdtMgmtBPCreditInsurance>
-