Package com.portal.app.ccare.comp
Class PServiceInfo
java.lang.Object
com.portal.app.ccare.comp.PServiceInfo
PServiceName
The object holds information about service type- Author:
- Manjunatha L
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
ConstructorsConstructorDescriptionPServiceInfo
(String strServiceName) Constructor with paytype namePServiceInfo
(String strServiceName, Poid serviceObject) Constructor with paytype name and payinfo objectPServiceInfo
(String strServiceName, Poid serviceObject, int intServiceType) Constructor with paytype name, payinfo object and paytype id has params -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compares this object to the specified object.Returns stored paytype nameReturns pay info object poidint
Returns stored paytype idvoid
setServiceName
(String strServiceName) Set paytype namevoid
setServiceObject
(Poid serviceObject) Set payinfo objectvoid
setServiceType
(int intServiceType) Set pay type idtoString()
Returns string representation of paytype object
-
Field Details
-
STANDALONE_SERVICE
public static final int STANDALONE_SERVICE- See Also:
-
SUBSCRIPTION_SERVICE
public static final int SUBSCRIPTION_SERVICE- See Also:
-
MEMBER_SERVICE
public static final int MEMBER_SERVICE- See Also:
-
OPTIONAL_SERVICE
public static final int OPTIONAL_SERVICE- See Also:
-
REQUIRED_SERVICE
public static final int REQUIRED_SERVICE- See Also:
-
HIDE_SERVICE_AND_DEAL_NAMES
public static final int HIDE_SERVICE_AND_DEAL_NAMES- See Also:
-
SHOW_DEAL_NAME
public static final int SHOW_DEAL_NAME- See Also:
-
SHOW_SERVICE_AND_DEAL_NAMES
public static final int SHOW_SERVICE_AND_DEAL_NAMES- See Also:
-
-
Constructor Details
-
PServiceInfo
Constructor with paytype name- Parameters:
strServiceName
- String
-
PServiceInfo
Constructor with paytype name and payinfo object- Parameters:
strServiceName
- StringserviceObject
- Poid
-
PServiceInfo
Constructor with paytype name, payinfo object and paytype id has params- Parameters:
strServiceName
- StringserviceObject
- PoidintServiceType
- int
-
-
Method Details
-
setServiceName
Set paytype name- Parameters:
strServiceName
- String
-
getServiceName
Returns stored paytype name- Returns:
- String
-
setServiceObject
Set payinfo object- Parameters:
serviceObject
- Poid
-
getServiceObject
Returns pay info object poid- Returns:
- Poid
-
setServiceType
public void setServiceType(int intServiceType) Set pay type id- Parameters:
intServiceType
- int
-
getServiceType
public int getServiceType()Returns stored paytype id- Returns:
- int
-
equals
Compares this object to the specified object. The result istrue
if and only if the argument is notnull
and is anPServiceName
object that contains the samepayinfo
object value as this object. -
toString
Returns string representation of paytype object
-