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

# Interface MegafonService

public interface MegafonService

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `cancelPayment(MegafonPayment payment)`
  `void`
  `deleteOption(int optionId)`
  `void`
  `deleteOptionKit(int optionKitId)`
  `void`
  `deleteProduct(int productId)`
  `MegafonOption`
  `getMegafonOption(int optionId)`
  `SearchResult<MegafonPayment>`
  `getMegafonPayments(Page page, LocalDate dateFrom, LocalDate dateTo)`
  `MegafonOptionKit`
  `getOptionKit(int optionKitId)`
  `List<MegafonOptionKit>`
  `getOptionKitList()`
  `List<MegafonOption>`
  `getOptionList()`
  `MegafonProduct`
  `getProduct(int productId)`
  `List<MegafonProduct>`
  `getProductList()`
  `void`
  `updateMegafonPayment(MegafonPayment payment)`
  `void`
  `updateOption(MegafonOption option)`
  `void`
  `updateOptionKit(MegafonOptionKit optionKit)`
  `void`
  `updateProduct(MegafonProduct product)`

- ## Method Details

  - ### getProductList

    List<MegafonProduct> getProductList() throws Exception
    Throws:
      `Exception`

  - ### getProduct

    MegafonProduct getProduct(int productId) throws Exception
    Throws:
      `Exception`

  - ### updateProduct

    void updateProduct(MegafonProduct product) throws Exception
    Throws:
      `Exception`

  - ### deleteProduct

    void deleteProduct(int productId) throws Exception
    Throws:
      `Exception`

  - ### getOptionList

    List<MegafonOption> getOptionList() throws Exception
    Throws:
      `Exception`

  - ### getMegafonOption

    MegafonOption getMegafonOption(int optionId) throws Exception
    Throws:
      `Exception`

  - ### updateOption

    void updateOption(MegafonOption option) throws Exception
    Throws:
      `Exception`

  - ### deleteOption

    void deleteOption(int optionId) throws Exception
    Throws:
      `Exception`

  - ### getOptionKitList

    List<MegafonOptionKit> getOptionKitList() throws Exception
    Throws:
      `Exception`

  - ### updateOptionKit

    void updateOptionKit(MegafonOptionKit optionKit) throws Exception
    Throws:
      `Exception`

  - ### getOptionKit

    MegafonOptionKit getOptionKit(int optionKitId) throws Exception
    Throws:
      `Exception`

  - ### deleteOptionKit

    void deleteOptionKit(int optionKitId) throws Exception
    Throws:
      `Exception`

  - ### getMegafonPayments

    SearchResult<MegafonPayment> getMegafonPayments(Page page, LocalDate dateFrom, LocalDate dateTo) throws Exception
    Throws:
      `Exception`

  - ### updateMegafonPayment

    void updateMegafonPayment(MegafonPayment payment) throws Exception
    Throws:
      `Exception`

  - ### cancelPayment

    void cancelPayment(MegafonPayment payment) throws Exception
    Throws:
      `Exception`