Package com.adyen.model.payment
Class ResponseAdditionalDataOpi
- java.lang.Object
-
- com.adyen.model.payment.ResponseAdditionalDataOpi
-
public class ResponseAdditionalDataOpi extends Object
ResponseAdditionalDataOpi
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseAdditionalDataOpi.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_OPI_TRANS_TOKEN
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalDataOpi()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)static ResponseAdditionalDataOpifromJson(String jsonString)Create an instance of ResponseAdditionalDataOpi given an JSON stringStringgetOpiTransToken()Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request.inthashCode()ResponseAdditionalDataOpiopiTransToken(String opiTransToken)voidsetOpiTransToken(String opiTransToken)StringtoJson()Convert an instance of ResponseAdditionalDataOpi to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
opiTransToken
public ResponseAdditionalDataOpi opiTransToken(String opiTransToken)
-
getOpiTransToken
public String getOpiTransToken()
Returned in the response if you included `opi.includeTransToken: true` in an ecommerce payment request. This contains an Oracle Payment Interface token that you can store in your Oracle Opera database to identify tokenized ecommerce transactions. For more information and required settings, see [Oracle Opera](https://docs.adyen.com/plugins/oracle-opera#opi-token-ecommerce).- Returns:
- opiTransToken
-
setOpiTransToken
public void setOpiTransToken(String opiTransToken)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ResponseAdditionalDataOpi
-
fromJson
public static ResponseAdditionalDataOpi fromJson(String jsonString) throws IOException
Create an instance of ResponseAdditionalDataOpi given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalDataOpi
- Throws:
IOException- if the JSON string is invalid with respect to ResponseAdditionalDataOpi
-
toJson
public String toJson()
Convert an instance of ResponseAdditionalDataOpi to an JSON string- Returns:
- JSON string
-
-