java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.sales.presale.Event

@ApiType("SoftLayer_Sales_Presale_Event")
public class Event
extends Entity
The presale event data types indicate the information regarding an individual presale event. The '''locationId''' will indicate the datacenter associated with the presale event. The '''itemId''' will indicate the product item associated with a particular presale event - however these are more rare. The '''startDate''' and '''endDate''' will provide information regarding when the presale event is available for use. At the end of the presale event, the server or services purchased will be available once approved and provisioned.
See Also:
SoftLayer_Sales_Presale_Event
  • Field Details

    • activeFlag

      @ApiProperty protected Boolean activeFlag
      A flag to indicate that the presale event is currently active. A presale event is active if the current time is between the start and end dates.
    • expiredFlag

      @ApiProperty protected Boolean expiredFlag
      A flag to indicate that the presale event is expired. A presale event is expired if the current time is after the end date.
    • item

      @ApiProperty protected Item item
      The [[SoftLayer_Product_Item]] associated with the presale event.
    • location

      @ApiProperty protected Location location
      The [[SoftLayer_Location]] associated with the presale event.
    • orders

      @ApiProperty protected List<Order> orders
      The orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.
    • description

      @ApiProperty(canBeNullOrNotSet=true) protected String description
      Description of the presale event.
    • descriptionSpecified

      protected boolean descriptionSpecified
    • endDate

      End date of the presale event. Orders can be approved and provisioned after this date.
    • endDateSpecified

      protected boolean endDateSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      Presale event unique identifier.
    • idSpecified

      protected boolean idSpecified
    • itemId

      @ApiProperty(canBeNullOrNotSet=true) protected Long itemId
      [[SoftLayer_Product_Item]] id associated with the presale event.
    • itemIdSpecified

      protected boolean itemIdSpecified
    • locationId

      @ApiProperty(canBeNullOrNotSet=true) protected Long locationId
      [[SoftLayer_Location]] id for the presale event.
    • locationIdSpecified

      protected boolean locationIdSpecified
    • startDate

      Start date of the presale event. Orders cannot be approved before this date.
    • startDateSpecified

      protected boolean startDateSpecified
    • orderCount

      @ApiProperty protected Long orderCount
      A count of the orders ([[SoftLayer_Billing_Order]]) associated with this presale event that were created for the customer's account.
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • getActiveFlag

      public Boolean getActiveFlag()
    • setActiveFlag

      public void setActiveFlag​(Boolean activeFlag)
    • getExpiredFlag

      public Boolean getExpiredFlag()
    • setExpiredFlag

      public void setExpiredFlag​(Boolean expiredFlag)
    • getItem

      public Item getItem()
    • setItem

      public void setItem​(Item item)
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation​(Location location)
    • getOrders

      public List<Order> getOrders()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription​(String description)
    • isDescriptionSpecified

      public boolean isDescriptionSpecified()
    • unsetDescription

      public void unsetDescription()
    • getEndDate

      public GregorianCalendar getEndDate()
    • setEndDate

      public void setEndDate​(GregorianCalendar endDate)
    • isEndDateSpecified

      public boolean isEndDateSpecified()
    • unsetEndDate

      public void unsetEndDate()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getItemId

      public Long getItemId()
    • setItemId

      public void setItemId​(Long itemId)
    • isItemIdSpecified

      public boolean isItemIdSpecified()
    • unsetItemId

      public void unsetItemId()
    • getLocationId

      public Long getLocationId()
    • setLocationId

      public void setLocationId​(Long locationId)
    • isLocationIdSpecified

      public boolean isLocationIdSpecified()
    • unsetLocationId

      public void unsetLocationId()
    • getStartDate

      public GregorianCalendar getStartDate()
    • setStartDate

      public void setStartDate​(GregorianCalendar startDate)
    • isStartDateSpecified

      public boolean isStartDateSpecified()
    • unsetStartDate

      public void unsetStartDate()
    • getOrderCount

      public Long getOrderCount()
    • setOrderCount

      public void setOrderCount​(Long orderCount)
    • asService

      public Event.Service asService​(ApiClient client)
    • service

      public static Event.Service service​(ApiClient client)
    • service

      public static Event.Service service​(ApiClient client, Long id)