# com.bea.commerce.ebusiness.discount.mgmt
DiscountRule Interface

public interface DiscountRule
extends `Serializable`

This interface defines the public interface of the `DiscountRule` object. A `DiscountRule` encapsulates the language for specifying the qualifier entities and target entities for a discount.

All Superinterfaces
  `Serializable`

## Method Summary

`public `String`` | `getRule`() Gets the rule as a String.
`public `String`` | `toString`() Gets the same String as `getRule`.``

## Method Detail

### getRule() Method

    public String getRule()

Gets the rule as a String.

#### Returns

a String representation of the rule

### toString() Method

    public String toString()

Gets the same String as `getRule`.

Overrides
  `Object.toString()`

#### Returns

a String representation of the rule

Related Topics

``DiscountRule.getRule()``

``