Class CreateSessionResponse


  • public class CreateSessionResponse
    extends Object
    CreateSessionResponse
    • Constructor Detail

      • CreateSessionResponse

        public CreateSessionResponse()
    • Method Detail

      • id

        public CreateSessionResponse id​(String id)
        The unique identifier of the session.
        Parameters:
        id - The unique identifier of the session.
        Returns:
        the current CreateSessionResponse instance, allowing for method chaining
      • getId

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

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

        public CreateSessionResponse installationId​(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 - 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:
        the current CreateSessionResponse instance, allowing for method chaining
      • 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 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.
      • 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 - 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.
      • merchantAccount

        public CreateSessionResponse merchantAccount​(String merchantAccount)
        The unique identifier of your merchant account.
        Parameters:
        merchantAccount - The unique identifier of your merchant account.
        Returns:
        the current CreateSessionResponse instance, allowing for method chaining
      • getMerchantAccount

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

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

        public CreateSessionResponse sdkData​(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 - The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.
        Returns:
        the current CreateSessionResponse instance, allowing for method chaining
      • 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 The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.
      • 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 - The data that the SDK uses to authenticate responses from the Adyen payments platform. Pass this value to your POS app.
      • store

        public CreateSessionResponse store​(String store)
        The unique identifier of the store that you want to process transactions for.
        Parameters:
        store - The unique identifier of the store that you want to process transactions for.
        Returns:
        the current CreateSessionResponse instance, allowing for method chaining
      • getStore

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

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

        public CreateSessionResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • 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
      • getExplicitNulls

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • 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