<?php
namespace XsollaSDKWebhookResponse;
use XsollaSDKAPIXsollaClient;
use XsollaSDKWebhookWebhookResponse;
class PinCodeResponse extends WebhookResponse
{
/**
* @param string $pinCode
*/
public function __construct($pinCode)
{
$this->validateStringParameter('Pin code', $pinCode);
parent::__construct(200, XsollaClient::jsonEncode(array('pin_code' => $pinCode)));
}
}