public class CRMBOBillingTermSchemeBean extends CRMBOConfigurationEntity
Constructor and Description |
---|
CRMBOBillingTermSchemeBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
amend(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Amends a billing term scheme.
|
java.lang.Boolean |
anniversaryDateCanChange(com.crm.dataobject.subscriptions.SubscriptionActionClassificationCode classificationCode,
com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) |
com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService |
getBillingTermSchemeAllowedService(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product)
Returns the billing term scheme allowed service billing by a billing term scheme and a product.
|
com.crm.dataobject.billing.BillType |
getBillingType(java.lang.String billingTermSchemeCode)
Get billing type of scheme
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of a billing term scheme.
|
com.crm.dataobject.billing.ServiceBillingType |
getSubscriptionServiceBillingType(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product)
Returns the subscription service billing type by a billing term scheme and a product.
|
com.crm.dataobject.billing.BillingPolicy |
getValidBillingPolicies(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product) |
java.lang.Boolean |
isBillingFrequencyAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.lang.String billingFrequencyName)
Checks if a billing frequency is allowed by a billing term scheme.
|
java.lang.Boolean |
isBillingFrequencyValid(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.billing.BillingFrequency billingFrequency)
Checks if a billing term scheme lookup is valid based on a billing term scheme and a billing frequency.
|
java.lang.Boolean |
isBindingPeriodAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.lang.String bindingPeriodName)
Checks if a binding period is allowed by a billing term scheme.
|
java.lang.Boolean |
isBindingPeriodExtensionAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct service)
Checks if a binding period end can be extended.
|
java.lang.Boolean |
isBindingPeriodValid(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.billing.BindingPeriod bindingPeriod)
Checks if a billing term scheme lookup is valid based on a billing term scheme and a binding period.
|
java.lang.Boolean |
isCancellationExtensionAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct service)
Checks if an allowed cancel date can be extended.
|
java.lang.Boolean |
isPricePlanAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.priceplan.CRMDOPricePlan pricePlan)
Checks if the price plan is allowed based on a billing term scheme.
|
java.lang.Boolean |
isPricePlanAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.lang.String billingTermSchemeCode,
com.crm.dataobject.priceplan.CRMDOPricePlan pricePlan)
Checks if the price plan is allowed based on a billing term scheme.
|
java.lang.Boolean |
isPricingFlexible(java.lang.String billingTermSchemeCode)
Checks if the pricing is flexible based on a billing term scheme code.
|
java.lang.Boolean |
isServiceAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product)
Checks if the service is allowed based on a billing term scheme.
|
java.lang.Boolean |
isServicePostBilled(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.products.CRMDOProduct product)
Checks if the billing type of a product is post-bill
|
java.lang.Boolean |
isServicePostBilled(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product)
Checks if the billing type of a product is post-bill
|
java.lang.Boolean |
isServicePreBilled(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm,
com.crm.dataobject.products.CRMDOProduct product)
Checks if the billing type of a product is pre-bill
|
java.lang.Boolean |
isServicePreBilled(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.products.CRMDOProduct product)
Checks if the billing type of a product is pre-bill
|
java.lang.Boolean |
isUsedByBillingTerms(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Checks if a billing term scheme is used by a billing term.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
load(com.crm.dataobject.products.CRMDOProduct product) |
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedBillingFrequencies(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the allowed billing frequencies of a billing term scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedBindingPeriods(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the allowed binding periods of a billing term scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedForPackagePricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads a list of allowed price plans by a billing term scheme code and for package subscription types.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedForPackagePricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.util.ArrayList<java.lang.String> pricePlanAssociations)
Loads a list of allowed price plans by a billing term scheme code and for package subscription types.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads a list of allowed price plans by a billing term scheme code.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.util.ArrayList<java.lang.String> pricePlanAssociations)
Loads a list of allowed price plans by a billing term scheme code.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
java.util.ArrayList<java.lang.String> pricePlanAssociations,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType)
Loads a list of allowed price plans by a billing term scheme code.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType)
Loads a list of allowed price plans by a billing term scheme code.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByClassification(com.crm.dataobject.billing.BillingTermSchemeClassification billingTermSchemeClassification)
Loads billing term schemes by a classification.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadByClassification(com.crm.dataobject.billing.BillingTermSchemeClassification billingTermSchemeClassification,
java.util.ArrayList<java.lang.String> associations)
Loads billing term schemes by a classification.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadByCode(java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermScheme> billingTermSchemes,
java.lang.String billingTermSchemeCode,
java.util.Date fromDate)
Loads a billing term scheme by a code.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadByCode(java.lang.String code)
Loads a billing term scheme by a code.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadByCode(java.lang.String code,
java.util.ArrayList<java.lang.String> associations)
Loads a billing term scheme by a code.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadByCode(java.lang.String code,
java.util.Date fromDate,
java.util.ArrayList<java.lang.String> associations)
Loads a billing term scheme from a date and by a code.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes()
Loads a list of effective billing term schemes.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(com.crm.dataobject.billing.BillingTermSchemeClassification classification)
Loads a list of effective billing term schemes by a classification.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(com.crm.dataobject.billing.BillType billType)
Loads a list of effective billing term schemes by bill type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(com.crm.dataobject.jobs.CRMDOJobType jobType)
Loads a list of effective billing term schemes by job type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType)
Loads a list of effective billing term schemes by subscription type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType,
java.util.ArrayList<java.lang.String> associations)
Loads a list of effective billing term schemes by subscription type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(java.util.Date fromDate,
com.crm.dataobject.jobs.CRMDOJobType jobType)
Loads a list of effective billing term schemes from a date and by a job type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemes(java.util.Date fromDate,
com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType,
java.util.ArrayList<java.lang.String> associations)
Loads a list of effective billing term schemes from a date and by a subscription type.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadEffectiveSchemesNotOnSubscriptionType(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType,
java.util.ArrayList<java.lang.String> associations)
Loads the effective billing term schemes with classification SUBSCRIPTIONS which are not already added on the given subscription type.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadInitial(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the initial version of a billing term scheme.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadLatest(com.crm.dataobject.billing.BillingTermSchemeClassification classification)
Loads a list of billing term schemes filtered by the given criteria and having the latest version.
|
java.util.ArrayList<com.crm.dataobject.CRMDO> |
loadLatest(com.crm.dataobject.billing.BillingTermSchemeClassification classification,
com.crm.dataobject.billing.BillType billType)
Loads a list of billing term schemes filtered by the given criteria and having the latest version.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadLatest(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the latest billing term scheme.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadNext(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the next billing term scheme of the current billing term scheme.
|
com.crm.dataobject.billing.CRMDOBillingTermScheme |
loadPrevious(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads the billing term scheme that was replaced by the current billing term scheme.
|
java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService> |
loadSupportedServices(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Loads a list of supported services of a billing term scheme.
|
java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService> |
loadSupportedServices(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme,
com.crm.dataobject.billing.ServiceBillingType billingType)
Loads a list of supported services of a billing term scheme.
|
java.lang.Boolean |
preRatedServiceExists(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) |
com.crm.dataobject.billing.CRMDOBillingTermScheme |
setBillingTermSchemePrepaidInformation(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme)
Sets the prepaid information on a billing term scheme.
|
isDefault, loadDefault, setDefault
construct, construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, isAssignable, load, load, load, load, load, load, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, loadAllEntityStatusDO, loadAllEntityStatusDO, loadDataObject, loadDataObject, loadDataObject, loadDataObjects, loadDataObjects, loadEntityCategoryDO, loadEntityCategoryDO, loadEntityDO, loadEntityDO, loadEntityStatusDO, loadEntityStatusDO, parseAssociations, parseAssociations, parseAssociations, save, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateApprovalRequestEntity, validateFormatSettings, validateFormatSettings, validateOnDelete, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSave
deepCopy, dispatch, getCRMSession, getCRMSessionHandle, getCurrentDate, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMBOBillingTermSchemeBean()
public java.lang.Boolean isUsedByBillingTerms(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkjava.lang.Exception
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBOConfigurationEntity
public com.crm.dataobject.billing.CRMDOBillingTermScheme amend(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception, com.crm.exception.billing.CannotAmendBillingTermSchemeException
billingTermScheme
- - the billing term scheme to amendjava.lang.Exception
com.crm.exception.billing.CannotAmendBillingTermSchemeException
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes() throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(com.crm.dataobject.billing.BillingTermSchemeClassification classification) throws java.lang.Exception
classification
- - the classification to load the effective billing term schemes forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(com.crm.dataobject.billing.BillType billType) throws java.lang.Exception
billType
- - the bill type to load the effective billing term schemes forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType) throws java.lang.Exception
subscriptionType
- - the subscription type to load the effective billing term schemes forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
subscriptionType
- - the subscription type to load the effective billing term schemes forassociations
- - a list of associated objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(java.util.Date fromDate, com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
fromDate
- - the date to load the effective billing term schemes fromsubscriptionType
- - the subscription type to load the effective billing term scheme forassociations
- - a list of associated objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(com.crm.dataobject.jobs.CRMDOJobType jobType) throws java.lang.Exception
jobType
- - the job type to load the effective billing term schemes forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemes(java.util.Date fromDate, com.crm.dataobject.jobs.CRMDOJobType jobType) throws java.lang.Exception
fromDate
- - the date to load the effective billing term schemes fromjobType
- - the job type to load the effective billing term scheme forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadLatest(com.crm.dataobject.billing.BillingTermSchemeClassification classification) throws java.lang.Exception
classification
- - the billing term scheme classification to load forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadLatest(com.crm.dataobject.billing.BillingTermSchemeClassification classification, com.crm.dataobject.billing.BillType billType) throws java.lang.Exception
classification
- - the billing term scheme classification to load forbillType
- - the bill type to load forjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadByCode(java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermScheme> billingTermSchemes, java.lang.String billingTermSchemeCode, java.util.Date fromDate)
billingTermSchemes
- - all billing term schemes on the systembillingTermSchemeCode
- - the billing term scheme with the given codefromDate
- - a date to load frompublic com.crm.dataobject.billing.CRMDOBillingTermScheme loadByCode(java.lang.String code) throws java.lang.Exception
code
- - a billing term scheme codejava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadByCode(java.lang.String code, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
code
- - a billing term scheme codeassociations
- - a list of associated data objectsjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadByCode(java.lang.String code, java.util.Date fromDate, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
code
- - a billing term scheme codefromDate
- - a date to load fromassociations
- - a list of associated data objectsjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadPrevious(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the replaced billing term scheme fromjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadNext(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the next billing term scheme forjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadInitial(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the initial version ofjava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme loadLatest(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the latest version ofjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedBillingFrequencies(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the allowed billing frequencies forjava.lang.Exception
public java.lang.Boolean isBillingFrequencyAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.lang.String billingFrequencyName) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkbillingFrequencyName
- - the billing frequency to checkjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans foraccountReceivable
- - the account receivable to load the allowed price plans forsubscriptionType
- - the subscription type to load the allowed price plans forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.util.ArrayList<java.lang.String> pricePlanAssociations) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans forpricePlanAssociations
- - the price plan associated objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedPricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.util.ArrayList<java.lang.String> pricePlanAssociations, com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable, com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans forpricePlanAssociations
- - the price plan associated objectsaccountReceivable
- - the account receivable to load the allowed price plans forsubscriptionType
- - the subscription type to load the allowed price plans forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedForPackagePricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedForPackagePricePlans(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.util.ArrayList<java.lang.String> pricePlanAssociations) throws java.lang.Exception
billingTermScheme
- - the billing term scheme code to load the allowed price plans forpricePlanAssociations
- - the price plan associated objectsjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadAllowedBindingPeriods(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the allowed binding periods forjava.lang.Exception
public java.lang.Boolean isBindingPeriodAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.lang.String bindingPeriodName) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkbindingPeriodName
- - the binding period name to checkjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService> loadSupportedServices(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the supported services forjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService> loadSupportedServices(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.billing.ServiceBillingType billingType) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to load the supported services forbillingType
- - the services billing typejava.lang.Exception
public java.lang.Boolean isBindingPeriodExtensionAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct service) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkservice
- - the service to checkjava.lang.Exception
public java.lang.Boolean isCancellationExtensionAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct service) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkservice
- - the service to checkjava.lang.Exception
public com.crm.dataobject.billing.ServiceBillingType getSubscriptionServiceBillingType(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to useproduct
- - the product to usejava.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermSchemeAllowedService getBillingTermSchemeAllowedService(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to useproduct
- - the product to usejava.lang.Exception
public java.lang.Boolean isServicePostBilled(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTerm
- - the billing term to checkproduct
- - the product to checkjava.lang.Exception
public java.lang.Boolean isServicePostBilled(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkproduct
- - the product to checkjava.lang.Exception
public java.lang.Boolean isServicePreBilled(com.crm.dataobject.billing.CRMDOBillingTerm billingTerm, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTerm
- - the billing term to checkproduct
- - the product to checkjava.lang.Exception
public java.lang.Boolean isServicePreBilled(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkproduct
- - the product to checkjava.lang.Exception
public java.lang.Boolean isBillingFrequencyValid(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.billing.BillingFrequency billingFrequency) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkbillingFrequency
- - the billing frequency to checkjava.lang.Exception
public java.lang.Boolean isBindingPeriodValid(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.billing.BindingPeriod bindingPeriod) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkbindingPeriod
- - the binding period to checkjava.lang.Exception
public java.lang.Boolean isServiceAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkproduct
- - the product to checkjava.lang.Exception
public java.lang.Boolean isPricePlanAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.priceplan.CRMDOPricePlan pricePlan) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkpricePlan
- - the price plan to checkjava.lang.Exception
public java.lang.Boolean isPricePlanAllowed(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, java.lang.String billingTermSchemeCode, com.crm.dataobject.priceplan.CRMDOPricePlan pricePlan) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to checkpricePlan
- - the price plan to checkjava.lang.Exception
public java.lang.Boolean isPricingFlexible(java.lang.String billingTermSchemeCode) throws java.lang.Exception
billingTermSchemeCode
- - the billing term scheme code to checkjava.lang.Exception
public com.crm.dataobject.billing.BillType getBillingType(java.lang.String billingTermSchemeCode) throws java.lang.Exception
billingTermSchemeCode
- - the billing term schemejava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByClassification(com.crm.dataobject.billing.BillingTermSchemeClassification billingTermSchemeClassification) throws java.lang.Exception
billingTermSchemeClassification
- - a billing term scheme classificationjava.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadByClassification(com.crm.dataobject.billing.BillingTermSchemeClassification billingTermSchemeClassification, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
billingTermSchemeClassification
- - a billing term scheme classificationassociations
- java.lang.Exception
public java.lang.Boolean preRatedServiceExists(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws com.crm.exception.CRMException, java.lang.Exception
com.crm.exception.CRMException
java.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> loadEffectiveSchemesNotOnSubscriptionType(com.crm.dataobject.subscriptions.CRMDOSubscriptionType subscriptionType, java.util.ArrayList<java.lang.String> associations) throws java.lang.Exception
subscriptionType
- - a subscription type to load the billing term schemes forassociations
- java.lang.Exception
public java.util.ArrayList<com.crm.dataobject.CRMDO> load(com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.billing.CRMDOBillingTermScheme setBillingTermSchemePrepaidInformation(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
billingTermScheme
- - the billing term scheme to set the prepaid informationjava.lang.Exception
public java.lang.Boolean anniversaryDateCanChange(com.crm.dataobject.subscriptions.SubscriptionActionClassificationCode classificationCode, com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme) throws java.lang.Exception
java.lang.Exception
public com.crm.dataobject.billing.BillingPolicy getValidBillingPolicies(com.crm.dataobject.billing.CRMDOBillingTermScheme billingTermScheme, com.crm.dataobject.products.CRMDOProduct product) throws java.lang.Exception
java.lang.Exception