Package com.adyen.model.balanceplatform
Class RegisterSCARequest
- java.lang.Object
-
- com.adyen.model.balanceplatform.RegisterSCARequest
-
public class RegisterSCARequest extends Object
RegisterSCARequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NAMEstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_STRONG_CUSTOMER_AUTHENTICATION
-
Constructor Summary
Constructors Constructor Description RegisterSCARequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this RegisterSCARequest object is equal to o.static RegisterSCARequestfromJson(String jsonString)Create an instance of RegisterSCARequest given an JSON stringStringgetName()The name of the SCA device that you are registering.StringgetPaymentInstrumentId()The unique identifier of the payment instrument for which you are registering the SCA device.DelegatedAuthenticationDatagetStrongCustomerAuthentication()strongCustomerAuthenticationinthashCode()RegisterSCARequestname(String name)The name of the SCA device that you are registering.RegisterSCARequestpaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument for which you are registering the SCA device.voidsetName(String name)The name of the SCA device that you are registering.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument for which you are registering the SCA device.voidsetStrongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication)strongCustomerAuthenticationRegisterSCARequeststrongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication)strongCustomerAuthenticationStringtoJson()Convert an instance of RegisterSCARequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- 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_STRONG_CUSTOMER_AUTHENTICATION
public static final String JSON_PROPERTY_STRONG_CUSTOMER_AUTHENTICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public RegisterSCARequest name(String name)
The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one.- Parameters:
name-- Returns:
- the current
RegisterSCARequestinstance, allowing for method chaining
-
getName
public String getName()
The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one.- Returns:
- name
-
setName
public void setName(String name)
The name of the SCA device that you are registering. You can use it to help your users identify the device. If you do not specify a `name`, Adyen automatically generates one.- Parameters:
name-
-
paymentInstrumentId
public RegisterSCARequest paymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument for which you are registering the SCA device.- Parameters:
paymentInstrumentId-- Returns:
- the current
RegisterSCARequestinstance, 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-
-
strongCustomerAuthentication
public RegisterSCARequest strongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication)
strongCustomerAuthentication- Parameters:
strongCustomerAuthentication-- Returns:
- the current
RegisterSCARequestinstance, allowing for method chaining
-
getStrongCustomerAuthentication
public DelegatedAuthenticationData getStrongCustomerAuthentication()
strongCustomerAuthentication- Returns:
- strongCustomerAuthentication
-
setStrongCustomerAuthentication
public void setStrongCustomerAuthentication(DelegatedAuthenticationData strongCustomerAuthentication)
strongCustomerAuthentication- Parameters:
strongCustomerAuthentication-
-
equals
public boolean equals(Object o)
Return true if this RegisterSCARequest object is equal to o.
-
fromJson
public static RegisterSCARequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of RegisterSCARequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RegisterSCARequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to RegisterSCARequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of RegisterSCARequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-