Interface ExtensionCustomer
public interface ExtensionCustomer
Expose customer API to be accessed in customization
- Since:
- 11.2.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets internal customer idgetExtendedAttribute
(String attributeName) Method that returns the value(s) for extended attribute returns null, if the attribute not foundGets the external-reference/external schema information of the customerHashSet
<oracle.communication.brm.charging.session.MidSessionCDRInfo.ReasonCode> HashSet
<oracle.communication.brm.charging.session.MidSessionCDRInfo.ReasonCode> int
The numeric code of the primary currency associated with the billing unit corresponding to the customer's default balanceMap
<String, Collection<oracle.communication.brm.charging.util.misc.Pair<String, Collection<ExtensionRatingProfileValue>>>> getProfilesForAgreement
(String agreementId, Map<String, ExtensionProduct> extensionProductMap) Method to get the profile list in a given agreement idgetPurchasedAlterationOfferings
(ZonedDateTime requestTime) Method returns a set of applicable Alteration offerings at the customer level for the passed in time.getPurchasedChargeOfferings
(ZonedDateTime requestTime) Method returns a set of applicable charge offerings at the customer level for the passed in time.Returns an managed Map of RatingProfiles for this Customer with each profile identified by a String name.int
The numeric code of the secondary currency associated with the billing unit corresponding to the customer's default balanceCollection
<oracle.communication.brm.charging.util.misc.Pair<String, String>> Method to get the used profile sharing agreements.boolean
boolean
void
setPostRatingMidSessionConditionMet
(boolean postRatingMidSessionConditionMet) Method to set Post-MidSessionCondition set from extensionvoid
setPostRatingMidSessionTriggerReasonCode
(int... customReasonCode) void
setPreRatingMidSessionConditionMet
(boolean preRatingMidSessionConditionMet) Method to set Pre-MidSessionCondition set from extensionvoid
setPreRatingMidSessionTriggerReasonCode
(int... customReasonCode)
-
Method Details
-
getRatingProfiles
Map<String,Collection<ExtensionRatingProfileValue>> getRatingProfiles()Returns an managed Map of RatingProfiles for this Customer with each profile identified by a String name.- Returns:
- Map of RatingProfiles with a String key representing the profile name.
- See Also:
-
getExternalReference
String getExternalReference()Gets the external-reference/external schema information of the customer- Returns:
- returns the external-reference/external schema information of the customer
-
getExtendedAttribute
Method that returns the value(s) for extended attribute returns null, if the attribute not found- Parameters:
attributeName
- The name of the extended attribute- Returns:
- the extended attribute value
-
getPrimaryCurrencyNumericCode
int getPrimaryCurrencyNumericCode()The numeric code of the primary currency associated with the billing unit corresponding to the customer's default balance- Returns:
- The numeric code of the primary currency associated with the billing unit corresponding to the customer's default balance
-
getSecondaryCurrencyNumericCode
int getSecondaryCurrencyNumericCode()The numeric code of the secondary currency associated with the billing unit corresponding to the customer's default balance- Returns:
- The numeric code of the secondary currency associated with the billing unit corresponding to the customer's default balance
-
getCustomerId
String getCustomerId()Gets internal customer id- Returns:
- customerId
-
getPurchasedChargeOfferings
Method returns a set of applicable charge offerings at the customer level for the passed in time. If the passed in time is null, then all the current applicable offerings are fetched.- Parameters:
requestTime
- passed in request time- Returns:
- list of applicable charge offerings at the customer level for the passed in time.
-
getPurchasedAlterationOfferings
Collection<ExtensionPurchasedAlterationOffering> getPurchasedAlterationOfferings(ZonedDateTime requestTime) Method returns a set of applicable Alteration offerings at the customer level for the passed in time. If the passed in time is null, then all the current applicable offerings are fetched.- Parameters:
requestTime
- passed in request time- Returns:
- list of applicable Alteration offerings at the customer level for the passed in time.
-
getProfilesForAgreement
Map<String,Collection<oracle.communication.brm.charging.util.misc.Pair<String, getProfilesForAgreementCollection<ExtensionRatingProfileValue>>>> (String agreementId, Map<String, ExtensionProduct> extensionProductMap) Method to get the profile list in a given agreement id- Parameters:
agreementId
- Agreement IdextensionProductMap
- Map of products in this customer- Returns:
- Collection of profile id,label and values collection
-
getUsedProfileSharingAgreements
Collection<oracle.communication.brm.charging.util.misc.Pair<String,String>> getUsedProfileSharingAgreements()Method to get the used profile sharing agreements.- Returns:
- Collection of owner id and agreement id pairs
-
isPreRatingMidSessionConditionMet
boolean isPreRatingMidSessionConditionMet()- Returns:
- is Pre-MidSessionCondition set from extension
-
setPreRatingMidSessionConditionMet
void setPreRatingMidSessionConditionMet(boolean preRatingMidSessionConditionMet) Method to set Pre-MidSessionCondition set from extension- Parameters:
preRatingMidSessionConditionMet
-
-
isPostRatingMidSessionConditionMet
boolean isPostRatingMidSessionConditionMet()- Returns:
- is Pre-MidSessionCondition set from extension
-
setPostRatingMidSessionConditionMet
void setPostRatingMidSessionConditionMet(boolean postRatingMidSessionConditionMet) Method to set Post-MidSessionCondition set from extension- Parameters:
postRatingMidSessionConditionMet
-
-
setPostRatingMidSessionTriggerReasonCode
void setPostRatingMidSessionTriggerReasonCode(int... customReasonCode) - Parameters:
customReasonCode
- Integer Value of Custom ReasonCode for Midsession Trigger
-
setPreRatingMidSessionTriggerReasonCode
void setPreRatingMidSessionTriggerReasonCode(int... customReasonCode) - Parameters:
customReasonCode
- Integer Value of Custom ReasonCode for Midsession Trigger
-
getPreRatingMidSessionCDRSplitReason
HashSet<oracle.communication.brm.charging.session.MidSessionCDRInfo.ReasonCode> getPreRatingMidSessionCDRSplitReason() -
getPostRatingMidSessionCDRSplitReason
HashSet<oracle.communication.brm.charging.session.MidSessionCDRInfo.ReasonCode> getPostRatingMidSessionCDRSplitReason()
-