public class InvoicingTCDataBean
extends java.lang.Object
implements com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.security.Delegator
| Constructor and Description |
|---|
InvoicingTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
Constructs an InvoicingTCDataBean from an existing account identifier
Finds the Invoicing terms and conditions in the account
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.commerce.command.CommandContext |
getCommandContext()
Returns the current command's context
|
java.lang.Long |
getContractId()
Gets the contract identifier for the contract this term and condition are in
|
com.ibm.commerce.security.Protectable |
getDelegate()
Returns the access control delegate of this databean
|
boolean |
getHasEMail()
Is there a send the invoice by e-mail term and condition in the account
|
java.lang.String |
getHasEMailReferenceNumber()
Gets the reference number of the e-mail term and condition
|
boolean |
getHasInTheBox()
Determines whether there is a send the invoice in the box term and condition in the account
|
java.lang.String |
getHasInTheBoxReferenceNumber()
Gets the reference number of the in the box term and condition
|
boolean |
getHasRegularMail()
Is there a send the invoice by regular mails term and condition in the account
|
java.lang.String |
getHasRegularMailReferenceNumber()
Gets the reference number of the regular mail term and condition
|
com.ibm.commerce.datatype.TypedProperty |
getRequestProperties()
Gets request properties
|
void |
populate()
This method is used to get the Invoicing term and conditions in the account.
|
void |
setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
Sets the command context
|
void |
setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
Sets the request properties.
|
public InvoicingTCDataBean(java.lang.Long newContractId,
java.lang.Integer newLangId)
newContractId - Long An existing contract identifiernewLangId - Integer The language identifier for which language to retrieve the datapublic com.ibm.commerce.command.CommandContext getCommandContext()
getCommandContext in interface com.ibm.commerce.beans.SmartDataBeanpublic java.lang.Long getContractId()
public com.ibm.commerce.security.Protectable getDelegate()
throws java.lang.Exception
getDelegate in interface com.ibm.commerce.security.Delegatorjava.lang.Exceptionpublic boolean getHasEMail()
public java.lang.String getHasEMailReferenceNumber()
public boolean getHasInTheBox()
public java.lang.String getHasInTheBoxReferenceNumber()
public boolean getHasRegularMail()
public java.lang.String getHasRegularMailReferenceNumber()
public com.ibm.commerce.datatype.TypedProperty getRequestProperties()
getRequestProperties in interface com.ibm.commerce.beans.InputDataBeanpublic void populate()
throws java.lang.Exception
DataBeanManager.activate()
runs.populate in interface com.ibm.commerce.beans.SmartDataBeanjava.lang.Exceptionpublic void setCommandContext(com.ibm.commerce.command.CommandContext newICommandContext)
setCommandContext in interface com.ibm.commerce.beans.SmartDataBeannewICommandContext - com.ibm.commerce.command.CommandContextpublic void setRequestProperties(com.ibm.commerce.datatype.TypedProperty param)
setRequestProperties in interface com.ibm.commerce.beans.InputDataBeanparam - com.ibm.commerce.datatype.TypedProperty