java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.billing.order.Item

@ApiType("SoftLayer_Billing_Order_Item")
public class Item
extends Entity
Every individual item that a SoftLayer customer is billed for is recorded in the SoftLayer_Billing_Item data type. Billing items range from server chassis to hard drives to control panels, bandwidth quota upgrades and port upgrade charges. Softlayer [[SoftLayer_Billing_Invoice|invoices]] are generated from the cost of a customer's billing items. Billing items are copied from the product catalog as they're ordered by customers to create a reference between an account and the billable items they own.

Billing items exist in a tree relationship. Items are associated with each other by parent/child relationships. Component items such as CPU's, RAM, and software each have a parent billing item for the server chassis they're associated with. Billing Items with a null parent item do not have an associated parent item.
See Also:
SoftLayer_Billing_Order_Item
  • Field Details

    • billingItem

      @ApiProperty protected Item billingItem
      The SoftLayer_Billing_Item tied to the order item.
    • bundledItems

      @ApiProperty protected List<Item> bundledItems
      The other items included with an ordered item.
    • category

      @ApiProperty protected Category category
      The item category tied to an order item.
    • children

      @ApiProperty protected List<Item> children
      The child order items for an order item. All server order items should have children. These children are considered a part of the server.
    • globalIdentifier

      @ApiProperty protected String globalIdentifier
      A hardware's universally unique identifier.
    • hardwareGenericComponent

      @ApiProperty protected Generic hardwareGenericComponent
      The component type tied to an order item. All hardware-specific items should have a generic hardware component.
    • item

      @ApiProperty protected Item item
      The SoftLayer_Product_Item tied to an order item. The item is the actual definition of the product being sold.
    • itemCategoryAnswers

      @ApiProperty protected List<Answer> itemCategoryAnswers
      This is an item's category answers.
    • itemPrice

      @ApiProperty protected Price itemPrice
      The SoftLayer_Product_Item_Price tied to an order item. The item price object describes the cost of an item.
    • location

      @ApiProperty protected Location location
      The location of an ordered item. This is usually the same as the server it is being ordered with. Otherwise it describes the location of the additional service being ordered.
    • nextOrderChildren

      @ApiProperty protected List<Item> nextOrderChildren
    • oldBillingItem

      @ApiProperty protected Item oldBillingItem
      This is only populated when an upgrade order is placed. The old billing item represents what the billing was before the upgrade happened.
    • order

      @ApiProperty protected Order order
      The order to which this item belongs. The order contains all the information related to the items included in an order
    • orderApprovalDate

      @ApiProperty protected GregorianCalendar orderApprovalDate
    • itemPackage

      @ApiProperty("package") protected Package itemPackage
      The SoftLayer_Product_Package an order item is a part of.
    • parent

      @ApiProperty protected Item parent
      The parent order item ID for an item. Items that are associated with a server will have a parent. The parent will be the server item itself.
    • preset

      @ApiProperty protected Preset preset
      The SoftLayer_Product_Package_Preset related to this order item.
    • promoCode

      @ApiProperty protected Promotion promoCode
    • redundantPowerSupplyCount

      @ApiProperty protected Long redundantPowerSupplyCount
      A count of power supplies contained within this SoftLayer_Billing_Order
    • softwareDescription

      @ApiProperty protected Description softwareDescription
      For ordered items that are software items, a full description of that software can be found with this property.
    • storageGroups

      @ApiProperty protected List<Order> storageGroups
      The drive storage groups that are attached to this billing order item.
    • totalRecurringAmount

      @ApiProperty protected BigDecimal totalRecurringAmount
      The recurring fee of an ordered item. This amount represents the fees that will be charged on a recurring (usually monthly) basis.
    • upgradeItem

      @ApiProperty protected Item upgradeItem
      The next SoftLayer_Product_Item in the upgrade path for this order item.
    • categoryCode

      @ApiProperty(canBeNullOrNotSet=true) protected String categoryCode
      The category code for the order item.
    • categoryCodeSpecified

      protected boolean categoryCodeSpecified
    • description

      @ApiProperty(canBeNullOrNotSet=true) protected String description
      friendly description of purchase item.
    • descriptionSpecified

      protected boolean descriptionSpecified
    • domainName

      @ApiProperty(canBeNullOrNotSet=true) protected String domainName
      The domain name of the server as designated by the purchaser at the time of order placement.
    • domainNameSpecified

      protected boolean domainNameSpecified
    • hostName

      @ApiProperty(canBeNullOrNotSet=true) protected String hostName
      The hostname of the server as designated by the purchaser at the time of order placement.
    • hostNameSpecified

      protected boolean hostNameSpecified
    • hourlyRecurringFee

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal hourlyRecurringFee
      The amount of money charged per hourly for an order item, if applicable, and only if it was ordered this day. hourlyRecurringFee is measured in US Dollars ($USD).
    • hourlyRecurringFeeSpecified

      protected boolean hourlyRecurringFeeSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
    • idSpecified

      protected boolean idSpecified
    • itemId

      @ApiProperty(canBeNullOrNotSet=true) protected Long itemId
      The SoftLayer_Product_Item ID for this order item.
    • itemIdSpecified

      protected boolean itemIdSpecified
    • itemPriceId

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal itemPriceId
      the item price id (SoftLayer_Product_Item_Price->id) of the ordered item.
    • itemPriceIdSpecified

      protected boolean itemPriceIdSpecified
    • laborAfterTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal laborAfterTaxAmount
      An order item's labor fee total after taxes. This does not include any child invoice items.
    • laborAfterTaxAmountSpecified

      protected boolean laborAfterTaxAmountSpecified
    • laborFee

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal laborFee
      The labor fee, if any. This is a one time charge.
    • laborFeeSpecified

      protected boolean laborFeeSpecified
    • laborFeeTaxRate

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal laborFeeTaxRate
      The rate at which labor fees are taxed if you are a taxable customer.
    • laborFeeTaxRateSpecified

      protected boolean laborFeeTaxRateSpecified
    • laborTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal laborTaxAmount
      An order item's labor tax amount. This does not include any child invoice items.
    • laborTaxAmountSpecified

      protected boolean laborTaxAmountSpecified
    • oneTimeAfterTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeAfterTaxAmount
      An order item's one-time fee total after taxes. This does not include any child invoice items.
    • oneTimeAfterTaxAmountSpecified

      protected boolean oneTimeAfterTaxAmountSpecified
    • oneTimeFee

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeFee
      The amount of money charged as a one-time charge for an order item, if applicable. oneTimeFee is measured in US Dollars ($USD).
    • oneTimeFeeSpecified

      protected boolean oneTimeFeeSpecified
    • oneTimeFeeTaxRate

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeFeeTaxRate
      The rate at which one time fees are taxed if you are a taxable customer.
    • oneTimeFeeTaxRateSpecified

      protected boolean oneTimeFeeTaxRateSpecified
    • oneTimeTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeTaxAmount
      An order item's one-time tax amount. This does not include any child invoice items.
    • oneTimeTaxAmountSpecified

      protected boolean oneTimeTaxAmountSpecified
    • parentId

      @ApiProperty(canBeNullOrNotSet=true) protected Long parentId
    • parentIdSpecified

      protected boolean parentIdSpecified
    • presetId

      @ApiProperty(canBeNullOrNotSet=true) protected Long presetId
      The id for the preset configuration ordered.
    • presetIdSpecified

      protected boolean presetIdSpecified
    • promoCodeId

      @ApiProperty(canBeNullOrNotSet=true) protected Long promoCodeId
    • promoCodeIdSpecified

      protected boolean promoCodeIdSpecified
    • quantity

      @ApiProperty(canBeNullOrNotSet=true) protected Long quantity
      the quantity of the ordered item in a quote.
    • quantitySpecified

      protected boolean quantitySpecified
    • recurringAfterTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal recurringAfterTaxAmount
      An order item's recurring fee total after taxes. This does not include any child invoice items.
    • recurringAfterTaxAmountSpecified

      protected boolean recurringAfterTaxAmountSpecified
    • recurringFee

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal recurringFee
      The amount of money charged per month for an order item, if applicable. recurringFee is measured in US Dollars ($USD).
    • recurringFeeSpecified

      protected boolean recurringFeeSpecified
    • recurringTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal recurringTaxAmount
      An order item's recurring tax amount. This does not include any child invoice items.
    • recurringTaxAmountSpecified

      protected boolean recurringTaxAmountSpecified
    • setupAfterTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal setupAfterTaxAmount
      An order item's setup fee total after taxes. This does not include any child invoice items.
    • setupAfterTaxAmountSpecified

      protected boolean setupAfterTaxAmountSpecified
    • setupFee

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal setupFee
      The setup fee, if any. This is a one time charge.
    • setupFeeSpecified

      protected boolean setupFeeSpecified
    • setupFeeDeferralMonths

      @ApiProperty(canBeNullOrNotSet=true) protected Long setupFeeDeferralMonths
      The month set up fee deferral.
    • setupFeeDeferralMonthsSpecified

      protected boolean setupFeeDeferralMonthsSpecified
    • setupFeeTaxRate

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal setupFeeTaxRate
      The rate at which setup fees are taxed if you are a taxable customer.
    • setupFeeTaxRateSpecified

      protected boolean setupFeeTaxRateSpecified
    • setupTaxAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal setupTaxAmount
      An order item's setup tax amount. This does not include any child invoice items.
    • setupTaxAmountSpecified

      protected boolean setupTaxAmountSpecified
    • bundledItemCount

      @ApiProperty protected Long bundledItemCount
      A count of the other items included with an ordered item.
    • childrenCount

      @ApiProperty protected Long childrenCount
      A count of the child order items for an order item. All server order items should have children. These children are considered a part of the server.
    • itemCategoryAnswerCount

      @ApiProperty protected Long itemCategoryAnswerCount
      A count of this is an item's category answers.
    • nextOrderChildrenCount

      @ApiProperty protected Long nextOrderChildrenCount
      A count of
    • storageGroupCount

      @ApiProperty protected Long storageGroupCount
      A count of the drive storage groups that are attached to this billing order item.
  • Constructor Details

    • Item

      public Item()
  • Method Details

    • getBillingItem

      public Item getBillingItem()
    • setBillingItem

      public void setBillingItem​(Item billingItem)
    • getBundledItems

      public List<Item> getBundledItems()
    • getCategory

      public Category getCategory()
    • setCategory

      public void setCategory​(Category category)
    • getChildren

      public List<Item> getChildren()
    • getGlobalIdentifier

      public String getGlobalIdentifier()
    • setGlobalIdentifier

      public void setGlobalIdentifier​(String globalIdentifier)
    • getHardwareGenericComponent

      public Generic getHardwareGenericComponent()
    • setHardwareGenericComponent

      public void setHardwareGenericComponent​(Generic hardwareGenericComponent)
    • getItem

      public Item getItem()
    • setItem

      public void setItem​(Item item)
    • getItemCategoryAnswers

      public List<Answer> getItemCategoryAnswers()
    • getItemPrice

      public Price getItemPrice()
    • setItemPrice

      public void setItemPrice​(Price itemPrice)
    • getLocation

      public Location getLocation()
    • setLocation

      public void setLocation​(Location location)
    • getNextOrderChildren

      public List<Item> getNextOrderChildren()
    • getOldBillingItem

      public Item getOldBillingItem()
    • setOldBillingItem

      public void setOldBillingItem​(Item oldBillingItem)
    • getOrder

      public Order getOrder()
    • setOrder

      public void setOrder​(Order order)
    • getOrderApprovalDate

      public GregorianCalendar getOrderApprovalDate()
    • setOrderApprovalDate

      public void setOrderApprovalDate​(GregorianCalendar orderApprovalDate)
    • getItemPackage

      public Package getItemPackage()
    • setItemPackage

      public void setItemPackage​(Package itemPackage)
    • getParent

      public Item getParent()
    • setParent

      public void setParent​(Item parent)
    • getPreset

      public Preset getPreset()
    • setPreset

      public void setPreset​(Preset preset)
    • getPromoCode

      public Promotion getPromoCode()
    • setPromoCode

      public void setPromoCode​(Promotion promoCode)
    • getRedundantPowerSupplyCount

      public Long getRedundantPowerSupplyCount()
    • setRedundantPowerSupplyCount

      public void setRedundantPowerSupplyCount​(Long redundantPowerSupplyCount)
    • getSoftwareDescription

      public Description getSoftwareDescription()
    • setSoftwareDescription

      public void setSoftwareDescription​(Description softwareDescription)
    • getStorageGroups

      public List<Order> getStorageGroups()
    • getTotalRecurringAmount

      public BigDecimal getTotalRecurringAmount()
    • setTotalRecurringAmount

      public void setTotalRecurringAmount​(BigDecimal totalRecurringAmount)
    • getUpgradeItem

      public Item getUpgradeItem()
    • setUpgradeItem

      public void setUpgradeItem​(Item upgradeItem)
    • getCategoryCode

      public String getCategoryCode()
    • setCategoryCode

      public void setCategoryCode​(String categoryCode)
    • isCategoryCodeSpecified

      public boolean isCategoryCodeSpecified()
    • unsetCategoryCode

      public void unsetCategoryCode()
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription​(String description)
    • isDescriptionSpecified

      public boolean isDescriptionSpecified()
    • unsetDescription

      public void unsetDescription()
    • getDomainName

      public String getDomainName()
    • setDomainName

      public void setDomainName​(String domainName)
    • isDomainNameSpecified

      public boolean isDomainNameSpecified()
    • unsetDomainName

      public void unsetDomainName()
    • getHostName

      public String getHostName()
    • setHostName

      public void setHostName​(String hostName)
    • isHostNameSpecified

      public boolean isHostNameSpecified()
    • unsetHostName

      public void unsetHostName()
    • getHourlyRecurringFee

      public BigDecimal getHourlyRecurringFee()
    • setHourlyRecurringFee

      public void setHourlyRecurringFee​(BigDecimal hourlyRecurringFee)
    • isHourlyRecurringFeeSpecified

      public boolean isHourlyRecurringFeeSpecified()
    • unsetHourlyRecurringFee

      public void unsetHourlyRecurringFee()
    • 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()
    • getItemPriceId

      public BigDecimal getItemPriceId()
    • setItemPriceId

      public void setItemPriceId​(BigDecimal itemPriceId)
    • isItemPriceIdSpecified

      public boolean isItemPriceIdSpecified()
    • unsetItemPriceId

      public void unsetItemPriceId()
    • getLaborAfterTaxAmount

      public BigDecimal getLaborAfterTaxAmount()
    • setLaborAfterTaxAmount

      public void setLaborAfterTaxAmount​(BigDecimal laborAfterTaxAmount)
    • isLaborAfterTaxAmountSpecified

      public boolean isLaborAfterTaxAmountSpecified()
    • unsetLaborAfterTaxAmount

      public void unsetLaborAfterTaxAmount()
    • getLaborFee

      public BigDecimal getLaborFee()
    • setLaborFee

      public void setLaborFee​(BigDecimal laborFee)
    • isLaborFeeSpecified

      public boolean isLaborFeeSpecified()
    • unsetLaborFee

      public void unsetLaborFee()
    • getLaborFeeTaxRate

      public BigDecimal getLaborFeeTaxRate()
    • setLaborFeeTaxRate

      public void setLaborFeeTaxRate​(BigDecimal laborFeeTaxRate)
    • isLaborFeeTaxRateSpecified

      public boolean isLaborFeeTaxRateSpecified()
    • unsetLaborFeeTaxRate

      public void unsetLaborFeeTaxRate()
    • getLaborTaxAmount

      public BigDecimal getLaborTaxAmount()
    • setLaborTaxAmount

      public void setLaborTaxAmount​(BigDecimal laborTaxAmount)
    • isLaborTaxAmountSpecified

      public boolean isLaborTaxAmountSpecified()
    • unsetLaborTaxAmount

      public void unsetLaborTaxAmount()
    • getOneTimeAfterTaxAmount

      public BigDecimal getOneTimeAfterTaxAmount()
    • setOneTimeAfterTaxAmount

      public void setOneTimeAfterTaxAmount​(BigDecimal oneTimeAfterTaxAmount)
    • isOneTimeAfterTaxAmountSpecified

      public boolean isOneTimeAfterTaxAmountSpecified()
    • unsetOneTimeAfterTaxAmount

      public void unsetOneTimeAfterTaxAmount()
    • getOneTimeFee

      public BigDecimal getOneTimeFee()
    • setOneTimeFee

      public void setOneTimeFee​(BigDecimal oneTimeFee)
    • isOneTimeFeeSpecified

      public boolean isOneTimeFeeSpecified()
    • unsetOneTimeFee

      public void unsetOneTimeFee()
    • getOneTimeFeeTaxRate

      public BigDecimal getOneTimeFeeTaxRate()
    • setOneTimeFeeTaxRate

      public void setOneTimeFeeTaxRate​(BigDecimal oneTimeFeeTaxRate)
    • isOneTimeFeeTaxRateSpecified

      public boolean isOneTimeFeeTaxRateSpecified()
    • unsetOneTimeFeeTaxRate

      public void unsetOneTimeFeeTaxRate()
    • getOneTimeTaxAmount

      public BigDecimal getOneTimeTaxAmount()
    • setOneTimeTaxAmount

      public void setOneTimeTaxAmount​(BigDecimal oneTimeTaxAmount)
    • isOneTimeTaxAmountSpecified

      public boolean isOneTimeTaxAmountSpecified()
    • unsetOneTimeTaxAmount

      public void unsetOneTimeTaxAmount()
    • getParentId

      public Long getParentId()
    • setParentId

      public void setParentId​(Long parentId)
    • isParentIdSpecified

      public boolean isParentIdSpecified()
    • unsetParentId

      public void unsetParentId()
    • getPresetId

      public Long getPresetId()
    • setPresetId

      public void setPresetId​(Long presetId)
    • isPresetIdSpecified

      public boolean isPresetIdSpecified()
    • unsetPresetId

      public void unsetPresetId()
    • getPromoCodeId

      public Long getPromoCodeId()
    • setPromoCodeId

      public void setPromoCodeId​(Long promoCodeId)
    • isPromoCodeIdSpecified

      public boolean isPromoCodeIdSpecified()
    • unsetPromoCodeId

      public void unsetPromoCodeId()
    • getQuantity

      public Long getQuantity()
    • setQuantity

      public void setQuantity​(Long quantity)
    • isQuantitySpecified

      public boolean isQuantitySpecified()
    • unsetQuantity

      public void unsetQuantity()
    • getRecurringAfterTaxAmount

      public BigDecimal getRecurringAfterTaxAmount()
    • setRecurringAfterTaxAmount

      public void setRecurringAfterTaxAmount​(BigDecimal recurringAfterTaxAmount)
    • isRecurringAfterTaxAmountSpecified

      public boolean isRecurringAfterTaxAmountSpecified()
    • unsetRecurringAfterTaxAmount

      public void unsetRecurringAfterTaxAmount()
    • getRecurringFee

      public BigDecimal getRecurringFee()
    • setRecurringFee

      public void setRecurringFee​(BigDecimal recurringFee)
    • isRecurringFeeSpecified

      public boolean isRecurringFeeSpecified()
    • unsetRecurringFee

      public void unsetRecurringFee()
    • getRecurringTaxAmount

      public BigDecimal getRecurringTaxAmount()
    • setRecurringTaxAmount

      public void setRecurringTaxAmount​(BigDecimal recurringTaxAmount)
    • isRecurringTaxAmountSpecified

      public boolean isRecurringTaxAmountSpecified()
    • unsetRecurringTaxAmount

      public void unsetRecurringTaxAmount()
    • getSetupAfterTaxAmount

      public BigDecimal getSetupAfterTaxAmount()
    • setSetupAfterTaxAmount

      public void setSetupAfterTaxAmount​(BigDecimal setupAfterTaxAmount)
    • isSetupAfterTaxAmountSpecified

      public boolean isSetupAfterTaxAmountSpecified()
    • unsetSetupAfterTaxAmount

      public void unsetSetupAfterTaxAmount()
    • getSetupFee

      public BigDecimal getSetupFee()
    • setSetupFee

      public void setSetupFee​(BigDecimal setupFee)
    • isSetupFeeSpecified

      public boolean isSetupFeeSpecified()
    • unsetSetupFee

      public void unsetSetupFee()
    • getSetupFeeDeferralMonths

      public Long getSetupFeeDeferralMonths()
    • setSetupFeeDeferralMonths

      public void setSetupFeeDeferralMonths​(Long setupFeeDeferralMonths)
    • isSetupFeeDeferralMonthsSpecified

      public boolean isSetupFeeDeferralMonthsSpecified()
    • unsetSetupFeeDeferralMonths

      public void unsetSetupFeeDeferralMonths()
    • getSetupFeeTaxRate

      public BigDecimal getSetupFeeTaxRate()
    • setSetupFeeTaxRate

      public void setSetupFeeTaxRate​(BigDecimal setupFeeTaxRate)
    • isSetupFeeTaxRateSpecified

      public boolean isSetupFeeTaxRateSpecified()
    • unsetSetupFeeTaxRate

      public void unsetSetupFeeTaxRate()
    • getSetupTaxAmount

      public BigDecimal getSetupTaxAmount()
    • setSetupTaxAmount

      public void setSetupTaxAmount​(BigDecimal setupTaxAmount)
    • isSetupTaxAmountSpecified

      public boolean isSetupTaxAmountSpecified()
    • unsetSetupTaxAmount

      public void unsetSetupTaxAmount()
    • getBundledItemCount

      public Long getBundledItemCount()
    • setBundledItemCount

      public void setBundledItemCount​(Long bundledItemCount)
    • getChildrenCount

      public Long getChildrenCount()
    • setChildrenCount

      public void setChildrenCount​(Long childrenCount)
    • getItemCategoryAnswerCount

      public Long getItemCategoryAnswerCount()
    • setItemCategoryAnswerCount

      public void setItemCategoryAnswerCount​(Long itemCategoryAnswerCount)
    • getNextOrderChildrenCount

      public Long getNextOrderChildrenCount()
    • setNextOrderChildrenCount

      public void setNextOrderChildrenCount​(Long nextOrderChildrenCount)
    • getStorageGroupCount

      public Long getStorageGroupCount()
    • setStorageGroupCount

      public void setStorageGroupCount​(Long storageGroupCount)
    • asService

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

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

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

      public static Item.Service service​(ApiClient client, String globalIdentifier)