Interface IMerchantService

  • All Superinterfaces:
    IInterface
    All Known Implementing Classes:
    IMerchantService.Default, IMerchantService.Stub

    public interface IMerchantService
    extends IInterface
    An interface for interacting with the Clover merchant service. The merchant service is a bound AIDL service. Bind to this service as follows:
     
     Intent serviceIntent = new Intent(MerchantIntent.ACTION_MERCHANT_SERVICE);
     serviceIntent.putExtra(Intents.EXTRA_ACCOUNT, CloverAccount.getAccount(context));
     serviceIntent.putExtra(Intents.EXTRA_VERSION, 1);
     context.bindService(serviceIntent);
     
     
    For more information about bound services, refer to the Android documentation: Bound Services .

    You may also interact with the merchant service through the MerchantConnector class, which handles binding and asynchronous invocation of service methods.

    See Also:
    MerchantIntent, CloverAccount, MerchantConnector