this.environment = environment;
this.merchantId = merchantId;
this.publicKey = publicKey;
this.privateKey = privateKey;
this.configuration = new Configuration(baseMerchantURL(), publicKey, privateKey);
this.http = new Http(getAuthorizationHeader(), baseMerchantURL(), environment.certificateFilenames, BraintreeGateway.VERSION);
}