Class CreateSessionResponse


  • public class CreateSessionResponse
    extends Object
    CreateSessionResponse
    • Constructor Detail

      • CreateSessionResponse

        public CreateSessionResponse()
    • Method Detail

      • getId

        public String getId()
        The unique identifier of the session.
        Returns:
        id
      • setId

        public void setId​(String id)
        The unique identifier of the session.
        Parameters:
        id -
      • getInstallationId

        public String getInstallationId()
        The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request.
        Returns:
        installationId
      • setInstallationId

        public void setInstallationId​(String installationId)
        The unique identifier of the SDK installation. If you create the [Terminal API](https://docs.adyen.com/point-of-sale/design-your-integration/terminal-api/) transaction request on your backend, use this as the `POIID` in the `MessageHeader` of the request.
        Parameters:
        installationId -
      • getMerchantAccount

        public String getMerchantAccount()
        The unique identifier of your merchant account.
        Returns:
        merchantAccount
      • setMerchantAccount

        public void setMerchantAccount​(String merchantAccount)
        The unique identifier of your merchant account.
        Parameters:
        merchantAccount -
      • getSdkData

        public String getSdkData()
        The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.
        Returns:
        sdkData
      • setSdkData

        public void setSdkData​(String sdkData)
        The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.
        Parameters:
        sdkData -
      • getStore

        public String getStore()
        The unique identifier of the store that you want to process transactions for.
        Returns:
        store
      • setStore

        public void setStore​(String store)
        The unique identifier of the store that you want to process transactions for.
        Parameters:
        store -
      • equals

        public boolean equals​(Object o)
        Return true if this CreateSessionResponse object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static CreateSessionResponse fromJson​(String jsonString)
                                              throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of CreateSessionResponse given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of CreateSessionResponse
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to CreateSessionResponse
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of CreateSessionResponse to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException