Class RegisterSCARequest


  • public class RegisterSCARequest
    extends Object
    RegisterSCARequest
    • Constructor Detail

      • RegisterSCARequest

        public RegisterSCARequest()
    • 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 RegisterSCARequest instance, 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 RegisterSCARequest instance, 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 RegisterSCARequest instance, 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.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • 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