Class OfferStatus
- All Implemented Interfaces:
Serializable
Java class for anonymous complex type
.The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<extension base="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}extension">
<sequence>
<element name="effectiveDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
<element name="statusCode" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="chargeOffers" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ref" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}resourceRef" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="discountOffers" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ref" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}resourceRef" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
</element>
<element name="notes" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}notes" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex typestatic classJava class for anonymous complex type -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<OfferStatus.ChargeOffers> The list of charge offers.protected List<OfferStatus.DiscountOffers> The list of discount offers.protected CalendarThe date and time the status takes effect.protected Notesprotected intThe code associated with the offer's status. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe list of charge offers.The list of discount offers.The date and time the status takes effect.getNotes()Gets the value of the notes property.intThe code associated with the offer's status.voidsetEffectiveDate(Calendar value) Sets the value of the effectiveDate property.voidSets the value of the notes property.voidsetStatusCode(int value) Sets the value of the statusCode property.Methods inherited from class com.oracle.communications.brm.cc.model.Extension
getExtension, setExtension
-
Field Details
-
effectiveDate
The date and time the status takes effect. -
statusCode
protected int statusCodeThe code associated with the offer's status. Can be one of the following:- 0: Not set
- 1: Active
- 2: Inactive
- 3: Canceled
-
chargeOffers
The list of charge offers. -
discountOffers
The list of discount offers. -
notes
-
-
Constructor Details
-
OfferStatus
public OfferStatus()
-
-
Method Details
-
getEffectiveDate
The date and time the status takes effect.- Returns:
- possible object is
String
-
setEffectiveDate
Sets the value of the effectiveDate property.- Parameters:
value- allowed object isString- See Also:
-
getStatusCode
public int getStatusCode()The code associated with the offer's status. Can be one of the following:- 0: Not set
- 1: Active
- 2: Inactive
- 3: Canceled
-
setStatusCode
public void setStatusCode(int value) Sets the value of the statusCode property. -
getChargeOffers
The list of charge offers. Gets the value of the chargeOffers property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the chargeOffers property.For example, to add a new item, do as follows:
getChargeOffers().add(newItem);
Objects of the following type(s) are allowed in the list
OfferStatus.ChargeOffers- Returns:
- The value of the chargeOffers property.
-
getDiscountOffers
The list of discount offers. Gets the value of the discountOffers property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the discountOffers property.For example, to add a new item, do as follows:
getDiscountOffers().add(newItem);
Objects of the following type(s) are allowed in the list
OfferStatus.DiscountOffers- Returns:
- The value of the discountOffers property.
-
getNotes
Gets the value of the notes property.- Returns:
- possible object is
Notes
-
setNotes
Sets the value of the notes property.- Parameters:
value- allowed object isNotes
-