Class Program
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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Program.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
applicableQuantity
The number of times the item discount(s) may be applied for that order container.protected boolean
applicableQuantitySpecified
protected Item
item
The product item that the discount applies to.protected boolean
itemSpecified
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.protected boolean
oneTimeAmountSpecified
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.protected boolean
oneTimeTaxSpecified
protected List<Price>
prices
The item prices that contain the amount of the discount in the recurringFee field.protected boolean
pricesSpecified
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.protected boolean
proratedOneTimeAmountSpecified
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.protected boolean
proratedOneTimeTaxSpecified
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.protected boolean
proratedRecurringAmountSpecified
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.protected boolean
proratedRecurringTaxSpecified
protected BigDecimal
recurringAmount
The sum of the recurring fees of the prices of this container multiplied by the applicable quantity of this container.protected boolean
recurringAmountSpecified
protected BigDecimal
recurringTax
The tax amount on the recurring fees of the prices of this container mulitiplied by the applicable quantity of this container.protected boolean
recurringTaxSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Program()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
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
The product item that the discount applies to. -
itemSpecified
protected boolean itemSpecified -
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
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
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
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
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
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
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
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
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
-
setApplicableQuantity
-
isApplicableQuantitySpecified
public boolean isApplicableQuantitySpecified() -
unsetApplicableQuantity
public void unsetApplicableQuantity() -
getItem
-
setItem
-
isItemSpecified
public boolean isItemSpecified() -
unsetItem
public void unsetItem() -
getOneTimeAmount
-
setOneTimeAmount
-
isOneTimeAmountSpecified
public boolean isOneTimeAmountSpecified() -
unsetOneTimeAmount
public void unsetOneTimeAmount() -
getOneTimeTax
-
setOneTimeTax
-
isOneTimeTaxSpecified
public boolean isOneTimeTaxSpecified() -
unsetOneTimeTax
public void unsetOneTimeTax() -
getPrices
-
isPricesSpecified
public boolean isPricesSpecified() -
unsetPrices
public void unsetPrices() -
getProratedOneTimeAmount
-
setProratedOneTimeAmount
-
isProratedOneTimeAmountSpecified
public boolean isProratedOneTimeAmountSpecified() -
unsetProratedOneTimeAmount
public void unsetProratedOneTimeAmount() -
getProratedOneTimeTax
-
setProratedOneTimeTax
-
isProratedOneTimeTaxSpecified
public boolean isProratedOneTimeTaxSpecified() -
unsetProratedOneTimeTax
public void unsetProratedOneTimeTax() -
getProratedRecurringAmount
-
setProratedRecurringAmount
-
isProratedRecurringAmountSpecified
public boolean isProratedRecurringAmountSpecified() -
unsetProratedRecurringAmount
public void unsetProratedRecurringAmount() -
getProratedRecurringTax
-
setProratedRecurringTax
-
isProratedRecurringTaxSpecified
public boolean isProratedRecurringTaxSpecified() -
unsetProratedRecurringTax
public void unsetProratedRecurringTax() -
getRecurringAmount
-
setRecurringAmount
-
isRecurringAmountSpecified
public boolean isRecurringAmountSpecified() -
unsetRecurringAmount
public void unsetRecurringAmount() -
getRecurringTax
-
setRecurringTax
-
isRecurringTaxSpecified
public boolean isRecurringTaxSpecified() -
unsetRecurringTax
public void unsetRecurringTax()
-