Enum Class ModuleSetupKeys
java.lang.Object
java.lang.Enum<ModuleSetupKeys>
ru.bitel.bgbilling.modules.smartpay.server.bean.enums.ModuleSetupKeys
- All Implemented Interfaces:
Serializable,Comparable<ModuleSetupKeys>,Constable,ParameterMapKey
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionsmartpay.api.key=Оплата картамиsmartpay.check.event.worker.sleep.timeout=300smartpay.description=Пополнение баланса по договору №{CONTRACT_TITLE}Включить модульsmartpay.event.worker=truesmartpay.fiscalization.customer.address.enable=truesmartpay.fiscalization.customer.address.required=falsesmartpay.fiscalization.customer.address.title=smartpay.gate.url=https://ecomm.smartpay.tj/api/merchantВремя жизни заказаsmartpay.payment.comment=Оплата через сервис SimplePay [транзакция #{TRANSACTION_ID}]"smartpay.payment.type.id=0smartpay.return.url=smartpay.sum.max=invalid reference
BGBaseConstants.DEFAULT_SUM_MAXsmartpay.sum.min=invalid reference
BGBaseConstants.DEFAULT_SUM_MINsmartpay.transaction.status.check.count=5 -
Method Summary
Modifier and TypeMethodDescriptiongetName()getTitle()static ModuleSetupKeysReturns the enum constant of this class with the specified name.static ModuleSetupKeys[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ru.bitel.common.ParameterMapKey
getParent, getSubLevel
-
Enum Constant Details
-
SMARTPAY_ENABLE
Включить модуль
smartpay.enable=true
Включить модуль приёма платежей
-
SMARTPAY_CARD_ENABLE
Оплата картами
smartpay.card.enable=true
Разрешить оплату картами.
-
SMARTPAY_LIFETIME
Время жизни заказа
lifetime=1800
Время (в секундах) в течение которого платеж должен быть завершен, в противном случае заказ при проведении платежа SimplePay откажет платежной системе в проведении. Этот параметр контролируется SimplePay, а также, если платежная система поддерживает такую возможность, и платежной системой. См. Справочник платежных систем и групп. Минимально допустимое значение: 300 секунд (5 минут). Максимально допустимое значение: 604800 секунд (7 суток). В случае выхода за пограничные значения будет безакцептно присвоено минимальное или максимальное значение, соответственно
-
SMARTPAY_SUM_MIN
smartpay.sum.min=invalid reference
BGBaseConstants.DEFAULT_SUM_MIN -
SMARTPAY_SUM_MAX
smartpay.sum.max=invalid reference
BGBaseConstants.DEFAULT_SUM_MAX -
SMARTPAY_GATE_URL
smartpay.gate.url=https://ecomm.smartpay.tj/api/merchant -
SMARTPAY_API_KEY
smartpay.api.key= -
SMARTPAY_RETURN_URL
smartpay.return.url= -
SMARTPAY_DESCRIPTION
smartpay.description=Пополнение баланса по договору №{CONTRACT_TITLE} -
SMARTPAY_PAYMENT_TYPE_ID
smartpay.payment.type.id=0 -
SMARTPAY_PAYMENT_COMMENT
smartpay.payment.comment=Оплата через сервис SimplePay [транзакция #{TRANSACTION_ID}]" -
SMARTPAY_EVENT_WORKER
smartpay.event.worker=true -
SMARTPAY_CHECK_EVENT_WORKER_SLEEP_TIMEOUT
smartpay.check.event.worker.sleep.timeout=300 -
SMARTPAY_TRANSACTION_STATUS_CHECK_COUNT
smartpay.transaction.status.check.count=5 -
SMARTPAY_FISCALIZATION_CUSTOMER_ADDRESS_ENABLE
smartpay.fiscalization.customer.address.enable=true -
SMARTPAY_FISCALIZATION_CUSTOMER_ADDRESS_TITLE
smartpay.fiscalization.customer.address.title= -
SMARTPAY_FISCALIZATION_CUSTOMER_ADDRESS_REQUIRED
smartpay.fiscalization.customer.address.required=false
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getName
- Specified by:
getNamein interfaceParameterMapKey
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceParameterMapKey
-
getTitle
- Specified by:
getTitlein interfaceParameterMapKey
-
getDescription
- Specified by:
getDescriptionin interfaceParameterMapKey
-