Class Config


  • public class Config
    extends Object
    Config holds data required setting up SDK to work, this would include context common data etc. This is used as param while initializing the SDK TPCManager.config(Config, TPCSDKListener)

    activity - Activity context

    issuerId - Issuer ID of TSH Server

    oemPayType - OEM Type used for provisioning

    • GOOGLE_PAY
    • SAMSUNG_PAY
    • HUAWEI_PAY
    • NONE

    url - TPC server url

    serviceId - For SamsungPay this is a mandatory field

    callbackUrl - A callback URL For HuaweiPay Wallet to go back to Issuer Application. this is a mandatory field

    context - Application context in case activity is not provided.

    visaClientAppId - Visa Client App Identifier. Unique identifier for the client application. It is obtained from the wallet provider. Application may set this value to have different value with Thales TSH Server IssuerId setIssuerId(String) If this value is set, CardInfo.setIssuerAppId(String) must use the same value. This value is only used for SamsungPay.

    Since:
    1.0
    Version:
    1.1
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • getCallbackUrl

        public String getCallbackUrl()
      • setCallbackUrl

        public void setCallbackUrl​(String callbackUrl)
      • getActivity

        public Activity getActivity()
      • setActivity

        public void setActivity​(Activity activity)
      • getIssuerId

        public String getIssuerId()
      • setIssuerId

        public void setIssuerId​(String issuerId)
      • getOemPayType

        public OEMPayType getOemPayType()
      • setOemPayType

        public void setOemPayType​(OEMPayType oemPayType)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • getServiceId

        public String getServiceId()
      • setServiceId

        public void setServiceId​(String serviceId)
      • getContext

        public Context getContext()
      • setContext

        public void setContext​(Context context)
      • getVisaClientAppId

        public String getVisaClientAppId()
      • setVisaClientAppId

        public void setVisaClientAppId​(String visaClientAppId)