Class Discount

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

public class Discount extends Extension implements Serializable
Information about the discounts.

Java class for Discount complex type

.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="Discount">
   <complexContent>
     <extension base="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}extension">
       <sequence>
         <element name="id" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}resourceRef"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="planName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="purchaseDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="purchaseEndDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="lastStatusChange" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="status" minOccurs="0">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             </restriction>
           </simpleType>
         </element>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • id

      protected ResourceRef id
    • name

      protected String name
      The discount's name.
    • planName

      protected String planName
      The name of the package containing the discount.
    • description

      protected String description
      The discount's description.
    • purchaseDate

      protected Calendar purchaseDate
      The date and time the discount was purchased.
    • purchaseEndDate

      protected Calendar purchaseEndDate
      The date and time the purchase ends.
    • lastStatusChange

      protected Calendar lastStatusChange
      The date and time the discount's status was last changed.
    • status

      protected String status
      The discount's status
    • type

      protected int type
      The type of discount. Can be one of the following:
      • 0: Optional
      • 1: Required
      • 2: Regular
  • Constructor Details

    • Discount

      public Discount()
  • Method Details

    • getId

      public ResourceRef getId()
      Gets the value of the id property.
      Returns:
      possible object is ResourceRef
    • setId

      public void setId(ResourceRef value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is ResourceRef
    • getName

      public String getName()
      The discount's name.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPlanName

      public String getPlanName()
      The name of the package containing the discount.
      Returns:
      possible object is String
    • setPlanName

      public void setPlanName(String value)
      Sets the value of the planName property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDescription

      public String getDescription()
      The discount's description.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPurchaseDate

      public Calendar getPurchaseDate()
      The date and time the discount was purchased.
      Returns:
      possible object is String
    • setPurchaseDate

      public void setPurchaseDate(Calendar value)
      Sets the value of the purchaseDate property.
      Parameters:
      value - allowed object is String
      See Also:
    • getPurchaseEndDate

      public Calendar getPurchaseEndDate()
      The date and time the purchase ends.
      Returns:
      possible object is String
    • setPurchaseEndDate

      public void setPurchaseEndDate(Calendar value)
      Sets the value of the purchaseEndDate property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLastStatusChange

      public Calendar getLastStatusChange()
      The date and time the discount's status was last changed.
      Returns:
      possible object is String
    • setLastStatusChange

      public void setLastStatusChange(Calendar value)
      Sets the value of the lastStatusChange property.
      Parameters:
      value - allowed object is String
      See Also:
    • getStatus

      public String getStatus()
      The discount's status
      Returns:
      possible object is String
    • setStatus

      public void setStatus(String value)
      Sets the value of the status property.
      Parameters:
      value - allowed object is String
      See Also:
    • getType

      public int getType()
      The type of discount. Can be one of the following:
      • 0: Optional
      • 1: Required
      • 2: Regular
    • setType

      public void setType(int value)
      Sets the value of the type property.