public class PServiceInfo extends Object
PServiceName
The object holds information about service typeModifier and Type | Field and Description |
---|---|
static int |
HIDE_SERVICE_AND_DEAL_NAMES |
static int |
MEMBER_SERVICE |
static int |
OPTIONAL_SERVICE |
static int |
REQUIRED_SERVICE |
static int |
SHOW_DEAL_NAME |
static int |
SHOW_SERVICE_AND_DEAL_NAMES |
static int |
STANDALONE_SERVICE |
static int |
SUBSCRIPTION_SERVICE |
Constructor and Description |
---|
PServiceInfo(String strServiceName)
Constructor with paytype name
|
PServiceInfo(String strServiceName,
Poid serviceObject)
Constructor with paytype name and payinfo object
|
PServiceInfo(String strServiceName,
Poid serviceObject,
int intServiceType)
Constructor with paytype name, payinfo object and paytype id has params
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this object to the specified object.
|
String |
getServiceName()
Returns stored paytype name
|
Poid |
getServiceObject()
Returns pay info object poid
|
int |
getServiceType()
Returns stored paytype id
|
void |
setServiceName(String strServiceName)
Set paytype name
|
void |
setServiceObject(Poid serviceObject)
Set payinfo object
|
void |
setServiceType(int intServiceType)
Set pay type id
|
String |
toString()
Returns string representation of paytype object
|
public static final int STANDALONE_SERVICE
public static final int SUBSCRIPTION_SERVICE
public static final int MEMBER_SERVICE
public static final int OPTIONAL_SERVICE
public static final int REQUIRED_SERVICE
public static final int HIDE_SERVICE_AND_DEAL_NAMES
public static final int SHOW_DEAL_NAME
public static final int SHOW_SERVICE_AND_DEAL_NAMES
public PServiceInfo(String strServiceName)
strServiceName
- Stringpublic PServiceInfo(String strServiceName, Poid serviceObject)
strServiceName
- StringserviceObject
- Poidpublic void setServiceName(String strServiceName)
strServiceName
- Stringpublic String getServiceName()
public void setServiceObject(Poid serviceObject)
serviceObject
- Poidpublic Poid getServiceObject()
public void setServiceType(int intServiceType)
intServiceType
- intpublic int getServiceType()
public boolean equals(Object obj)
true
if and only if the argument is not
null
and is an PServiceName
object that
contains the same payinfo
object value as this object.Copyright © 2003, 2023, Oracle and/or its affiliates.