Class OfferStatus

java.lang.Object
com.oracle.communications.brm.cc.model.Extension
com.oracle.communications.brm.cc.model.OfferStatus
All Implemented Interfaces:
Serializable

public class OfferStatus extends Extension implements 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:
  • Field Details

    • effectiveDate

      protected Calendar effectiveDate
      The date and time the status takes effect.
    • statusCode

      protected int statusCode
      The code associated with the offer's status. Can be one of the following:
      • 0: Not set
      • 1: Active
      • 2: Inactive
      • 3: Canceled
    • chargeOffers

      protected List<OfferStatus.ChargeOffers> chargeOffers
      The list of charge offers.
    • discountOffers

      protected List<OfferStatus.DiscountOffers> discountOffers
      The list of discount offers.
    • notes

      protected Notes notes
  • Constructor Details

    • OfferStatus

      public OfferStatus()
  • Method Details

    • getEffectiveDate

      public Calendar getEffectiveDate()
      The date and time the status takes effect.
      Returns:
      possible object is String
    • setEffectiveDate

      public void setEffectiveDate(Calendar value)
      Sets the value of the effectiveDate property.
      Parameters:
      value - allowed object is String
      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

      public List<OfferStatus.ChargeOffers> 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 set method 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

      public List<OfferStatus.DiscountOffers> 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 set method 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

      public Notes getNotes()
      Gets the value of the notes property.
      Returns:
      possible object is Notes
    • setNotes

      public void setNotes(Notes value)
      Sets the value of the notes property.
      Parameters:
      value - allowed object is Notes