Package bitel.billing.server.contract.bean

# Class CostSum

java.lang.Object
bitel.billing.server.contract.bean.CostSum

Direct Known Subclasses:
  `CostSumTime`

public class CostSum extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `contractId`
  `BigDecimal`
  `cost`
  `int`
  `serviceId`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CostSum(int contractId, int serviceId, BigDecimal cost)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getKey()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### contractId

    public int contractId

  - ### serviceId

    public int serviceId

  - ### cost

    public BigDecimal cost

- ## Constructor Details

  - ### CostSum

    public CostSum(int contractId, int serviceId, BigDecimal cost)

- ## Method Details

  - ### getKey

    public String getKey()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`