Package com.clover.sdk.v3.apps
Class IAppsService.Default
- java.lang.Object
-
- com.clover.sdk.v3.apps.IAppsService.Default
-
- All Implemented Interfaces:
IInterface
,IAppsService
- Enclosing interface:
- IAppsService
public static class IAppsService.Default extends Object implements IAppsService
Default implementation for IAppsService.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.clover.sdk.v3.apps.IAppsService
IAppsService.Default, IAppsService.Stub
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IBinder
asBinder()
App
getApp(ResultStatus resultStatus)
Get App object with information about this app.AppBillingInfo
getAppBillingInfo(ResultStatus resultStatus)
Get AppBillingInfo object with billing information for the merchant running this app.void
logMetered(String meteredId, int numberOfEvent, ResultStatus resultStatus)
Log a metered event occurance.void
setSmartReceiptText(String text, ResultStatus resultStatus)
Update the Smart Receipt text for this app.void
setSmartReceiptUrl(String url, ResultStatus resultStatus)
Update the Smart Receipt URL for this app.
-
-
-
Method Detail
-
getApp
public App getApp(ResultStatus resultStatus) throws RemoteException
Get App object with information about this app.- Specified by:
getApp
in interfaceIAppsService
- Parameters:
resultStatus
- an output parameter with the result of the operation- Throws:
RemoteException
-
logMetered
public void logMetered(String meteredId, int numberOfEvent, ResultStatus resultStatus) throws RemoteException
Log a metered event occurance. The merchant will be billed for this number of events.- Specified by:
logMetered
in interfaceIAppsService
- Parameters:
meteredId
- the id of the meter option to lognumberOfEvent
- the count of how many events occuredresultStatus
- an output parameter with the result of the operation- Throws:
RemoteException
-
getAppBillingInfo
public AppBillingInfo getAppBillingInfo(ResultStatus resultStatus) throws RemoteException
Get AppBillingInfo object with billing information for the merchant running this app.- Specified by:
getAppBillingInfo
in interfaceIAppsService
- Parameters:
resultStatus
- an output parameter with the result of the operation- Throws:
RemoteException
-
setSmartReceiptText
public void setSmartReceiptText(String text, ResultStatus resultStatus) throws RemoteException
Update the Smart Receipt text for this app. See the Clover developer site for more information about Smart Receipts.- Specified by:
setSmartReceiptText
in interfaceIAppsService
- Parameters:
text
- the text to display on the receiptresultStatus
- an output parameter with the result of the operation- Throws:
RemoteException
-
setSmartReceiptUrl
public void setSmartReceiptUrl(String url, ResultStatus resultStatus) throws RemoteException
Update the Smart Receipt URL for this app. See the Clover developer site for more information about Smart Receipts.- Specified by:
setSmartReceiptUrl
in interfaceIAppsService
- Parameters:
text
- the URL to be used on the receiptresultStatus
- an output parameter with the result of the operation- Throws:
RemoteException
-
asBinder
public IBinder asBinder()
- Specified by:
asBinder
in interfaceIInterface
-
-