Class Reason
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.billing.item.cancellation.Reason
-
-
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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
billingCancellationReasonCategory
@ApiProperty protected Category billingCancellationReasonCategory
An billing cancellation reason category.
-
billingItems
@ApiProperty protected List<Item> billingItems
The corresponding billing items having the specific cancellation reason.
-
translatedReason
@ApiProperty protected String translatedReason
-
billingCancelReasonCategoryId
@ApiProperty(canBeNullOrNotSet=true) protected Long billingCancelReasonCategoryId
A cancel reason category internal identifier.
-
billingCancelReasonCategoryIdSpecified
protected boolean billingCancelReasonCategoryIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A reason internal identifier.
-
idSpecified
protected boolean idSpecified
-
keyName
@ApiProperty(canBeNullOrNotSet=true) protected String keyName
A standardized reason internal identifier.
-
keyNameSpecified
protected boolean keyNameSpecified
-
reason
@ApiProperty(canBeNullOrNotSet=true) protected String reason
The descriptoin of the reason
-
reasonSpecified
protected boolean reasonSpecified
-
billingItemCount
@ApiProperty protected Long billingItemCount
A count of the corresponding billing items having the specific cancellation reason.
-
-
Method Detail
-
getBillingCancellationReasonCategory
public Category getBillingCancellationReasonCategory()
-
setBillingCancellationReasonCategory
public void setBillingCancellationReasonCategory(Category billingCancellationReasonCategory)
-
getTranslatedReason
public String getTranslatedReason()
-
setTranslatedReason
public void setTranslatedReason(String translatedReason)
-
getBillingCancelReasonCategoryId
public Long getBillingCancelReasonCategoryId()
-
setBillingCancelReasonCategoryId
public void setBillingCancelReasonCategoryId(Long billingCancelReasonCategoryId)
-
isBillingCancelReasonCategoryIdSpecified
public boolean isBillingCancelReasonCategoryIdSpecified()
-
unsetBillingCancelReasonCategoryId
public void unsetBillingCancelReasonCategoryId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getKeyName
public String getKeyName()
-
setKeyName
public void setKeyName(String keyName)
-
isKeyNameSpecified
public boolean isKeyNameSpecified()
-
unsetKeyName
public void unsetKeyName()
-
getReason
public String getReason()
-
setReason
public void setReason(String reason)
-
isReasonSpecified
public boolean isReasonSpecified()
-
unsetReason
public void unsetReason()
-
getBillingItemCount
public Long getBillingItemCount()
-
setBillingItemCount
public void setBillingItemCount(Long billingItemCount)
-
asService
public Reason.Service asService(ApiClient client)
-
service
public static Reason.Service service(ApiClient client)
-
service
public static Reason.Service service(ApiClient client, Long id)
-
-