src/ClearSaleID/Entity/Response/PackageStatus.php
private function setStatusCode( $statusCode )
    {
        $statusCode = intval( $statusCode );

        if (!in_array( $statusCode, self::$statusCodesList )) {
            throw new UnexpectedErrorException( sprintf( 'Invalid Status Code (%s)', $statusCode ) );
        }

        $this->statusCode = $statusCode;

        return $this;
    }
private function setStatusCode( $statusCode )
    {
        $statusCode = intval( $statusCode );

        if (!in_array( $statusCode, self::$statusCodesList )) {
            throw new UnexpectedErrorException( sprintf( 'Invalid Status Code (%s)', $statusCode ) );
        }

        $this->statusCode = $statusCode;

        return $this;
    }
@param  int $statusCode

@return $this
@throws \RodrigoPedra\ClearSaleID\Exception\UnexpectedErrorException