Package com.adyen.model.balanceplatform
Class RegisterSCAResponse
- java.lang.Object
-
- com.adyen.model.balanceplatform.RegisterSCAResponse
-
public class RegisterSCAResponse extends Object
RegisterSCAResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_SDK_INPUTstatic StringJSON_PROPERTY_SUCCESS
-
Constructor Summary
Constructors Constructor Description RegisterSCAResponse()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this RegisterSCAResponse object is equal to o.static RegisterSCAResponsefromJson(String jsonString)Create an instance of RegisterSCAResponse given an JSON stringStringgetId()The unique identifier of the SCA device you are registering.StringgetPaymentInstrumentId()The unique identifier of the payment instrument for which you are registering the SCA device.StringgetSdkInput()A string that you must pass to the authentication SDK to continue with the registration process.BooleangetSuccess()Specifies if the registration was initiated successfully.inthashCode()RegisterSCAResponseid(String id)The unique identifier of the SCA device you are registering.RegisterSCAResponsepaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument for which you are registering the SCA device.RegisterSCAResponsesdkInput(String sdkInput)A string that you must pass to the authentication SDK to continue with the registration process.voidsetId(String id)The unique identifier of the SCA device you are registering.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument for which you are registering the SCA device.voidsetSdkInput(String sdkInput)A string that you must pass to the authentication SDK to continue with the registration process.voidsetSuccess(Boolean success)Specifies if the registration was initiated successfully.RegisterSCAResponsesuccess(Boolean success)Specifies if the registration was initiated successfully.StringtoJson()Convert an instance of RegisterSCAResponse to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
public static final String JSON_PROPERTY_PAYMENT_INSTRUMENT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SDK_INPUT
public static final String JSON_PROPERTY_SDK_INPUT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SUCCESS
public static final String JSON_PROPERTY_SUCCESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public RegisterSCAResponse id(String id)
The unique identifier of the SCA device you are registering.- Parameters:
id-- Returns:
- the current
RegisterSCAResponseinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the SCA device you are registering.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the SCA device you are registering.- Parameters:
id-
-
paymentInstrumentId
public RegisterSCAResponse paymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument for which you are registering the SCA device.- Parameters:
paymentInstrumentId-- Returns:
- the current
RegisterSCAResponseinstance, allowing for method chaining
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
The unique identifier of the payment instrument for which you are registering the SCA device.- Returns:
- paymentInstrumentId
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument for which you are registering the SCA device.- Parameters:
paymentInstrumentId-
-
sdkInput
public RegisterSCAResponse sdkInput(String sdkInput)
A string that you must pass to the authentication SDK to continue with the registration process.- Parameters:
sdkInput-- Returns:
- the current
RegisterSCAResponseinstance, allowing for method chaining
-
getSdkInput
public String getSdkInput()
A string that you must pass to the authentication SDK to continue with the registration process.- Returns:
- sdkInput
-
setSdkInput
public void setSdkInput(String sdkInput)
A string that you must pass to the authentication SDK to continue with the registration process.- Parameters:
sdkInput-
-
success
public RegisterSCAResponse success(Boolean success)
Specifies if the registration was initiated successfully.- Parameters:
success-- Returns:
- the current
RegisterSCAResponseinstance, allowing for method chaining
-
getSuccess
public Boolean getSuccess()
Specifies if the registration was initiated successfully.- Returns:
- success
-
setSuccess
public void setSuccess(Boolean success)
Specifies if the registration was initiated successfully.- Parameters:
success-
-
equals
public boolean equals(Object o)
Return true if this RegisterSCAResponse object is equal to o.
-
fromJson
public static RegisterSCAResponse fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RegisterSCAResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RegisterSCAResponse
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RegisterSCAResponse
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RegisterSCAResponse to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-