src/Genesis/API/Request/Financial/Alternatives/Klarna/Item.php
protected function verifyNegativeField($field, $value)
    {
        if (!empty($value) && $value > 0) {
            throw new \Genesis\Exceptions\ErrorParameter(
                sprintf(
                    'Item parameter %s is set to %s, but expected to be negative number',
                    $field,
                    $value
                )
            );
        }
    }
protected function verifyNegativeField($field, $value)
    {
        if (!empty($value) && $value > 0) {
            throw new \Genesis\Exceptions\ErrorParameter(
                sprintf(
                    'Item parameter %s is set to %s, but expected to be negative number',
                    $field,
                    $value
                )
            );
        }
    }
protected function verifyNegativeField ( $ field , $ value ) { if ( ! empty ( $ value ) && $ value > 0 ) { throw new \ Genesis \ Exceptions \ ErrorParameter ( sprintf ( 'Item parameter %s is set to %s, but expected to be negative number' , $ field , $ value ) ) ; } }
Verify negative filed

@param $field
@param $value
@throws \Genesis\Exceptions\ErrorParameter
Verify negative filed