関数
AmazonPay::getAmazonV1Client()
Initializes and returns Amazon Pay SDK V1 client object
戻り値 戻り値
ファイル: src/AmazonPay.php
public function getAmazonV1Client() { $config = $this->getActingOpts(); $config = [ 'merchant_id' => $config['merchant_id'], 'access_key' => $config['access_key'], 'secret_key' => $config['secret_key'], 'platform_id' => Config\Constants::PLATFORM_ID, 'region' => $config['region'] === 'eu' ? 'de' : $config['region'], 'currency_code' => usces_crcode('return'), 'sandbox' => $config['sandbox'], ]; return new V1Client($config); }