Class 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 Detail

      • itemPrice

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

        protected boolean accountIdSpecified
      • idSpecified

        protected boolean idSpecified
      • itemPriceIdSpecified

        protected boolean itemPriceIdSpecified
    • Constructor Detail

      • Restriction

        public Restriction()
    • Method Detail

      • 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()