@@ -102,7 +102,7 @@ public class TariffInitializationService {
|
|||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case DEMO:
|
case DEMO:
|
||||||
tariff.setName("Демо");
|
tariff.setName("demo");
|
||||||
tariff.setPrice(demoPrice);
|
tariff.setPrice(demoPrice);
|
||||||
tariff.setTokens(demoTokens);
|
tariff.setTokens(demoTokens);
|
||||||
tariff.setMaxFilesCount(demoMaxFileCount);
|
tariff.setMaxFilesCount(demoMaxFileCount);
|
||||||
@@ -111,7 +111,7 @@ public class TariffInitializationService {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case START:
|
case START:
|
||||||
tariff.setName("Стартовый");
|
tariff.setName("start");
|
||||||
tariff.setPrice(startPrice);
|
tariff.setPrice(startPrice);
|
||||||
tariff.setTokens(startTokens);
|
tariff.setTokens(startTokens);
|
||||||
tariff.setMaxFilesCount(startMaxFileCount);
|
tariff.setMaxFilesCount(startMaxFileCount);
|
||||||
@@ -119,17 +119,8 @@ public class TariffInitializationService {
|
|||||||
tariff.setMaxUsers(startUserCount);
|
tariff.setMaxUsers(startUserCount);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case BASIC:
|
|
||||||
tariff.setName("Базовый");
|
|
||||||
tariff.setPrice(basicPrice);
|
|
||||||
tariff.setTokens(basicTokens);
|
|
||||||
tariff.setMaxFilesCount(basicMaxFileCount);
|
|
||||||
tariff.setDiskSize(1024L * 1024 * 1024 * 2L);
|
|
||||||
tariff.setMaxUsers(basicUserCount);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case PRO:
|
case PRO:
|
||||||
tariff.setName("Профессиональный");
|
tariff.setName("pro");
|
||||||
tariff.setPrice(proPrice);
|
tariff.setPrice(proPrice);
|
||||||
tariff.setTokens(proTokens);
|
tariff.setTokens(proTokens);
|
||||||
tariff.setMaxFilesCount(proMaxFileCount);
|
tariff.setMaxFilesCount(proMaxFileCount);
|
||||||
@@ -138,7 +129,7 @@ public class TariffInitializationService {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ENTERPRISE:
|
case ENTERPRISE:
|
||||||
tariff.setName("Корпоративный");
|
tariff.setName("premium");
|
||||||
tariff.setPrice(enterpricePrice);
|
tariff.setPrice(enterpricePrice);
|
||||||
tariff.setTokens(enterpriceTokens);
|
tariff.setTokens(enterpriceTokens);
|
||||||
tariff.setMaxFilesCount(enterpriceMaxFileCount);
|
tariff.setMaxFilesCount(enterpriceMaxFileCount);
|
||||||
|
|||||||
Reference in New Issue
Block a user