Class RelayedAuthenticationRequest


  • public class RelayedAuthenticationRequest
    extends Object
    RelayedAuthenticationRequest
    • Constructor Detail

      • RelayedAuthenticationRequest

        public RelayedAuthenticationRequest()
    • Method Detail

      • id

        public RelayedAuthenticationRequest id​(String id)
        The unique identifier of the challenge.
        Parameters:
        id - The unique identifier of the challenge.
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getId

        public String getId()
        The unique identifier of the challenge.
        Returns:
        id The unique identifier of the challenge.
      • setId

        public void setId​(String id)
        The unique identifier of the challenge.
        Parameters:
        id - The unique identifier of the challenge.
      • paymentInstrumentId

        public RelayedAuthenticationRequest paymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
        Parameters:
        paymentInstrumentId - The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getPaymentInstrumentId

        public String getPaymentInstrumentId()
        The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
        Returns:
        paymentInstrumentId The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
      • setPaymentInstrumentId

        public void setPaymentInstrumentId​(String paymentInstrumentId)
        The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
        Parameters:
        paymentInstrumentId - The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.
      • purchase

        public RelayedAuthenticationRequest purchase​(Purchase purchase)
        purchase
        Parameters:
        purchase -
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getPurchase

        public Purchase getPurchase()
        Get purchase
        Returns:
        purchase
      • setPurchase

        public void setPurchase​(Purchase purchase)
        purchase
        Parameters:
        purchase -
      • equals

        public boolean equals​(Object o)
        Return true if this RelayedAuthenticationRequest object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static RelayedAuthenticationRequest fromJson​(String jsonString)
                                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of RelayedAuthenticationRequest given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of RelayedAuthenticationRequest
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to RelayedAuthenticationRequest
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of RelayedAuthenticationRequest to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException