Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SubscriptionType.java « purchase « maps « mapswithme « com « src « android - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee2deaacf3433354088fc4a103a135f9a0b20f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.mapswithme.maps.purchase;

import android.support.annotation.NonNull;

import com.mapswithme.maps.PrivateVariables;

public enum SubscriptionType
{
  ADS_REMOVAL
      {
        @NonNull
        @Override
        String getServerId()
        {
          return PrivateVariables.adsRemovalServerId();
        }

        @NonNull
        @Override
        String getVendor()
        {
          return PrivateVariables.adsRemovalVendor();
        }
      },
  BOOKMARKS
      {
        @NonNull
        @Override
        String getServerId()
        {
          return PrivateVariables.bookmarksSubscriptionServerId();
        }

        @NonNull
        @Override
        String getVendor()
        {
          return PrivateVariables.bookmarksSubscriptionVendor();
        }
      };

  @NonNull
  abstract String getServerId();

  @NonNull
  abstract String getVendor();
}