Class coresettings

Inheritance diagram for com.payments.core.CoreSettings:

com.payments.core.common.ResponseJson

Public Member Functions

ArrayList< CoreCaCertificate > getRevokedCaCertificates ()
void setRevokedCaCertificates (ArrayList< CoreCaCertificate > revokedCaCertificates)
ArrayList< CoreSetting > getTipList ()
ArrayList< CoreSetting > getTaxList ()
void setTipList (final ArrayList< CoreSetting > tipList)
void setTaxList (final ArrayList< CoreSetting > taxList)
void setFeatures (Map< String, Boolean > features)
Map< String, Boolean > getFeatures ()
void setMerchantDetails (CoreMerchantDetails merchantDetails)
CoreMerchantDetails getMerchantDetails ()
Currency getCurrency ()
void setCurrency (Currency currency)
ArrayList< CoreApplication > getApplications ()
ArrayList< CoreCaCertificate > getCaCertificates ()
ArrayList< CoreEmvTag > getEmvTags ()
void setApplications (ArrayList< CoreApplication > applications)
void setCaCertificates (ArrayList< CoreCaCertificate > caCertificates)
void setEmvTags (ArrayList< CoreEmvTag > emvTags)
Public Member Functions inherited from com.payments.core.common.ResponseJson
String getAsJsonObject ()

Detailed Description

Holds configuration settings retrieved from the server

Member Function Documentation

getApplications()

    • ArrayListCoreApplication com.payments.core.CoreSettings.getApplications
    • (
    • )

  • inline

Gets terminal applications tags.

Returns

applications retrieved from the terminal

getCaCertificates()

  • inline

Gets terminal certificates.

Returns

caCertificates retrieved from the terminal

getCurrency()

    • Currency com.payments.core.CoreSettings.getCurrency
    • (
    • )

  • inline

The Currency instance representing currency.

Returns

currency supported by the terminal.

getEmvTags()

    • ArrayListCoreEmvTag com.payments.core.CoreSettings.getEmvTags
    • (
    • )

  • inline

Gets terminal emv tags.

Returns

emvTags retrieved from the terminal

getFeatures()

    • Map<String, Boolean> com.payments.core.CoreSettings.getFeatures
    • (
    • )

  • inline

The features that the terminal supports.

Returns

features that the terminal supports

getMerchantDetails()

Merchant details (address,name).

Returns

features holds merchant details

getRevokedCaCertificates()

    • ArrayListCoreCaCertificate com.payments.core.CoreSettings.getRevokedCaCertificates
    • (
    • )

  • inline

The ArrayList of CoreSetting instances represents list of revoked CAPKS.

Returns

tipList which holds list of tips from the server

getTaxList()

    • ArrayListCoreSetting com.payments.core.CoreSettings.getTaxList
    • (
    • )

  • inline

The ArrayList of CoreSetting instances represents list of taxes which can be set during a transaction and can be customized in Tax settings.

Returns

taxList which holds list of taxes from the server

getTipList()

    • ArrayListCoreSetting com.payments.core.CoreSettings.getTipList
    • (
    • )

  • inline

The ArrayList of CoreSetting instances represents list of tips which can be set during a transaction and can be customized in Tip settings.

Returns

tipList which holds list of tips from the server

setApplications()

    • void com.payments.core.CoreSettings.setApplications
    • (
    • ArrayList< CoreApplication >
    • applications
    • )

  • inline

Sets the value of applications property.

Parameters

  • applications

setCaCertificates()

    • void com.payments.core.CoreSettings.setCaCertificates
    • (
    • ArrayList< CoreCaCertificate >
    • caCertificates
    • )

  • inline

Sets the value of caCertificates property.

Parameters

  • caCertificates

setCurrency()

    • void com.payments.core.CoreSettings.setCurrency
    • (
    • Currency
    • currency
    • )

  • inline

Sets the value of currency property.

Parameters

  • currency
  • supported by the terminal

setEmvTags()

    • void com.payments.core.CoreSettings.setEmvTags
    • (
    • ArrayList< CoreEmvTag >
    • emvTags
    • )

  • inline

Sets the value of emvTags property.

Parameters

  • emvTags

setFeatures()

    • void com.payments.core.CoreSettings.setFeatures
    • (
    • Map< String, Boolean >
    • features
    • )

  • inline

Sets ArrayList of features based on the response from the server.

Parameters

  • features
  • that the terminal supports.

setMerchantDetails()

    • void com.payments.core.CoreSettings.setMerchantDetails
    • (
    • CoreMerchantDetails
    • merchantDetails
    • )

  • inline

Sets CoreMerchantDetails based on the response from the server.

Parameters

  • merchantDetails
  • holds merchant details.

setRevokedCaCertificates()

    • void com.payments.core.CoreSettings.setRevokedCaCertificates
    • (
    • ArrayList< CoreCaCertificate >
    • revokedCaCertificates
    • )

  • inline

Sets the value of caCertificates (CAPKS) property.

Parameters

  • revokedCaCertificates

setTaxList()

    • void com.payments.core.CoreSettings.setTaxList
    • (
    • final ArrayList< CoreSetting >
    • taxList
    • )

  • inline

Creates ArrayList of taxes based on the response from the server.

Parameters

  • taxList
  • holds taxes retrieved from the server.

setTipList()

    • void com.payments.core.CoreSettings.setTipList
    • (
    • final ArrayList< CoreSetting >
    • tipList
    • )

  • inline

Creates ArrayList of tips based on the response from the server.

Parameters

  • tipList
  • holds tips retrieved from the server.