All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twilio.sdk.resource.factory.AccountFactory Maven / Gradle / Ivy

There is a newer version: 7.0.0-rc-10
Show newest version
package com.twilio.sdk.resource.factory;

import java.util.Map;
import java.util.List;

import com.twilio.sdk.TwilioRestException;
import com.twilio.sdk.resource.instance.Account;
import org.apache.http.NameValuePair;

// TODO: Auto-generated Javadoc
/**
 * A factory for creating Account objects.
 *
 * For more information see https://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;
	public Account create(List params) throws TwilioRestException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy