Interface Currency.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Currency
@ApiService("SoftLayer_Billing_Currency") public static interface Currency.Service extends Service
- See Also:
- SoftLayer_Billing_Currency
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Currency.ServiceAsync
asAsync()
Get an async version of this serviceList<Currency>
getAllObjects()
ExchangeRate
getCurrentExchangeRate()
The current exchange rateCurrency
getObject()
String
getPrice(BigDecimal price, Format formatOptions)
void
setMask(Currency.Mask mask)
Currency.Mask
withMask()
Use the existing mask on this service or create it if not presentCurrency.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
Currency.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Currency.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
Currency.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Currency.Mask mask)
-
getAllObjects
@ApiMethod List<Currency> getAllObjects()
-
getObject
@ApiMethod(instanceRequired=true) Currency getObject()
- See Also:
- SoftLayer_Billing_Currency::getObject
-
getPrice
@ApiMethod(instanceRequired=true) String getPrice(BigDecimal price, Format formatOptions)
- See Also:
- SoftLayer_Billing_Currency::getPrice
-
getCurrentExchangeRate
@ApiMethod(instanceRequired=true) ExchangeRate getCurrentExchangeRate()
The current exchange rate
-
-