Interface Promotion.ServiceAsync
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Promotion
public static interface Promotion.ServiceAsync extends ServiceAsync
-
Method Summary
Modifier and Type Method Description Future<Promotion>
findByPromoCode(String code)
Async version ofPromotion.Service.findByPromoCode(java.lang.String)
Future<?>
findByPromoCode(String code, ResponseHandler<Promotion> callback)
Future<Promotion>
getObject()
Async version ofPromotion.Service.getObject()
Future<?>
getObject(ResponseHandler<Promotion> callback)
void
setMask(Promotion.Mask mask)
Promotion.Mask
withMask()
Use the existing mask on this service or create it if not presentPromotion.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
withNewMask
Promotion.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
Promotion.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
findByPromoCode
Async version ofPromotion.Service.findByPromoCode(java.lang.String)
-
findByPromoCode
-
getObject
Async version ofPromotion.Service.getObject()
-
getObject
-