Class Cycle
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.info.Cycle
-
@ApiType("SoftLayer_Billing_Info_Cycle") public class Cycle extends Entity
The SoftLayer_Billing_Info_Cycle data type models basic information concerning a SoftLayer account's previous and current billing cycles. The information in this class is only populated for SoftLayer customers who are billed monthly.- See Also:
- SoftLayer_Billing_Info_Cycle
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cycle.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account that a current billing cycle is associated with.protected GregorianCalendar
currentCycleEndDate
The ending date of an account's current billing cycle.protected boolean
currentCycleEndDateSpecified
protected GregorianCalendar
currentCycleStartDate
The starting date of an account's current billing cycle.protected boolean
currentCycleStartDateSpecified
protected GregorianCalendar
nextCycleStartDate
The start date of an account's next billing cycle.protected boolean
nextCycleStartDateSpecified
protected GregorianCalendar
previousCycleEndDate
The ending date of an account's previous billing cycle.protected boolean
previousCycleEndDateSpecified
protected GregorianCalendar
previousCycleStartDate
The starting date of an account's previous billing cycle.protected boolean
previousCycleStartDateSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Cycle()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account that a current billing cycle is associated with.
-
currentCycleEndDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar currentCycleEndDate
The ending date of an account's current billing cycle.
-
currentCycleEndDateSpecified
protected boolean currentCycleEndDateSpecified
-
currentCycleStartDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar currentCycleStartDate
The starting date of an account's current billing cycle.
-
currentCycleStartDateSpecified
protected boolean currentCycleStartDateSpecified
-
nextCycleStartDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar nextCycleStartDate
The start date of an account's next billing cycle.
-
nextCycleStartDateSpecified
protected boolean nextCycleStartDateSpecified
-
previousCycleEndDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar previousCycleEndDate
The ending date of an account's previous billing cycle.
-
previousCycleEndDateSpecified
protected boolean previousCycleEndDateSpecified
-
previousCycleStartDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar previousCycleStartDate
The starting date of an account's previous billing cycle.
-
previousCycleStartDateSpecified
protected boolean previousCycleStartDateSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getCurrentCycleEndDate
public GregorianCalendar getCurrentCycleEndDate()
-
setCurrentCycleEndDate
public void setCurrentCycleEndDate(GregorianCalendar currentCycleEndDate)
-
isCurrentCycleEndDateSpecified
public boolean isCurrentCycleEndDateSpecified()
-
unsetCurrentCycleEndDate
public void unsetCurrentCycleEndDate()
-
getCurrentCycleStartDate
public GregorianCalendar getCurrentCycleStartDate()
-
setCurrentCycleStartDate
public void setCurrentCycleStartDate(GregorianCalendar currentCycleStartDate)
-
isCurrentCycleStartDateSpecified
public boolean isCurrentCycleStartDateSpecified()
-
unsetCurrentCycleStartDate
public void unsetCurrentCycleStartDate()
-
getNextCycleStartDate
public GregorianCalendar getNextCycleStartDate()
-
setNextCycleStartDate
public void setNextCycleStartDate(GregorianCalendar nextCycleStartDate)
-
isNextCycleStartDateSpecified
public boolean isNextCycleStartDateSpecified()
-
unsetNextCycleStartDate
public void unsetNextCycleStartDate()
-
getPreviousCycleEndDate
public GregorianCalendar getPreviousCycleEndDate()
-
setPreviousCycleEndDate
public void setPreviousCycleEndDate(GregorianCalendar previousCycleEndDate)
-
isPreviousCycleEndDateSpecified
public boolean isPreviousCycleEndDateSpecified()
-
unsetPreviousCycleEndDate
public void unsetPreviousCycleEndDate()
-
getPreviousCycleStartDate
public GregorianCalendar getPreviousCycleStartDate()
-
setPreviousCycleStartDate
public void setPreviousCycleStartDate(GregorianCalendar previousCycleStartDate)
-
isPreviousCycleStartDateSpecified
public boolean isPreviousCycleStartDateSpecified()
-
unsetPreviousCycleStartDate
public void unsetPreviousCycleStartDate()
-
-