Package com.adyen.model.posmobile
Class CreateSessionResponse
- java.lang.Object
-
- com.adyen.model.posmobile.CreateSessionResponse
-
public class CreateSessionResponse extends Object
CreateSessionResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_INSTALLATION_IDstatic StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_SDK_DATAstatic StringJSON_PROPERTY_STORE
-
Constructor Summary
Constructors Constructor Description CreateSessionResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this CreateSessionResponse object is equal to o.static CreateSessionResponsefromJson(String jsonString)Create an instance of CreateSessionResponse given an JSON stringStringgetId()The unique identifier of the session.StringgetInstallationId()The unique identifier of the SDK installation.StringgetMerchantAccount()The unique identifier of your merchant account.StringgetSdkData()The data that the SDK uses to authenticate responses from the Adyen payments platform.StringgetStore()The unique identifier of the store that you want to process transactions for.inthashCode()CreateSessionResponseid(String id)The unique identifier of the session.CreateSessionResponseinstallationId(String installationId)The unique identifier of the SDK installation.CreateSessionResponsemerchantAccount(String merchantAccount)The unique identifier of your merchant account.CreateSessionResponsesdkData(String sdkData)The data that the SDK uses to authenticate responses from the Adyen payments platform.voidsetId(String id)The unique identifier of the session.voidsetInstallationId(String installationId)The unique identifier of the SDK installation.voidsetMerchantAccount(String merchantAccount)The unique identifier of your merchant account.voidsetSdkData(String sdkData)The data that the SDK uses to authenticate responses from the Adyen payments platform.voidsetStore(String store)The unique identifier of the store that you want to process transactions for.CreateSessionResponsestore(String store)The unique identifier of the store that you want to process transactions for.StringtoJson()Convert an instance of CreateSessionResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_INSTALLATION_ID
public static final String JSON_PROPERTY_INSTALLATION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_DATA
public static final String JSON_PROPERTY_SDK_DATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE
public static final String JSON_PROPERTY_STORE
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public CreateSessionResponse id(String id)
The unique identifier of the session.- Parameters:
id-- Returns:
- the current
CreateSessionResponseinstance, allowing for method chaining
-
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-
-
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-- Returns:
- the current
CreateSessionResponseinstance, 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
-
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-
-
merchantAccount
public CreateSessionResponse merchantAccount(String merchantAccount)
The unique identifier of your merchant account.- Parameters:
merchantAccount-- Returns:
- the current
CreateSessionResponseinstance, allowing for method chaining
-
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-
-
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-- Returns:
- the current
CreateSessionResponseinstance, 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
-
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-
-
store
public CreateSessionResponse store(String store)
The unique identifier of the store that you want to process transactions for.- Parameters:
store-- Returns:
- the current
CreateSessionResponseinstance, allowing for method chaining
-
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.
-
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
-
-