public class CRMProcessBillAccountBean extends CRMProcess
| Constructor and Description |
|---|
CRMProcessBillAccountBean()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billAccountReceivable(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
Bill account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billAccountReceivable(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.lang.Boolean billPreview)
Bill account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billAccountReceivable(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
java.lang.String accRecID,
java.lang.Boolean billPreview)
Bills an Accounts Receivable by an account id.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billJob(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.jobs.CRMDOJob job,
java.lang.Boolean billPreview)
Bills a job of an account by a billing run.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billJob(com.crm.dataobject.jobs.CRMDOJob job,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
Bills a job of an account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billSubscription(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.lang.Boolean billPreview)
Bills a subscription of an account by a billing run.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billSubscription(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.lang.Boolean billPreview,
java.lang.Boolean isPreviewRates)
Bills a subscription of an account by a billing run.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
billSubscription(com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
Bills a subscription of an account
|
static long |
getWaitTimeExp(int retryCount) |
com.crm.dataobject.accounts.CRMDOAccountReceivable |
processPaymentGatewayRequest(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.util.ArrayList<java.lang.String> accountPaymentGatewayRequests,
java.lang.Boolean billPreview)
process Payment Gateway Request of account.
|
com.crm.dataobject.accounts.CRMDOAccountReceivable |
processPaymentGatewayRequest(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
java.lang.String accRecID,
java.util.ArrayList<java.lang.String> accountPaymentGatewayRequests,
java.lang.Boolean billPreview)
process Payment Gateway Request of account.
|
void |
updateSubscriptionInformation(com.crm.dataobject.subscriptions.CRMDOSubscription subscription)
Updates subscription rating information.
|
createCronExpressionFromDate, createCronExpressionFromDate, setMandatoryFieldpublic CRMProcessBillAccountBean()
public com.crm.dataobject.accounts.CRMDOAccountReceivable billAccountReceivable(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
java.lang.String accRecID,
java.lang.Boolean billPreview)
throws java.lang.Exception
billingRun - - the billing run to useaccRecID - - the id of the account to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptionpublic void updateSubscriptionInformation(com.crm.dataobject.subscriptions.CRMDOSubscription subscription)
throws java.lang.Exception
subscription - - the subscription to updatejava.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billSubscription(com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
subscription - - the subscription to billbillAsOfDate - - the As of date of billing runbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billSubscription(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
billingRun - - the billing run to usesubscription - - the subscription to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billSubscription(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.subscriptions.CRMDOSubscription subscription,
java.lang.Boolean billPreview,
java.lang.Boolean isPreviewRates)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
billingRun - - the billing run to usesubscription - - the subscription to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modeisPreviewRates - - a boolean indicating if the bill is for preview rates and the parent account should be considered in bill previewjava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billJob(com.crm.dataobject.jobs.CRMDOJob job,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
job - - the job to billbillAsOfDate - - the As of date of billing runbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billJob(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.jobs.CRMDOJob job,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
billingRun - - the billing run to usejob - - the job to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billAccountReceivable(com.crm.dataobject.accounts.CRMDOAccountReceivable accountReceivable,
java.util.Date billAsOfDate,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
accountReceivable - - the account to billbillAsOfDate - - the As of date of billing runbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable billAccountReceivable(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.lang.Boolean billPreview)
throws java.lang.Exception,
com.crm.exception.MandatoryFieldException
billingRun - - the billing run to useaccount - - the account to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptioncom.crm.exception.MandatoryFieldExceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable processPaymentGatewayRequest(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
java.lang.String accRecID,
java.util.ArrayList<java.lang.String> accountPaymentGatewayRequests,
java.lang.Boolean billPreview)
throws java.lang.Exception
billingRun - - the billing run to useaccRecID - - the account ID to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptionpublic com.crm.dataobject.accounts.CRMDOAccountReceivable processPaymentGatewayRequest(com.crm.dataobject.billing.CRMDOBillingRun billingRun,
com.crm.dataobject.accounts.CRMDOAccountReceivable account,
java.util.ArrayList<java.lang.String> accountPaymentGatewayRequests,
java.lang.Boolean billPreview)
throws java.lang.Exception
billingRun - - the billing run to useaccount - - the account to billbillPreview - - a boolean indicating if the account should be billed, or if it should execute in preview modejava.lang.Exceptionpublic static long getWaitTimeExp(int retryCount)