Class Reason
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.billing.item.cancellation.Reason
@ApiType("SoftLayer_Billing_Item_Cancellation_Reason") public class Reason extends Entity
The SoftLayer_Billing_Item_Cancellation_Reason data type contains cancellation reasons.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Reason.Mask
static interface
Reason.Service
static interface
Reason.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Category
billingCancellationReasonCategory
An billing cancellation reason category.protected Long
billingCancelReasonCategoryId
A cancel reason category internal identifier.protected boolean
billingCancelReasonCategoryIdSpecified
protected Long
billingItemCount
A count of the corresponding billing items having the specific cancellation reason.protected List<Item>
billingItems
The corresponding billing items having the specific cancellation reason.protected Long
id
A reason internal identifier.protected boolean
idSpecified
protected String
keyName
A standardized reason internal identifier.protected boolean
keyNameSpecified
protected String
reason
The descriptoin of the reasonprotected boolean
reasonSpecified
protected String
translatedReason
-
Constructor Summary
Constructors Constructor Description Reason()
-
Method Summary
Modifier and Type Method Description Reason.Service
asService(ApiClient client)
Category
getBillingCancellationReasonCategory()
Long
getBillingCancelReasonCategoryId()
Long
getBillingItemCount()
List<Item>
getBillingItems()
Long
getId()
String
getKeyName()
String
getReason()
String
getTranslatedReason()
boolean
isBillingCancelReasonCategoryIdSpecified()
boolean
isIdSpecified()
boolean
isKeyNameSpecified()
boolean
isReasonSpecified()
static Reason.Service
service(ApiClient client)
static Reason.Service
service(ApiClient client, Long id)
void
setBillingCancellationReasonCategory(Category billingCancellationReasonCategory)
void
setBillingCancelReasonCategoryId(Long billingCancelReasonCategoryId)
void
setBillingItemCount(Long billingItemCount)
void
setId(Long id)
void
setKeyName(String keyName)
void
setReason(String reason)
void
setTranslatedReason(String translatedReason)
void
unsetBillingCancelReasonCategoryId()
void
unsetId()
void
unsetKeyName()
void
unsetReason()
-
Field Details
-
billingCancellationReasonCategory
An billing cancellation reason category. -
billingItems
The corresponding billing items having the specific cancellation reason. -
translatedReason
-
billingCancelReasonCategoryId
A cancel reason category internal identifier. -
billingCancelReasonCategoryIdSpecified
protected boolean billingCancelReasonCategoryIdSpecified -
id
A reason internal identifier. -
idSpecified
protected boolean idSpecified -
keyName
A standardized reason internal identifier. -
keyNameSpecified
protected boolean keyNameSpecified -
reason
The descriptoin of the reason -
reasonSpecified
protected boolean reasonSpecified -
billingItemCount
A count of the corresponding billing items having the specific cancellation reason.
-
-
Constructor Details
-
Reason
public Reason()
-
-
Method Details
-
getBillingCancellationReasonCategory
-
setBillingCancellationReasonCategory
-
getBillingItems
-
getTranslatedReason
-
setTranslatedReason
-
getBillingCancelReasonCategoryId
-
setBillingCancelReasonCategoryId
-
isBillingCancelReasonCategoryIdSpecified
public boolean isBillingCancelReasonCategoryIdSpecified() -
unsetBillingCancelReasonCategoryId
public void unsetBillingCancelReasonCategoryId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getKeyName
-
setKeyName
-
isKeyNameSpecified
public boolean isKeyNameSpecified() -
unsetKeyName
public void unsetKeyName() -
getReason
-
setReason
-
isReasonSpecified
public boolean isReasonSpecified() -
unsetReason
public void unsetReason() -
getBillingItemCount
-
setBillingItemCount
-
asService
-
service
-
service
-