C# Class Braintree.Environment

Show file Open project: braintree/braintree_dotnet Class Usage Examples

Public Properties

Property Type Description
DEVELOPMENT Environment
PRODUCTION Environment
QA Environment
SANDBOX Environment

Public Methods

Method Description
Environment ( string environmentName, string gatewayUrl, string authUrl ) : Braintree.Exceptions
ParseEnvironment ( string environment ) : Environment

Private Methods

Method Description
DevelopmentUrl ( ) : string

Method Details

Environment() public method

public Environment ( string environmentName, string gatewayUrl, string authUrl ) : Braintree.Exceptions
environmentName string
gatewayUrl string
authUrl string
return Braintree.Exceptions

ParseEnvironment() public static method

public static ParseEnvironment ( string environment ) : Environment
environment string
return Environment

Property Details

DEVELOPMENT public static property

public static Environment DEVELOPMENT
return Environment

PRODUCTION public static property

public static Environment PRODUCTION
return Environment

QA public static property

public static Environment QA
return Environment

SANDBOX public static property

public static Environment SANDBOX
return Environment