com.twilio.sdk.resource.factory
Interface AccountFactory

All Known Implementing Classes:
AccountList

public interface AccountFactory

A factory for creating Account objects. For more information see https://www.twilio.com/docs/api/rest/subaccounts


Method Summary
 Account create(List<org.apache.http.NameValuePair> params)
           
 Account create(Map<String,String> params)
          Creates a subaccount.
 

Method Detail

create

Account create(Map<String,String> params)
               throws TwilioRestException
Creates a subaccount.

Parameters:
params - the params
Returns:
the account
Throws:
TwilioRestException

create

Account create(List<org.apache.http.NameValuePair> params)
               throws TwilioRestException
Throws:
TwilioRestException


Copyright © 2011 Twilio, Inc. All Rights Reserved.