C# Class Braintree.Environment

Mostra 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_oe static_oe property

public static Environment DEVELOPMENT
return Environment

PRODUCTION public_oe static_oe property

public static Environment PRODUCTION
return Environment

QA public_oe static_oe property

public static Environment QA
return Environment

SANDBOX public_oe static_oe property

public static Environment SANDBOX
return Environment