public interface IPoyntInAppBillingService
extends android.os.IInterface
Modifier and Type | Interface and Description |
---|---|
static class |
IPoyntInAppBillingService.Stub
Local-side IPC implementation stub class.
|
Modifier and Type | Method and Description |
---|---|
android.os.Bundle |
getBillingIntent(java.lang.String packageName,
android.os.Bundle extras)
This method returns an intent that can be used to launch Poynt billing fragment to allow
a merchant to subscribe to your application.
|
void |
getPlans(java.lang.String packageName,
java.lang.String requestId,
IPoyntInAppBillingServiceListener callback)
This method returns the current plans associated with the given packageName
Result will be returned in
IPoyntInAppBillingServiceListener.onResponse(java.lang.String, co.poynt.os.model.PoyntError, java.lang.String) . |
void |
getSubscriptions(java.lang.String packageName,
java.lang.String requestId,
IPoyntInAppBillingServiceListener callback)
This method returns the current subscriptions for the calling app owned by the merchant.
|
void getSubscriptions(java.lang.String packageName, java.lang.String requestId, IPoyntInAppBillingServiceListener callback) throws android.os.RemoteException
IPoyntInAppBillingServiceListener.onResponse(java.lang.String, co.poynt.os.model.PoyntError, java.lang.String)
.packageName
- Package name of the call originator - this is verified against the
calling Uid provided by the android system.requestId
- Request id of the call originator.callback
- IPoyntActivationServiceListener
android.os.RemoteException
android.os.Bundle getBillingIntent(java.lang.String packageName, android.os.Bundle extras) throws android.os.RemoteException
packageName
- Package name of the call originator - this is verified against the
calling Uid provided by the android system.extras
- bundle containing extra fields used to identify things like planId, etc.
extras supported: plan_idandroid.os.RemoteException
void getPlans(java.lang.String packageName, java.lang.String requestId, IPoyntInAppBillingServiceListener callback) throws android.os.RemoteException
IPoyntInAppBillingServiceListener.onResponse(java.lang.String, co.poynt.os.model.PoyntError, java.lang.String)
.packageName
- Package name of the call originator - this is verified against the
calling Uid provided by the android system.requestId
- Request id of the call originator.callback
- IPoyntActivationServiceListener
android.os.RemoteException