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 intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic 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 TypeMethodDescriptionbooleanCompares this object to the specified object.Returns stored paytype nameReturns pay info object poidintReturns stored paytype idvoidsetServiceName(String strServiceName) Set paytype namevoidsetServiceObject(Poid serviceObject) Set payinfo objectvoidsetServiceType(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 istrueif and only if the argument is notnulland is anPServiceNameobject that contains the samepayinfoobject value as this object. -
toString
Returns string representation of paytype object
-