for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Xsolla\SDK\Webhook\Response;
use Xsolla\SDK\API\XsollaClient;
use Xsolla\SDK\Webhook\WebhookResponse;
class PinCodeResponse extends WebhookResponse
{
public function __construct($pinCode)
$this->validateStringParameter('Pin code', $pinCode);
parent::__construct(200, XsollaClient::jsonEncode(array('pin_code' => $pinCode)));
}