
**Inheritance:**
java.lang.Object
```
public class Rate
```

Represents a definition of a time period and rates applicable for a resource during that period.
## Methods

| Method | Description |
| --- | --- |
| [getCostPerUse()](#getCostPerUse--) | Gets the cost per use of a resource. |
| [getOvertimeRate()](#getOvertimeRate--) | Gets the overtime rate per hour for a resource. |
| [getOvertimeRateFormat()](#getOvertimeRateFormat--) | Gets the units used by Microsoft Project to display the overtime rate. |
| [getRateTable()](#getRateTable--) | Gets the unique identifier of a rate table for a resource. |
| [getRatesFrom()](#getRatesFrom--) | Gets the date when a rate becomes effective. |
| [getRatesTo()](#getRatesTo--) | Gets the last date when a rate is effective. |
| [getStandardRate()](#getStandardRate--) | Gets the standard rate per hour for a resource. |
| [getStandardRateFormat()](#getStandardRateFormat--) | Gets the units used by Microsoft Project to display the standard rate. |
| [setCostPerUse(BigDecimal value)](#setCostPerUse-java.math.BigDecimal-) | Sets the cost per use of a resource. |
| [setOvertimeRate(BigDecimal value)](#setOvertimeRate-java.math.BigDecimal-) | Sets the overtime rate per hour for a resource. |
| [setOvertimeRateFormat(int value)](#setOvertimeRateFormat-int-) | Sets the units used by Microsoft Project to display the overtime rate. |
| [setRateTable(int value)](#setRateTable-int-) | Sets the unique identifier of a rate table for a resource. |
| [setRatesFrom(Date value)](#setRatesFrom-java.util.Date-) | Sets the date when a rate becomes effective. |
| [setRatesTo(Date value)](#setRatesTo-java.util.Date-) | Sets the last date when a rate is effective. |
| [setStandardRate(BigDecimal value)](#setStandardRate-java.math.BigDecimal-) | Sets the standard rate per hour for a resource. |
| [setStandardRateFormat(int value)](#setStandardRateFormat-int-) | Sets the units used by Microsoft Project to display the standard rate. |
### getCostPerUse() {#getCostPerUse--}
```
public final BigDecimal getCostPerUse()
```


Gets the cost per use of a resource. This value retrieved from the current date if a rate table exists for a resource.

**Returns:**
java.math.BigDecimal - the cost per use of a resource.
### getOvertimeRate() {#getOvertimeRate--}
```
public final BigDecimal getOvertimeRate()
```


Gets the overtime rate per hour for a resource.

**Returns:**
java.math.BigDecimal - the overtime rate per hour for a resource.
### getOvertimeRateFormat() {#getOvertimeRateFormat--}
```
public final int getOvertimeRateFormat()
```


Gets the units used by Microsoft Project to display the overtime rate.

**Returns:**
int - the units used by Microsoft Project to display the overtime rate.
### getRateTable() {#getRateTable--}
```
public final int getRateTable()
```


Gets the unique identifier of a rate table for a resource.

**Returns:**
int - the unique identifier of a rate table for a resource.
### getRatesFrom() {#getRatesFrom--}
```
public final Date getRatesFrom()
```


Gets the date when a rate becomes effective.

**Returns:**
java.util.Date - the date when a rate becomes effective.
### getRatesTo() {#getRatesTo--}
```
public final Date getRatesTo()
```


Gets the last date when a rate is effective.

**Returns:**
java.util.Date - the last date when a rate is effective.
### getStandardRate() {#getStandardRate--}
```
public final BigDecimal getStandardRate()
```


Gets the standard rate per hour for a resource.

**Returns:**
java.math.BigDecimal - the standard rate per hour for a resource.
### getStandardRateFormat() {#getStandardRateFormat--}
```
public final int getStandardRateFormat()
```


Gets the units used by Microsoft Project to display the standard rate.

**Returns:**
int - the units used by Microsoft Project to display the standard rate.
### setCostPerUse(BigDecimal value) {#setCostPerUse-java.math.BigDecimal-}
```
public final void setCostPerUse(BigDecimal value)
```


Sets the cost per use of a resource. This value retrieved from the current date if a rate table exists for a resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.math.BigDecimal | the cost per use of a resource. |

### setOvertimeRate(BigDecimal value) {#setOvertimeRate-java.math.BigDecimal-}
```
public final void setOvertimeRate(BigDecimal value)
```


Sets the overtime rate per hour for a resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.math.BigDecimal | the overtime rate per hour for a resource. |

### setOvertimeRateFormat(int value) {#setOvertimeRateFormat-int-}
```
public final void setOvertimeRateFormat(int value)
```


Sets the units used by Microsoft Project to display the overtime rate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the units used by Microsoft Project to display the overtime rate. |

### setRateTable(int value) {#setRateTable-int-}
```
public final void setRateTable(int value)
```


Sets the unique identifier of a rate table for a resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the unique identifier of a rate table for a resource. |

### setRatesFrom(Date value) {#setRatesFrom-java.util.Date-}
```
public final void setRatesFrom(Date value)
```


Sets the date when a rate becomes effective.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.util.Date | the date when a rate becomes effective. |

### setRatesTo(Date value) {#setRatesTo-java.util.Date-}
```
public final void setRatesTo(Date value)
```


Sets the last date when a rate is effective.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.util.Date | the last date when a rate is effective. |

### setStandardRate(BigDecimal value) {#setStandardRate-java.math.BigDecimal-}
```
public final void setStandardRate(BigDecimal value)
```


Sets the standard rate per hour for a resource.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | java.math.BigDecimal | the standard rate per hour for a resource. |

### setStandardRateFormat(int value) {#setStandardRateFormat-int-}
```
public final void setStandardRateFormat(int value)
```


Sets the units used by Microsoft Project to display the standard rate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | the units used by Microsoft Project to display the standard rate. |

