Package ru.bgcrm.plugin.bgbilling.proto.dao

# Class CardDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO
ru.bgcrm.plugin.bgbilling.proto.dao.CardDAO

public class CardDAO extends BillingModuleDAO

- ## Field Summary

  ### Fields inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO

  `moduleId`

  ### Fields inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO

  `dbInfo, jsonMapper, jsonTypeFactory, transferData, user`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CardDAO(User user, String billingId, int moduleId)`
  `CardDAO(User user, DBInfo dbInfo, int moduleId)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `activateCard(int contractId, String cardCode, String pinCode)`
  `List<IdTitle>`
  `CardContractInfo(int contractId, int serviceId, List<CardActivationData> activeCardList)`

  ### Methods inherited from class ru.bgcrm.plugin.bgbilling.proto.dao.BillingModuleDAO

  `getModuleId, setModuleId`

  ### Methods inherited from class ru.bgcrm.plugin.bgbilling.dao.BillingDAO

  `doRequest, getDbInfo, getPage, getParameterId, getVersion, linesToString, readJsonValue, setPage`

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

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

- ## Constructor Details

  - ### CardDAO

    public CardDAO(User user, String billingId, int moduleId)

  - ### CardDAO

    public CardDAO(User user, DBInfo dbInfo, int moduleId)

- ## Method Details

  - ### CardContractInfo

    public List<IdTitle> CardContractInfo(int contractId, int serviceId, List<CardActivationData> activeCardList)

  - ### activateCard

    public void activateCard(int contractId, String cardCode, String pinCode)