java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.item.price.account.Restriction

@ApiType("SoftLayer_Product_Item_Price_Account_Restriction")
public class Restriction
extends Entity
The SoftLayer_Product_Item_Price data type gives more information about the item price restrictions. An item price may be restricted to one or more accounts. If the item price is restricted to an account, only that account will see the restriction details.
See Also:
SoftLayer_Product_Item_Price_Account_Restriction
  • Field Details

    • account

      @ApiProperty protected Account account
      The account the item price is restricted to.
    • itemPrice

      @ApiProperty protected Price itemPrice
      The item price that has the account restriction.
    • accountId

      @ApiProperty(canBeNullOrNotSet=true) protected Long accountId
      The account id for the item price account restriction.
    • accountIdSpecified

      protected boolean accountIdSpecified
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      The unique identifier for the item price account restriction.
    • idSpecified

      protected boolean idSpecified
    • itemPriceId

      @ApiProperty(canBeNullOrNotSet=true) protected Long itemPriceId
      The item price id for the item price account restriction.
    • itemPriceIdSpecified

      protected boolean itemPriceIdSpecified
  • Constructor Details

    • Restriction

      public Restriction()
  • Method Details

    • getAccount

      public Account getAccount()
    • setAccount

      public void setAccount​(Account account)
    • getItemPrice

      public Price getItemPrice()
    • setItemPrice

      public void setItemPrice​(Price itemPrice)
    • getAccountId

      public Long getAccountId()
    • setAccountId

      public void setAccountId​(Long accountId)
    • isAccountIdSpecified

      public boolean isAccountIdSpecified()
    • unsetAccountId

      public void unsetAccountId()
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getItemPriceId

      public Long getItemPriceId()
    • setItemPriceId

      public void setItemPriceId​(Long itemPriceId)
    • isItemPriceIdSpecified

      public boolean isItemPriceIdSpecified()
    • unsetItemPriceId

      public void unsetItemPriceId()