Class PaymentConstants

java.lang.Object
com.skava.paymentapp.constant.PaymentConstants

public class PaymentConstants extends Object
The class PaymentConstants contains the constants used in the Payment. It contains - zk property settings Default payment values payment details Transaction details Transaction event names Types of operations Roles and privilege Set of validators
Since:
27-Jul-2018
Author:
Infosys Equinox
  • Field Details

    • SERVICE_NAME

      public static final String SERVICE_NAME
      Service name
      See Also:
    • DEFAULT_PAYMENT_MESSAGE_TOPIC

      public static final String DEFAULT_PAYMENT_MESSAGE_TOPIC
      default topic to which the payment events are published
      See Also:
    • DEFAULT_PAYMENT_REQUEST_QUEUE

      public static final String DEFAULT_PAYMENT_REQUEST_QUEUE
      default Request Queue to which the payment events are published
      See Also:
    • DEFAULT_PAYMENT_RESPONSE_QUEUE

      public static final String DEFAULT_PAYMENT_RESPONSE_QUEUE
      default Response Queue to which the payment events are published
      See Also:
    • PAYMENT_MESSAGE_TOPIC

      public static final String PAYMENT_MESSAGE_TOPIC
      topic to which the payment events are published
      See Also:
    • PAYMENT_REQUEST_QUEUE

      public static final String PAYMENT_REQUEST_QUEUE
      Request Queue to which the payment events are published
      See Also:
    • PAYMENT_RESPONSE_QUEUE

      public static final String PAYMENT_RESPONSE_QUEUE
      Response Queue to which the payment events are published
      See Also:
    • PAYMENTITEM_MESSAGE_TOPIC

      public static final String PAYMENTITEM_MESSAGE_TOPIC
      topic to which the paymentitem events are published
      See Also:
    • PAYMENTITEM_REQUEST_QUEUE

      public static final String PAYMENTITEM_REQUEST_QUEUE
      Request Queue to which the paymentitem events are published
      See Also:
    • PAYMENTITEM_RESPONSE_QUEUE

      public static final String PAYMENTITEM_RESPONSE_QUEUE
      Response Queue to which the paymentitem events are published
      See Also:
    • TRANSACTION_MESSAGE_TOPIC

      public static final String TRANSACTION_MESSAGE_TOPIC
      topic to which the transaction events are published
      See Also:
    • TRANSACTION_REQUEST_QUEUE

      public static final String TRANSACTION_REQUEST_QUEUE
      Request Queue to which the transaction events are published
      See Also:
    • TRANSACTION_RESPONSE_QUEUE

      public static final String TRANSACTION_RESPONSE_QUEUE
      Response Queue to which the transaction events are published
      See Also:
    • BULK_TRANSACTION_MESSAGE_TOPIC

      public static final String BULK_TRANSACTION_MESSAGE_TOPIC
      topic to which the bulk transaction events are published
      See Also:
    • BULK_TRANSACTION_REQUEST_QUEUE

      public static final String BULK_TRANSACTION_REQUEST_QUEUE
      Response Queue to which the bulk transaction events are published
      See Also:
    • BULK_TRANSACTION_RESPONSE_QUEUE

      public static final String BULK_TRANSACTION_RESPONSE_QUEUE
      Response Queue to which the bulk transaction events are published
      See Also:
    • PAYMENT_OMS_MESSAGE

      public static final String PAYMENT_OMS_MESSAGE
      See Also:
    • PAYMENT_PAYLOAD

      public static final String PAYMENT_PAYLOAD
      payment event payload field name
      See Also:
    • API_OPERATION

      public static final String API_OPERATION
      event operation field
      See Also:
    • LOCALE

      public static final String LOCALE
      event locale field
      See Also:
    • COLLECTION_ID

      public static final String COLLECTION_ID
      collectionId
      See Also:
    • PAGE

      public static final String PAGE
      page
      See Also:
    • SIZE

      public static final String SIZE
      size
      See Also:
    • ID

      public static final String ID
      Id
      See Also:
    • PAYMENTID

      public static final String PAYMENTID
      PaymentId
      See Also:
    • PAYMENT_ITEM_ID

      public static final String PAYMENT_ITEM_ID
      PaymentItemId
      See Also:
    • ALL_OR_NONE

      public static final String ALL_OR_NONE
      ALL_OR_NONE
      See Also:
    • BULKTRANSACTION

      public static final String BULKTRANSACTION
      BULKTRANSACTION
      See Also:
    • POST

      public static final String POST
      post types of operations for events
      See Also:
    • GET

      public static final String GET
      get types of operations for events
      See Also:
    • GETALL

      public static final String GETALL
      getall types of operations for events
      See Also:
    • PUT

      public static final String PUT
      put types of operations for events
      See Also:
    • PATCH

      public static final String PATCH
      patch types of operations for events
      See Also:
    • DELETE

      public static final String DELETE
      delete types of operations for events
      See Also:
    • ROLE_ACCOUNT_BUYER

      public static final String ROLE_ACCOUNT_BUYER
      ROLE_B2B_BUYER type of role
      See Also:
    • ROLE_ACCOUNT_BUYER_ADMIN

      public static final String ROLE_ACCOUNT_BUYER_ADMIN
      ROLE_ACCOUNT_BUYER_ADMIN type of role
      See Also:
    • ROLE_PAYMENT_MANAGER

      public static final String ROLE_PAYMENT_MANAGER
      ROLE_PAYMENT_MANAGER type of role
      See Also:
    • ROLE_REG_USER

      public static final String ROLE_REG_USER
      ROLE_REG_USER type of role
      See Also:
    • ROLE_GUEST

      public static final String ROLE_GUEST
      ROLE_REG_USER type of role
      See Also:
    • REF_TRANSACTION_ID_PROP

      public static final String REF_TRANSACTION_ID_PROP
      REF_TRANSACTION_ID
      See Also:
    • DEFAULT_CHARGE_EXP_TIME

      public static final int DEFAULT_CHARGE_EXP_TIME
      This is the default charge expire time or refund window. In which the refund should be done within the provided days from the day of charge transaction.
      See Also:
    • CHARGE_EXP_TIME_PROP

      public static final String CHARGE_EXP_TIME_PROP
      This property nothing but the REFUND WINDOW, which contains the number of days a refund should be allowed. This should be set in the providerMaster properties with a value in days. If this property is not set, the default value set in DEFAULT_CHARGE_EXP_TIME will be considered.
      See Also:
    • DEFAULT_AUTH_EXP_TIME

      public static final int DEFAULT_AUTH_EXP_TIME
      This is the default auth expire time or charge window. In which the charge should be done within the provided days from the day of auth transaction.
      See Also:
    • AUTH_EXP_TIME_PROP

      public static final String AUTH_EXP_TIME_PROP
      This property nothing but the CHARGE WINDOW, which contains the number of days a charge should be allowed. This should be set in the providerMaster properties with a value in days. If this property is not set, the default value set in DEFAULT_AUTH_EXP_TIME will be considered.
      See Also:
    • REWARD_TYPE

      public static final String REWARD_TYPE
      Reward type
      See Also:
    • CREATE_PAYMENT_VALIDATOR

      public static final String CREATE_PAYMENT_VALIDATOR
      Payment entity validators
      See Also:
    • PATCH_UPDATE_PAYMENT_VALIDATOR

      public static final String PATCH_UPDATE_PAYMENT_VALIDATOR
      See Also:
    • FIND_PAYMENT_VALIDATOR

      public static final String FIND_PAYMENT_VALIDATOR
      See Also:
    • FIND_ALL_PAYMENT_VALIDATOR

      public static final String FIND_ALL_PAYMENT_VALIDATOR
      See Also:
    • FIND_PRIMARY_PAYMENT_VALIDATOR

      public static final String FIND_PRIMARY_PAYMENT_VALIDATOR
      See Also:
    • DELETE_PAYMENT_VALIDATOR

      public static final String DELETE_PAYMENT_VALIDATOR
      See Also:
    • DELETE_PAYMENT_PROP_VALIDATOR

      public static final String DELETE_PAYMENT_PROP_VALIDATOR
      See Also:
    • CREATE_PAYMENTITEM_VALIDATOR

      public static final String CREATE_PAYMENTITEM_VALIDATOR
      PaymentItem entity validators
      See Also:
    • PATCH_UPDATE_PAYMENTITEM_VALIDATOR

      public static final String PATCH_UPDATE_PAYMENTITEM_VALIDATOR
      See Also:
    • FIND_PAYMENTITEM_VALIDATOR

      public static final String FIND_PAYMENTITEM_VALIDATOR
      See Also:
    • FIND_ALL_PAYMENTITEM_VALIDATOR

      public static final String FIND_ALL_PAYMENTITEM_VALIDATOR
      See Also:
    • DELETE_PAYMENTITEM_VALIDATOR

      public static final String DELETE_PAYMENTITEM_VALIDATOR
      See Also:
    • DELETE_PAYMENTITEM_PROP_VALIDATOR

      public static final String DELETE_PAYMENTITEM_PROP_VALIDATOR
      See Also:
    • CREATE_TRANSACTION_VALIDATOR

      public static final String CREATE_TRANSACTION_VALIDATOR
      Transaction entity validators
      See Also:
    • PATCH_TRANSACTION_VALIDATOR

      public static final String PATCH_TRANSACTION_VALIDATOR
      See Also:
    • FIND_TRANSACTION_VALIDATOR

      public static final String FIND_TRANSACTION_VALIDATOR
      See Also:
    • FIND_ALL_TRANSACTION_VALIDATOR

      public static final String FIND_ALL_TRANSACTION_VALIDATOR
      See Also:
    • DELETE_TRANSACTION_VALIDATOR

      public static final String DELETE_TRANSACTION_VALIDATOR
      See Also:
    • DELETE_TRANSACTION_PROP_VALIDATOR

      public static final String DELETE_TRANSACTION_PROP_VALIDATOR
      See Also:
    • CREATE_BULK_TRANSACTION_VALIDATOR

      public static final String CREATE_BULK_TRANSACTION_VALIDATOR
      Bulk Transaction validator
      See Also:
    • CREATE_COLLECTIONPROVIDER_VALIDATOR

      public static final String CREATE_COLLECTIONPROVIDER_VALIDATOR
      Collection Provider entity validators
      See Also:
    • PATCH_UPDATE_COLLECTIONPROVIDER_VALIDATOR

      public static final String PATCH_UPDATE_COLLECTIONPROVIDER_VALIDATOR
      See Also:
    • FIND_COLLECTIONPROVIDER_VALIDATOR

      public static final String FIND_COLLECTIONPROVIDER_VALIDATOR
      See Also:
    • FIND_ALL_COLLECTIONPROVIDER_VALIDATOR

      public static final String FIND_ALL_COLLECTIONPROVIDER_VALIDATOR
      See Also:
    • DELETE_COLLECTIONPROVIDER_VALIDATOR

      public static final String DELETE_COLLECTIONPROVIDER_VALIDATOR
      See Also:
    • DELETE_COLLECTIONPROVIDER_PROP_VALIDATOR

      public static final String DELETE_COLLECTIONPROVIDER_PROP_VALIDATOR
      See Also:
    • COLLECTION_PROVIDERS_MAP

      public static final String COLLECTION_PROVIDERS_MAP
      collectionId
      See Also:
    • TRANSACTION_PROPERTY_MESSAGE_DETAILS

      public static final String TRANSACTION_PROPERTY_MESSAGE_DETAILS
      See Also:
    • TRANSACTION_PROPERTY_MESSAGE_REPLY_TO

      public static final String TRANSACTION_PROPERTY_MESSAGE_REPLY_TO
      See Also:
    • TRANSACTION_PROPERTY_MESSAGE_PROPERTIES

      public static final String TRANSACTION_PROPERTY_MESSAGE_PROPERTIES
      See Also:
    • BULK_TRANSACTION_PROPERTY_SIBLING_TRANSACTION_PARAM

      public static final String BULK_TRANSACTION_PROPERTY_SIBLING_TRANSACTION_PARAM
      See Also:
    • BULK_TRANSACTION_PROPERTY_SIBLING_TRANSACTION_ALL_OR_NONE

      public static final String BULK_TRANSACTION_PROPERTY_SIBLING_TRANSACTION_ALL_OR_NONE
      See Also:
    • PREAUTH_AMOUNT

      public static final BigDecimal PREAUTH_AMOUNT
    • MASK_REPLACE_SYMBOL

      public static final String MASK_REPLACE_SYMBOL
      See Also:
    • MASK_REPLACE_REGEX

      public static final String MASK_REPLACE_REGEX
      See Also:
    • RECONCILE_TRANSACTION

      public static final String RECONCILE_TRANSACTION
      See Also:
    • SFO_URL

      public static final String SFO_URL
      See Also:
    • PROVIDER_REQUEST_ID

      public static final String PROVIDER_REQUEST_ID
      See Also:
    • BILLING_ADDRESS_VALIDATOR

      public static final String BILLING_ADDRESS_VALIDATOR
      See Also:
    • CANCEL_AUTH_WEBHOOK_NAME

      public static final String CANCEL_AUTH_WEBHOOK_NAME
      See Also:
    • AUTH_WEBHOOK_NAME

      public static final String AUTH_WEBHOOK_NAME
      See Also:
    • REFUND_AUTH_WEBHOOK_NAME

      public static final String REFUND_AUTH_WEBHOOK_NAME
      See Also:
    • CAPTURE_AUTH_WEBHOOK_NAME

      public static final String CAPTURE_AUTH_WEBHOOK_NAME
      See Also:
    • GET_TOKEN_WEBHOOK_NAME

      public static final String GET_TOKEN_WEBHOOK_NAME
      See Also:
    • CREATE_TOKEN_WEBHOOK_NAME

      public static final String CREATE_TOKEN_WEBHOOK_NAME
      See Also:
    • UPDATE_TOKEN_WEBHOOK_NAME

      public static final String UPDATE_TOKEN_WEBHOOK_NAME
      See Also:
    • CREDIT_WEBHOOK_NAME

      public static final String CREDIT_WEBHOOK_NAME
      See Also:
    • DIRECT_CHARGE_WEBHOOK_NAME

      public static final String DIRECT_CHARGE_WEBHOOK_NAME
      See Also:
    • REGISTER_WEBHOOK_NAME

      public static final String REGISTER_WEBHOOK_NAME
      See Also:
    • ERROR_CODE

      public static final String ERROR_CODE
      See Also:
    • ERROR_MESSAGE

      public static final String ERROR_MESSAGE
      See Also:
  • Constructor Details

    • PaymentConstants

      protected PaymentConstants()
      Constructor