|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.tif.SubsReflect
public class SubsReflect
This class represents a subscription reflect.
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="subsReflect">
<xs:complexType>
<xs:sequence>
<xs:element name="detail" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="subscriberAccount" type="xs:string"/>
<xs:attribute name="serviceProvider" type="xs:string"/>
<xs:attribute name="subscriptionCode" type="xs:string"/>
<xs:attribute name="exportDate" type="xs:dateTime"/>
</xs:complexType>
</xs:element>
| Constructor Summary | |
|---|---|
SubsReflect()
Builds an empty subscription reflect. |
|
SubsReflect(java.lang.String subscriberAccountReference,
java.lang.String subscriberAccountCode,
java.lang.String serviceProvider,
java.lang.String subscriptionCode,
java.util.Date exportDate,
java.util.List<SubsReflectDetail> details)
Initializes a subscription reflect. |
|
SubsReflect(SubscriberAccountModel suacModel,
java.lang.String subscriptionCode,
java.util.Date exportDate,
java.util.List<SubsReflectDetail> details)
Initializes a subscription reflect. |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
void |
addDetail(java.lang.String name,
java.lang.Object value)
Add a subscription detail to the subscription reflect |
void |
addDetail(java.lang.String name,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
Add a charge detail to the subscription reflect. |
java.util.Date |
getExportDate()
Gets the export date. |
java.lang.String |
getServiceProvider()
Returns the service provider of the subscription reflect. |
java.lang.String |
getSubscriberAccountCode()
Returns the subscriber account code of the subscription reflect. |
java.lang.String |
getSubscriberAccountReference()
Returns the subscriber account reference of the subscription reflect. |
java.lang.String |
getSubscriptionCode()
Gets the subscription code of the subscription reflect. |
java.util.List<SubsReflectDetail> |
getSubsReflectDetails()
Returns the list of subsReflect |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setExportDate(java.util.Date exportDate)
Sets the date. |
void |
setServiceProvider(java.lang.String serviceProvider)
Sets the service provider of the subscription reflect. |
void |
setSubscriberAccountCode(java.lang.String subscriberAccountCode)
Sets the subscriber account code of the subscription reflect. |
void |
setSubscriberAccountReference(java.lang.String subscriberAccountReference)
Sets the subscriber account reference of the subscription reflect. |
void |
setSubscriptionCode(java.lang.String code)
Sets the subscription code. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SubsReflect()
public SubsReflect(java.lang.String subscriberAccountReference,
java.lang.String subscriberAccountCode,
java.lang.String serviceProvider,
java.lang.String subscriptionCode,
java.util.Date exportDate,
java.util.List<SubsReflectDetail> details)
subscriberAccountReference - the reference of the subscriber account owner of the charged accountsubscriberAccountCode - the code of the subscriber account owner of the charged accountserviceProvider - the service provider of the subscriber account owner of the charged accountsubscriptionCode - the exported subscription codeexportDate - the date when the subscription is exporteddetails - a list of SubsReflectDetail
public SubsReflect(SubscriberAccountModel suacModel,
java.lang.String subscriptionCode,
java.util.Date exportDate,
java.util.List<SubsReflectDetail> details)
suacModel - the subscriber account owner of the charged accountsubscriptionCode - the exported subscription codeexportDate - the date when the subscription is exporteddetails - a list of SubsReflectDetail| Method Detail |
|---|
public java.lang.String getSubscriptionCode()
public void setSubscriptionCode(java.lang.String code)
code - the subscription code of the reflect.public java.util.Date getExportDate()
public void setExportDate(java.util.Date exportDate)
exportDate - the subscription export date.public java.lang.String getSubscriberAccountCode()
public void setSubscriberAccountCode(java.lang.String subscriberAccountCode)
subscriberAccountCode - the subscriber account code of the subscription reflect.public java.lang.String getSubscriberAccountReference()
public void setSubscriberAccountReference(java.lang.String subscriberAccountReference)
subscriberAccountReference - the subscriber account reference of the subscription reflect.public java.lang.String getServiceProvider()
public void setServiceProvider(java.lang.String serviceProvider)
serviceProvider - the serviceProvider to setpublic java.util.List<SubsReflectDetail> getSubsReflectDetails()
subsReflect
public void addDetail(java.lang.String name,
java.lang.Object value,
java.lang.String caCode,
java.lang.Long caOid)
name - the name of the detailvalue - the Object value of the detail.caCode - the charge activation code of the detail.caOid - the charge activation id of the detail.
public void addDetail(java.lang.String name,
java.lang.Object value)
name - the name of the detail.value - the Object value of the detail.public void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current element
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||