Package ru.bitel.bgbilling.modules.card.common.service

# Interface CardService

@MTOM(enabled=true, threshold=10000) public interface CardService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cardActivateForPayment(int contractId, String number, String pin)`
  Активация карты для пополнения баланса.
  `void`
  `cardSeriesDelete(int id)`
  `CardSeries`
  `cardSeriesGet(int id)`
  `void`
  `cardSeriesUpdate(CardSeries cardSeries)`
  `List<Dealer>`
  `dealerList(int type)`
  `void`
  `dealerUpdate(Dealer dealer)`
  `Result<DealerPayment>`
  `paymentList(Set<Integer> dealerIds, Date dateFrom, Date dateTo, int type, String trans, String contract, long contractGroups, List<FilterEntityAttr> contractFilter, Page page)`
  `ru.bitel.bgbilling.common.dto.FileDto`
  `paymentListExport(Set<Integer> dealerIds, Date dateFrom, Date dateTo, int type, String trans, String contract, long contractGroups, List<FilterEntityAttr> contractFilter, Page page)`

- ## Method Details

  - ### paymentList

    Result<DealerPayment> paymentList(Set<Integer> dealerIds, Date dateFrom, Date dateTo, int type, String trans, String contract, long contractGroups, List<FilterEntityAttr> contractFilter, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### paymentListExport

    ru.bitel.bgbilling.common.dto.FileDto paymentListExport(Set<Integer> dealerIds, Date dateFrom, Date dateTo, int type, String trans, String contract, long contractGroups, List<FilterEntityAttr> contractFilter, Page page) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### cardActivateForPayment

    void cardActivateForPayment(int contractId, String number, String pin) throws ru.bitel.bgbilling.common.BGException
    Активация карты для пополнения баланса.
    Parameters:
      `contractId` - ID договора, для которого активируется карта.
      `number` - номер карты.
      `pin` - пароль (PIN-код) карты.
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### cardSeriesGet

    CardSeries cardSeriesGet(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### cardSeriesUpdate

    void cardSeriesUpdate(CardSeries cardSeries) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### cardSeriesDelete

    void cardSeriesDelete(int id) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### dealerList

    List<Dealer> dealerList(int type) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`

  - ### dealerUpdate

    void dealerUpdate(Dealer dealer) throws ru.bitel.bgbilling.common.BGException
    Throws:
      `ru.bitel.bgbilling.common.BGException`