public interface MobileService
| Modifier and Type | Method and Description |
|---|---|
java.util.List<MobileContractNotification> |
contractNotifications(int contractId,
Period periodSend,
java.lang.Boolean storable,
java.lang.Boolean notConfirm) |
void |
deleteContractNotification(int id)
Удаление уведомления.
|
MobileContractData |
getMobileContractData(int contractId) |
MobileContractNotification |
sendPushNotification(MobileContractNotification notification)
Послать пуш уведомления на все устройства пользователя.
|
MobileContractData getMobileContractData(int contractId) throws ru.bitel.bgbilling.common.BGException
ru.bitel.bgbilling.common.BGExceptionjava.util.List<MobileContractNotification> contractNotifications(int contractId, Period periodSend, java.lang.Boolean storable, java.lang.Boolean notConfirm) throws ru.bitel.bgbilling.common.BGException
contractId - - код договораperiodSend - - фильтр по периоду отправки. Если null то вернет все.storable - true - хранимые, false - не хранимые, null - всеnotConfirm - true - только не подтвержденные, false - только подтвержденные, null - всеru.bitel.bgbilling.common.BGExceptionvoid deleteContractNotification(int id)
throws ru.bitel.bgbilling.common.BGException
id - - код уведомленияru.bitel.bgbilling.common.BGExceptionMobileContractNotification sendPushNotification(MobileContractNotification notification) throws ru.bitel.bgbilling.common.BGException
notification - - уведомлениеru.bitel.bgbilling.common.BGException - - если сообщение более 1024 символов, если токена нет или статус не позволяет отправку уведомлений