Braintree\Configuration::merchantId PHP 메소드

merchantId() 공개 정적인 메소드

public static merchantId ( $value = null )
    public static function merchantId($value = null)
    {
        if (empty($value)) {
            return self::$global->getMerchantId();
        }
        self::$global->setMerchantId($value);
    }

Usage Example

예제 #1
0
 /**
  * Bootstrap the application services.
  *
  * @return void
  */
 public function boot()
 {
     \Braintree\Configuration::environment('sandbox');
     \Braintree\Configuration::merchantId(env('BRAINTREE_MERCHANT_ID'));
     \Braintree\Configuration::publicKey(env('BRAINTREE_PUBLIC_KEY'));
     \Braintree\Configuration::privateKey(env('BRAINTREE_PRIVATE_KEY'));
 }
All Usage Examples Of Braintree\Configuration::merchantId