public class ReturnTCDataBean extends java.lang.Object implements SmartDataBean, Delegator
Constructor and Description |
---|
ReturnTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
Constructs an ReturnTCDataBean from an existing contract identifier Finds the Returns Policy and Refund terms and conditions in the contract
|
Modifier and Type | Method and Description |
---|---|
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
|
Protectable | getDelegate()
Returns the access control delegate of this data bean
|
java.lang.String | getLanguageId()
Gets the language identifier in which the data was retrieved
|
TypedProperty | getRequestProperties()
Gets the request properties
|
java.lang.String | getReturnApprovalPolicy()
Gets the name of the Returns Approval policy
|
java.lang.String | getReturnApprovalPolicyNumber()
Gets the Return Approval policy reference number
|
java.lang.String | getReturnChargePolicy()
Gets the name of the Returns Charge policy
|
java.lang.String | getReturnChargePolicyNumber()
Gets the Returns Charge policy reference number
|
java.lang.String | getReturnChargeReferenceNumber()
Gets the Returns Charge policy reference number
|
java.lang.String[] | getReturnPaymentPolicies()
Gets the list of Returns Refund policies in the contract
|
java.lang.String | getReturnPaymentPolicy(int i)
Gets a Return Refund policy name
|
java.lang.String | getReturnPaymentPolicyNumber(int i)
Gets a Return Refund policy reference number
|
java.lang.String[] | getReturnPaymentPolicyNumbers()
Gets a list of the Returns Refund policy reference numbers
|
java.lang.String | getReturnPaymentReferenceNumber(int i)
Gets a Return Refund policy reference number
|
java.lang.String[] | getReturnPaymentReferenceNumbers()
Gets a list of the Returns Refund policy reference numbers
|
void | populate()
This method is used to retrieve the Returns data in the contract.
|
void | setCommandContext(CommandContext newICommandContext)
Sets the command context
|
void | setRequestProperties(TypedProperty param)
Sets the request properties.
|
public ReturnTCDataBean(java.lang.Long newContractId, java.lang.Integer newLangId)
public CommandContext getCommandContext()
public java.lang.Long getContractId()
public Protectable getDelegate() throws java.lang.Exception
public java.lang.String getLanguageId()
public TypedProperty getRequestProperties()
public java.lang.String getReturnApprovalPolicy()
public java.lang.String getReturnApprovalPolicyNumber()
public java.lang.String getReturnChargePolicy()
public java.lang.String getReturnChargePolicyNumber()
public java.lang.String getReturnChargeReferenceNumber()
public java.lang.String[] getReturnPaymentPolicies()
public java.lang.String getReturnPaymentPolicy(int i)
public java.lang.String getReturnPaymentPolicyNumber(int i)
public java.lang.String[] getReturnPaymentPolicyNumbers()
public java.lang.String getReturnPaymentReferenceNumber(int i)
public java.lang.String[] getReturnPaymentReferenceNumbers()
public void populate() throws java.lang.Exception
public void setCommandContext(CommandContext newICommandContext)
public void setRequestProperties(TypedProperty param)