View file sdark.mobi/vendor/xsolla/xsolla-sdk-php/src/Exception/Webhook/InvalidAmountException.php

File size: 344B
<?php

namespace Xsolla\SDK\Exception\Webhook;

class InvalidAmountException extends ClientErrorException
{
    /**
     * @return string
     */
    public function getXsollaErrorCode()
    {
        return 'INCORRECT_AMOUNT';
    }

    /**
     * @return int
     */
    public function getHttpStatusCode()
    {
        return 422;
    }
}