public Collection<PartnerAccount> list(long partnerId)
    {
        return HTTP.GET(String.format("/v2/partners/%d/accounts", partnerId), PARTNER_ACCOUNTS).get();
    }
public Collection < PartnerAccount > list ( long partnerId ) { return HTTP . GET ( String . format ( "/v2/partners/%d/accounts" , partnerId ) , PARTNER_ACCOUNTS ) . get ( ) ; }
Returns the set of accounts.
@param partnerId The id of the partner for the accounts
@return The set of accounts