Class Program
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.account.discount.Program
@ApiType("SoftLayer_Container_Account_Discount_Program") public class Program extends Entity
SoftLayer_Container_Account_Discount_Program models a single outbound object for a graph of given data sets.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Program.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
appliedCredit
The credit allowance that has already been applied during the current billing cycle.protected boolean
appliedCreditSpecified
protected Boolean
isParticipant
Flag to signify whether the account is a participant in the discount program.protected boolean
isParticipantSpecified
protected BigDecimal
lifetimeAppliedCredit
Credit allowance applied over the course of the entire program enrollment.protected boolean
lifetimeAppliedCreditSpecified
protected BigDecimal
lifetimeCredit
Credit allowance available over the course of the entire program enrollment.protected boolean
lifetimeCreditSpecified
protected BigDecimal
lifetimeRemainingCredit
Remaining credit allowance available over the remaining duration of the program enrollment.protected boolean
lifetimeRemainingCreditSpecified
protected BigDecimal
maximumActiveOrders
Maximum number of orders the enrolled account is allowed to have open at one time.protected boolean
maximumActiveOrdersSpecified
protected BigDecimal
monthlyCredit
The monthly credit allowance that is available at the beginning of the billing cycle.protected boolean
monthlyCreditSpecified
protected BigDecimal
postTaxRemainingCredit
DEPRECATED: Taxes are calculated in real time and discount amounts are shown pre-tax in all cases.protected boolean
postTaxRemainingCreditSpecified
protected GregorianCalendar
programEndDate
The date at which the program expires in MM/DD/YYYY format.protected boolean
programEndDateSpecified
protected String
programName
Name of the Flexible Credit Program the account is enrolled in.protected boolean
programNameSpecified
protected BigDecimal
remainingCredit
The credit allowance that is available during the current billing cycle.protected boolean
remainingCreditSpecified
protected BigDecimal
remainingCreditTax
DEPRECATED: Taxes are calculated in real time and discount amounts are shown pre-tax in all cases.protected boolean
remainingCreditTaxSpecified
-
Constructor Summary
Constructors Constructor Description Program()
-
Method Summary
-
Field Details
-
appliedCredit
The credit allowance that has already been applied during the current billing cycle. If the lifetime limit has been or soon will be reached, this amount may included credit applied in previous billing cycles. -
appliedCreditSpecified
protected boolean appliedCreditSpecified -
isParticipant
Flag to signify whether the account is a participant in the discount program. -
isParticipantSpecified
protected boolean isParticipantSpecified -
lifetimeAppliedCredit
Credit allowance applied over the course of the entire program enrollment. For enrollments without a lifetime restriction, this property will not be populated as credit will be tracked on a purely monthly basis. -
lifetimeAppliedCreditSpecified
protected boolean lifetimeAppliedCreditSpecified -
lifetimeCredit
Credit allowance available over the course of the entire program enrollment. If null, enrollment credit is applied on a strictly monthly basis and there is no lifetime maximum. Enrollments with non-null lifetime credit will receive the lesser of the remaining monthly credit or the remaining lifetime credit. -
lifetimeCreditSpecified
protected boolean lifetimeCreditSpecified -
lifetimeRemainingCredit
Remaining credit allowance available over the remaining duration of the program enrollment. If null, enrollment credit is applied on a strictly monthly basis and there is no lifetime maximum. Enrollments with non-null remaining lifetime credit will receive the lesser of the remaining monthly credit or the remaining lifetime credit. -
lifetimeRemainingCreditSpecified
protected boolean lifetimeRemainingCreditSpecified -
maximumActiveOrders
Maximum number of orders the enrolled account is allowed to have open at one time. If null, then the Flexible Credit Program does not impose an order limit. -
maximumActiveOrdersSpecified
protected boolean maximumActiveOrdersSpecified -
monthlyCredit
The monthly credit allowance that is available at the beginning of the billing cycle. -
monthlyCreditSpecified
protected boolean monthlyCreditSpecified -
postTaxRemainingCredit
DEPRECATED: Taxes are calculated in real time and discount amounts are shown pre-tax in all cases. Tax values in the SoftLayer_Container_Account_Discount_Program container are now populated with the related pre-tax values. -
postTaxRemainingCreditSpecified
protected boolean postTaxRemainingCreditSpecified -
programEndDate
The date at which the program expires in MM/DD/YYYY format. -
programEndDateSpecified
protected boolean programEndDateSpecified -
programName
Name of the Flexible Credit Program the account is enrolled in. -
programNameSpecified
protected boolean programNameSpecified -
remainingCredit
The credit allowance that is available during the current billing cycle. If the lifetime limit has been or soon will be reached, this amount may be reduced by credit applied in previous billing cycles. -
remainingCreditSpecified
protected boolean remainingCreditSpecified -
remainingCreditTax
DEPRECATED: Taxes are calculated in real time and discount amounts are shown pre-tax in all cases. Tax values in the SoftLayer_Container_Account_Discount_Program container are now populated with the related pre-tax values. -
remainingCreditTaxSpecified
protected boolean remainingCreditTaxSpecified
-
-
Constructor Details
-
Program
public Program()
-
-
Method Details
-
getAppliedCredit
-
setAppliedCredit
-
isAppliedCreditSpecified
public boolean isAppliedCreditSpecified() -
unsetAppliedCredit
public void unsetAppliedCredit() -
getIsParticipant
-
setIsParticipant
-
isIsParticipantSpecified
public boolean isIsParticipantSpecified() -
unsetIsParticipant
public void unsetIsParticipant() -
getLifetimeAppliedCredit
-
setLifetimeAppliedCredit
-
isLifetimeAppliedCreditSpecified
public boolean isLifetimeAppliedCreditSpecified() -
unsetLifetimeAppliedCredit
public void unsetLifetimeAppliedCredit() -
getLifetimeCredit
-
setLifetimeCredit
-
isLifetimeCreditSpecified
public boolean isLifetimeCreditSpecified() -
unsetLifetimeCredit
public void unsetLifetimeCredit() -
getLifetimeRemainingCredit
-
setLifetimeRemainingCredit
-
isLifetimeRemainingCreditSpecified
public boolean isLifetimeRemainingCreditSpecified() -
unsetLifetimeRemainingCredit
public void unsetLifetimeRemainingCredit() -
getMaximumActiveOrders
-
setMaximumActiveOrders
-
isMaximumActiveOrdersSpecified
public boolean isMaximumActiveOrdersSpecified() -
unsetMaximumActiveOrders
public void unsetMaximumActiveOrders() -
getMonthlyCredit
-
setMonthlyCredit
-
isMonthlyCreditSpecified
public boolean isMonthlyCreditSpecified() -
unsetMonthlyCredit
public void unsetMonthlyCredit() -
getPostTaxRemainingCredit
-
setPostTaxRemainingCredit
-
isPostTaxRemainingCreditSpecified
public boolean isPostTaxRemainingCreditSpecified() -
unsetPostTaxRemainingCredit
public void unsetPostTaxRemainingCredit() -
getProgramEndDate
-
setProgramEndDate
-
isProgramEndDateSpecified
public boolean isProgramEndDateSpecified() -
unsetProgramEndDate
public void unsetProgramEndDate() -
getProgramName
-
setProgramName
-
isProgramNameSpecified
public boolean isProgramNameSpecified() -
unsetProgramName
public void unsetProgramName() -
getRemainingCredit
-
setRemainingCredit
-
isRemainingCreditSpecified
public boolean isRemainingCreditSpecified() -
unsetRemainingCredit
public void unsetRemainingCredit() -
getRemainingCreditTax
-
setRemainingCreditTax
-
isRemainingCreditTaxSpecified
public boolean isRemainingCreditTaxSpecified() -
unsetRemainingCreditTax
public void unsetRemainingCreditTax()
-