java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.product.item.discount.Program

@ApiType("SoftLayer_Container_Product_Item_Discount_Program")
public class Program
extends Entity
The SoftLayer_Container_Product_Item_Discount_Program data type represents the information about a discount that is related to a specific product item.
See Also:
SoftLayer_Container_Product_Item_Discount_Program
  • Field Details

    • applicableQuantity

      @ApiProperty(canBeNullOrNotSet=true) protected Long applicableQuantity
      The number of times the item discount(s) may be applied for that order container. At a minimum the number will be 1 and at most, it will match the quantity of the order container.
    • applicableQuantitySpecified

      protected boolean applicableQuantitySpecified
    • item

      @ApiProperty(canBeNullOrNotSet=true) protected Item item
      The product item that the discount applies to.
    • itemSpecified

      protected boolean itemSpecified
    • oneTimeAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeAmount
      The sum of the one time fees (one time, setup and labor) of the prices of this container multiplied by the applicable quantity of this container.
    • oneTimeAmountSpecified

      protected boolean oneTimeAmountSpecified
    • oneTimeTax

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal oneTimeTax
      The tax amount on the one time fees (one time, setup and labor) of the prices of this container mulitiplied by the applicable quantity of this container.
    • oneTimeTaxSpecified

      protected boolean oneTimeTaxSpecified
    • prices

      @ApiProperty(canBeNullOrNotSet=true) protected List<Price> prices
      The item prices that contain the amount of the discount in the recurringFee field. There may be one or more prices.
    • pricesSpecified

      protected boolean pricesSpecified
    • proratedOneTimeAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal proratedOneTimeAmount
      The sum of the one time fees (one time, setup and labor) of the prices of this container multiplied by the applicable quantity of this container with the proration factor applied.
    • proratedOneTimeAmountSpecified

      protected boolean proratedOneTimeAmountSpecified
    • proratedOneTimeTax

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal proratedOneTimeTax
      The tax amount on the one time fees (one time, setup and labor) of the prices of this container mulitiplied by the applicable quantity of this container with the proration factor applied.
    • proratedOneTimeTaxSpecified

      protected boolean proratedOneTimeTaxSpecified
    • proratedRecurringAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal proratedRecurringAmount
      The sum of the recurring fees of the prices of this container multiplied by the applicable quantity of this container with the proration factor applied.
    • proratedRecurringAmountSpecified

      protected boolean proratedRecurringAmountSpecified
    • proratedRecurringTax

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal proratedRecurringTax
      The tax amount on the recurring fees of the prices of this container mulitiplied by the applicable quantity of this container with the proration factor applied.
    • proratedRecurringTaxSpecified

      protected boolean proratedRecurringTaxSpecified
    • recurringAmount

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal recurringAmount
      The sum of the recurring fees of the prices of this container multiplied by the applicable quantity of this container.
    • recurringAmountSpecified

      protected boolean recurringAmountSpecified
    • recurringTax

      @ApiProperty(canBeNullOrNotSet=true) protected BigDecimal recurringTax
      The tax amount on the recurring fees of the prices of this container mulitiplied by the applicable quantity of this container.
    • recurringTaxSpecified

      protected boolean recurringTaxSpecified
  • Constructor Details

    • Program

      public Program()
  • Method Details

    • getApplicableQuantity

      public Long getApplicableQuantity()
    • setApplicableQuantity

      public void setApplicableQuantity​(Long applicableQuantity)
    • isApplicableQuantitySpecified

      public boolean isApplicableQuantitySpecified()
    • unsetApplicableQuantity

      public void unsetApplicableQuantity()
    • getItem

      public Item getItem()
    • setItem

      public void setItem​(Item item)
    • isItemSpecified

      public boolean isItemSpecified()
    • unsetItem

      public void unsetItem()
    • getOneTimeAmount

      public BigDecimal getOneTimeAmount()
    • setOneTimeAmount

      public void setOneTimeAmount​(BigDecimal oneTimeAmount)
    • isOneTimeAmountSpecified

      public boolean isOneTimeAmountSpecified()
    • unsetOneTimeAmount

      public void unsetOneTimeAmount()
    • getOneTimeTax

      public BigDecimal getOneTimeTax()
    • setOneTimeTax

      public void setOneTimeTax​(BigDecimal oneTimeTax)
    • isOneTimeTaxSpecified

      public boolean isOneTimeTaxSpecified()
    • unsetOneTimeTax

      public void unsetOneTimeTax()
    • getPrices

      public List<Price> getPrices()
    • isPricesSpecified

      public boolean isPricesSpecified()
    • unsetPrices

      public void unsetPrices()
    • getProratedOneTimeAmount

      public BigDecimal getProratedOneTimeAmount()
    • setProratedOneTimeAmount

      public void setProratedOneTimeAmount​(BigDecimal proratedOneTimeAmount)
    • isProratedOneTimeAmountSpecified

      public boolean isProratedOneTimeAmountSpecified()
    • unsetProratedOneTimeAmount

      public void unsetProratedOneTimeAmount()
    • getProratedOneTimeTax

      public BigDecimal getProratedOneTimeTax()
    • setProratedOneTimeTax

      public void setProratedOneTimeTax​(BigDecimal proratedOneTimeTax)
    • isProratedOneTimeTaxSpecified

      public boolean isProratedOneTimeTaxSpecified()
    • unsetProratedOneTimeTax

      public void unsetProratedOneTimeTax()
    • getProratedRecurringAmount

      public BigDecimal getProratedRecurringAmount()
    • setProratedRecurringAmount

      public void setProratedRecurringAmount​(BigDecimal proratedRecurringAmount)
    • isProratedRecurringAmountSpecified

      public boolean isProratedRecurringAmountSpecified()
    • unsetProratedRecurringAmount

      public void unsetProratedRecurringAmount()
    • getProratedRecurringTax

      public BigDecimal getProratedRecurringTax()
    • setProratedRecurringTax

      public void setProratedRecurringTax​(BigDecimal proratedRecurringTax)
    • isProratedRecurringTaxSpecified

      public boolean isProratedRecurringTaxSpecified()
    • unsetProratedRecurringTax

      public void unsetProratedRecurringTax()
    • getRecurringAmount

      public BigDecimal getRecurringAmount()
    • setRecurringAmount

      public void setRecurringAmount​(BigDecimal recurringAmount)
    • isRecurringAmountSpecified

      public boolean isRecurringAmountSpecified()
    • unsetRecurringAmount

      public void unsetRecurringAmount()
    • getRecurringTax

      public BigDecimal getRecurringTax()
    • setRecurringTax

      public void setRecurringTax​(BigDecimal recurringTax)
    • isRecurringTaxSpecified

      public boolean isRecurringTaxSpecified()
    • unsetRecurringTax

      public void unsetRecurringTax()