Interface Reason.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Reason
@ApiService("SoftLayer_Billing_Item_Cancellation_Reason") public static interface Reason.Service extends Service
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Reason.ServiceAsync
asAsync()
Get an async version of this serviceList<Reason>
getAllCancellationReasons()
getAllCancellationReasons() retrieves a list of all cancellation reasons that a server/service may be assigned to.Category
getBillingCancellationReasonCategory()
An billing cancellation reason category.List<Item>
getBillingItems()
The corresponding billing items having the specific cancellation reason.Reason
getObject()
String
getTranslatedReason()
void
setMask(Reason.Mask mask)
Reason.Mask
withMask()
Use the existing mask on this service or create it if not presentReason.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
asAsync
Reason.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Reason.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Reason.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Reason.Mask mask)
-
getAllCancellationReasons
@ApiMethod List<Reason> getAllCancellationReasons()
getAllCancellationReasons() retrieves a list of all cancellation reasons that a server/service may be assigned to.
-
getObject
@ApiMethod(instanceRequired=true) Reason getObject()
-
getBillingCancellationReasonCategory
@ApiMethod(instanceRequired=true) Category getBillingCancellationReasonCategory()
An billing cancellation reason category.
-
getBillingItems
@ApiMethod(instanceRequired=true) List<Item> getBillingItems()
The corresponding billing items having the specific cancellation reason.
-
getTranslatedReason
@ApiMethod(instanceRequired=true) String getTranslatedReason()
-
-