Class PackageType

java.lang.Object
com.oracle.communications.brm.cc.model.PackageType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Package

public class PackageType extends Object implements Serializable

Java class for packageType complex type

.

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

 <complexType name="packageType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}id"/>
         <element name="creationDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="lastModified" type="{http://www.w3.org/2001/XMLSchema}date"/>
         <element name="validTo" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="tags" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="serviceGroup" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}groupOfServices" maxOccurs="unbounded" minOccurs="0"/>
         <element name="packageId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="serviceIds" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="purchaseFeeWaived" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="terminationFeeWaived" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="balanceGroups" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="limits" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}limitType" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
                   <element name="default" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
                   <element name="rules" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="consumptionRule" minOccurs="0">
                               <simpleType>
                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 </restriction>
                               </simpleType>
                             </element>
                           </sequence>
                           <attribute name="elem" type="{http://www.w3.org/2001/XMLSchema}int" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="elem" type="{http://www.w3.org/2001/XMLSchema}int" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="subscriptionTerms" type="{http://xmlns.oracle.com/cgbu/schemas/BusinessObjs}subscriptionTerms"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • id

      protected String id
      The ID.
    • creationDate

      protected Calendar creationDate
      The date and time the package was created.
    • description

      protected String description
      The package's description.
    • lastModified

      protected Calendar lastModified
      The date and time the package was last modified.
    • validTo

      protected Calendar validTo
      The end date for the package's validity.
    • name

      protected String name
      The package's name.
    • tags

      protected String tags
      The tags associated with the package.
    • serviceGroup

      protected List<GroupOfServices> serviceGroup
    • packageId

      protected Integer packageId
      The package's ID.
    • serviceIds

      protected List<String> serviceIds
      The list of service IDs associated with the package.
    • purchaseFeeWaived

      protected Boolean purchaseFeeWaived
      Whether to waive the purchase fee for the package (true) or not (false). The default is (false).
    • terminationFeeWaived

      protected Boolean terminationFeeWaived
      Whether to waive the termination fee for the package (true) or not (false). The default is (false).
    • balanceGroups

      protected List<PackageType.BalanceGroups> balanceGroups
      Balance groups associated with the package.
    • subscriptionTerms

      protected SubscriptionTerms subscriptionTerms
  • Constructor Details

    • PackageType

      public PackageType()
  • Method Details

    • getId

      public String getId()
      The ID.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
      See Also:
    • getCreationDate

      public Calendar getCreationDate()
      The date and time the package was created.
      Returns:
      possible object is String
    • setCreationDate

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

      public String getDescription()
      The package'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:
    • getLastModified

      public Calendar getLastModified()
      The date and time the package was last modified.
      Returns:
      possible object is String
    • setLastModified

      public void setLastModified(Calendar value)
      Sets the value of the lastModified property.
      Parameters:
      value - allowed object is String
      See Also:
    • getValidTo

      public Calendar getValidTo()
      The end date for the package's validity.
      Returns:
      possible object is String
    • setValidTo

      public void setValidTo(Calendar value)
      Sets the value of the validTo property.
      Parameters:
      value - allowed object is String
      See Also:
    • getName

      public String getName()
      The package'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:
    • getTags

      public String getTags()
      The tags associated with the package.
      Returns:
      possible object is String
    • setTags

      public void setTags(String value)
      Sets the value of the tags property.
      Parameters:
      value - allowed object is String
      See Also:
    • getServiceGroup

      public List<GroupOfServices> getServiceGroup()
      Gets the value of the serviceGroup 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 serviceGroup property.

      For example, to add a new item, do as follows:

       getServiceGroup().add(newItem);
       

      Objects of the following type(s) are allowed in the list GroupOfServices

      Returns:
      The value of the serviceGroup property.
    • getPackageId

      public Integer getPackageId()
      The package's ID.
      Returns:
      possible object is Integer
    • setPackageId

      public void setPackageId(Integer value)
      Sets the value of the packageId property.
      Parameters:
      value - allowed object is Integer
      See Also:
    • getServiceIds

      public List<String> getServiceIds()
      The list of service IDs associated with the package. Gets the value of the serviceIds 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 serviceIds property.

      For example, to add a new item, do as follows:

       getServiceIds().add(newItem);
       

      Objects of the following type(s) are allowed in the list String

      Returns:
      The value of the serviceIds property.
    • isPurchaseFeeWaived

      public Boolean isPurchaseFeeWaived()
      Whether to waive the purchase fee for the package (true) or not (false). The default is (false).
      Returns:
      possible object is Boolean
    • setPurchaseFeeWaived

      public void setPurchaseFeeWaived(Boolean value)
      Sets the value of the purchaseFeeWaived property.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • isTerminationFeeWaived

      public Boolean isTerminationFeeWaived()
      Whether to waive the termination fee for the package (true) or not (false). The default is (false).
      Returns:
      possible object is Boolean
    • setTerminationFeeWaived

      public void setTerminationFeeWaived(Boolean value)
      Sets the value of the terminationFeeWaived property.
      Parameters:
      value - allowed object is Boolean
      See Also:
    • getBalanceGroups

      public List<PackageType.BalanceGroups> getBalanceGroups()
      Balance groups associated with the package. Gets the value of the balanceGroups 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 balanceGroups property.

      For example, to add a new item, do as follows:

       getBalanceGroups().add(newItem);
       

      Objects of the following type(s) are allowed in the list PackageType.BalanceGroups

      Returns:
      The value of the balanceGroups property.
    • getSubscriptionTerms

      public SubscriptionTerms getSubscriptionTerms()
      Gets the value of the subscriptionTerms property.
      Returns:
      possible object is SubscriptionTerms
    • setSubscriptionTerms

      public void setSubscriptionTerms(SubscriptionTerms value)
      Sets the value of the subscriptionTerms property.
      Parameters:
      value - allowed object is SubscriptionTerms