public static function allowPartialRefund($gateway)
    {
        return (
            self::configToConstant($gateway, 'can_refund') === self::PARTIAL
            || self::configToConstant($gateway, 'can_refund') === self::MULTIPLE
        );
    }
public static function allowPartialRefund($gateway)
    {
        return (
            self::configToConstant($gateway, 'can_refund') === self::PARTIAL
            || self::configToConstant($gateway, 'can_refund') === self::MULTIPLE
        );
    }
public static function allowPartialRefund ( $ gateway ) { return ( self :: configToConstant ( $ gateway , 'can_refund' ) === self :: PARTIAL || self :: configToConstant ( $ gateway , 'can_refund' ) === self :: MULTIPLE ) ; }
Whether or not the given gateway should allow partial refunding of payments
@param string $gateway the gateway name
@return bool
Whether or not the given gateway should allow partial refunding of payments