public interface ExtensionCustomer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomerId()
Gets internal customer id
|
java.lang.Object |
getExtendedAttribute(java.lang.String attributeName)
Method that returns the value(s) for extended attribute
returns null, if the attribute not found
|
java.lang.String |
getExternalReference()
Gets the external-reference/external schema information of the customer
|
java.util.HashSet<MidSessionCDRInfo.ReasonCode> |
getPostRatingMidSessionCDRSplitReason() |
java.util.HashSet<MidSessionCDRInfo.ReasonCode> |
getPreRatingMidSessionCDRSplitReason() |
int |
getPrimaryCurrencyNumericCode()
The numeric code of the primary currency associated with the billing unit corresponding to the customer's default balance
|
java.util.Map<java.lang.String,java.util.Collection<oracle.communication.brm.charging.util.misc.Pair<java.lang.String,java.util.Collection<ExtensionRatingProfileValue>>>> |
getProfilesForAgreement(java.lang.String agreementId,
java.util.Map<java.lang.String,ExtensionProduct> extensionProductMap)
Method to get the profile list in a given agreement id
|
java.util.Collection<ExtensionPurchasedAlterationOffering> |
getPurchasedAlterationOfferings(java.time.ZonedDateTime requestTime)
Method returns a set of applicable Alteration offerings at the customer level for the passed in time.
|
java.util.Collection<ExtensionPurchasedChargeOffering> |
getPurchasedChargeOfferings(java.time.ZonedDateTime requestTime)
Method returns a set of applicable charge offerings at the customer level for the passed in time.
|
java.util.Map<java.lang.String,java.util.Collection<ExtensionRatingProfileValue>> |
getRatingProfiles()
Returns an managed Map of RatingProfiles for this Customer with each profile
identified by a String name.
|
int |
getSecondaryCurrencyNumericCode()
The numeric code of the secondary currency associated with the billing unit corresponding to the customer's default balance
|
java.util.Collection<oracle.communication.brm.charging.util.misc.Pair<java.lang.String,java.lang.String>> |
getUsedProfileSharingAgreements()
Method to get the used profile sharing agreements.
|
boolean |
isPostRatingMidSessionConditionMet() |
boolean |
isPreRatingMidSessionConditionMet() |
void |
setPostRatingMidSessionConditionMet(boolean postRatingMidSessionConditionMet)
Method to set Post-MidSessionCondition set from extension
|
void |
setPostRatingMidSessionTriggerReasonCode(int... customReasonCode) |
void |
setPreRatingMidSessionConditionMet(boolean preRatingMidSessionConditionMet)
Method to set Pre-MidSessionCondition set from extension
|
void |
setPreRatingMidSessionTriggerReasonCode(int... customReasonCode) |
java.util.Map<java.lang.String,java.util.Collection<ExtensionRatingProfileValue>> getRatingProfiles()
ExtensionRatingProfileValue
java.lang.String getExternalReference()
java.lang.Object getExtendedAttribute(java.lang.String attributeName)
attributeName
- The name of the extended attributeint getPrimaryCurrencyNumericCode()
int getSecondaryCurrencyNumericCode()
java.lang.String getCustomerId()
java.util.Collection<ExtensionPurchasedChargeOffering> getPurchasedChargeOfferings(java.time.ZonedDateTime requestTime)
requestTime
- passed in request timejava.util.Collection<ExtensionPurchasedAlterationOffering> getPurchasedAlterationOfferings(java.time.ZonedDateTime requestTime)
requestTime
- passed in request timejava.util.Map<java.lang.String,java.util.Collection<oracle.communication.brm.charging.util.misc.Pair<java.lang.String,java.util.Collection<ExtensionRatingProfileValue>>>> getProfilesForAgreement(java.lang.String agreementId, java.util.Map<java.lang.String,ExtensionProduct> extensionProductMap)
agreementId
- Agreement IdextensionProductMap
- Map of products in this customerjava.util.Collection<oracle.communication.brm.charging.util.misc.Pair<java.lang.String,java.lang.String>> getUsedProfileSharingAgreements()
boolean isPreRatingMidSessionConditionMet()
void setPreRatingMidSessionConditionMet(boolean preRatingMidSessionConditionMet)
preRatingMidSessionConditionMet
- boolean isPostRatingMidSessionConditionMet()
void setPostRatingMidSessionConditionMet(boolean postRatingMidSessionConditionMet)
postRatingMidSessionConditionMet
- void setPostRatingMidSessionTriggerReasonCode(int... customReasonCode)
customReasonCode
- Integer Value of Custom ReasonCode for Midsession Triggervoid setPreRatingMidSessionTriggerReasonCode(int... customReasonCode)
customReasonCode
- Integer Value of Custom ReasonCode for Midsession Triggerjava.util.HashSet<MidSessionCDRInfo.ReasonCode> getPreRatingMidSessionCDRSplitReason()
java.util.HashSet<MidSessionCDRInfo.ReasonCode> getPostRatingMidSessionCDRSplitReason()