public PlatformGateway(PlatformEnvironment environment, Cookie authenticationCookie)
 {
     Configuration = new Configuration(environment, authenticationCookie);
 }
 public PlatformGateway(PlatformEnvironment environment, string publicKey, string privateKey)
 {
     Configuration = new Configuration(environment, publicKey, privateKey);
 }
 public PlatformGateway()
 {
     Configuration = new Configuration();
 }
Example #4
0
        public BillingGateway(BillingEnvironment environment, string publicKey, string privateKey)
        {
            Configuration = new Configuration(environment, publicKey, privateKey);

            // Prepare Platform Configuration
            PlatformEnvironment platformEnvironment = null;
            switch (environment.EnvironmentType)
            {
                case EnvironmentType.Development:
                    platformEnvironment = PlatformEnvironment.DEVELOPMENT;
                    break;
                case EnvironmentType.QA:
                    platformEnvironment = PlatformEnvironment.QA;
                    break;
                case EnvironmentType.Production:
                    platformEnvironment = PlatformEnvironment.PRODUCTION;
                    break;
            }
            _platformConfiguration = new Configuration(platformEnvironment, publicKey, privateKey);
        }
Example #5
0
 public BillingGateway()
 {
     Configuration = new Configuration();
 }
Example #6
0
 public BillingGateway(BillingEnvironment environment, Cookie authenticationCookie)
 {
     Configuration = new Configuration(environment, authenticationCookie);
     // Prepare Platform Configuration
     PlatformEnvironment platformEnvironment = null;
     switch (environment.EnvironmentType)
     {
         case EnvironmentType.Development:
             platformEnvironment = PlatformEnvironment.DEVELOPMENT;
             break;
         case EnvironmentType.QA:
             platformEnvironment = PlatformEnvironment.QA;
             break;
         case EnvironmentType.Production:
             platformEnvironment = PlatformEnvironment.PRODUCTION;
             break;
     }
     _platformConfiguration = new Configuration(platformEnvironment, authenticationCookie);
 }