com.braintreegateway
Class Environment

java.lang.Object
  extended by com.braintreegateway.Environment

public class Environment
extends Object

Indicates the environment of the Braintree Gateway with which to interact.


Field Summary
 String baseURL
           
 String[] certificateFilenames
           
static Environment DEVELOPMENT
          For Braintree internal development.
static Environment PRODUCTION
          For production.
static Environment SANDBOX
          For merchant's to use during their development and testing.
 
Constructor Summary
Environment(String baseURL, String[] certificateFilenames)
           
 
Method Summary
static String developmentPort()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEVELOPMENT

public static final Environment DEVELOPMENT
For Braintree internal development.


PRODUCTION

public static final Environment PRODUCTION
For production.


SANDBOX

public static final Environment SANDBOX
For merchant's to use during their development and testing.


baseURL

public final String baseURL

certificateFilenames

public final String[] certificateFilenames
Constructor Detail

Environment

public Environment(String baseURL,
                   String[] certificateFilenames)
Method Detail

developmentPort

public static String developmentPort()


Copyright © 2013. All Rights Reserved.