com.twilio.sdk.resource.factory.AccountFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of twilio-java-sdk Show documentation
Show all versions of twilio-java-sdk Show documentation
Release Candidate for Next-Gen Twilio Java Helper Library
package com.twilio.sdk.resource.factory;
import java.util.Map;
import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.Account;
// TODO: Auto-generated Javadoc
/**
* A factory for creating Account objects.
*
* For more information see http://www.twilio.com/docs/api/rest/subaccounts
*/
public interface AccountFactory {
/**
* Creates a subaccount.
*
* @param params the params
* @return the account
* @throws TwilioRestException
*/
public Account create(Map params) throws TwilioRestException;
}