PayU\Configuration::setMerchantId PHP Method

setMerchantId() public method

public setMerchantId ( string $merchantId )
$merchantId string
    public function setMerchantId($merchantId)
    {
        $this->merchantId = $merchantId;
        return $this;
    }

Usage Example

 public function setUp()
 {
     $configuration = new Configuration();
     $configuration->setMerchantId('MY_MERCHANT_01')->setSecretKey('SECRET_KEY')->setPaymentEndpointUrl('https://secure.payu.com.tr/order/alu/v3')->setLoyaltyInquiryEndPointUrl('https://secure.payu.com.tr/api/loyalty-points/check');
     $this->configuration = $configuration;
     $this->client = new Client($configuration);
 }
All Usage Examples Of PayU\Configuration::setMerchantId