@Deprecated
    public Subscriptions getAccountSubscriptions(final String accountCode, final String status) {
        final QueryParams params = new QueryParams();
        if (status != null) params.put("state", status);

        return doGET(Account.ACCOUNT_RESOURCE
                        + "/" + accountCode
                        + Subscriptions.SUBSCRIPTIONS_RESOURCE,
                Subscriptions.class, params);
    }
@ Deprecated public Subscriptions getAccountSubscriptions ( final String accountCode , final String status ) { final QueryParams params = new QueryParams ( ) ; if ( status != null ) params . put ( "state" , status ) ; return doGET ( Account . ACCOUNT_RESOURCE + "/" + accountCode + Subscriptions . SUBSCRIPTIONS_RESOURCE , Subscriptions . class , params ) ; }
Get the subscriptions for an account.
This is deprecated. Please use getAccountSubscriptions(String, Subscriptions.State, QueryParams)
<p>
Returns information about a single account.

@param accountCode recurly account id
@param status      Only accounts in this status will be returned
@return Subscriptions on the account