Class RelayedAuthenticationRequest


  • public class RelayedAuthenticationRequest
    extends Object
    RelayedAuthenticationRequest
    • Constructor Detail

      • RelayedAuthenticationRequest

        public RelayedAuthenticationRequest()
    • Method Detail

      • environment

        public RelayedAuthenticationRequest environment​(String environment)
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Parameters:
        environment - The environment from which the webhook originated. Possible values: **test**, **live**.
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getEnvironment

        public String getEnvironment()
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Returns:
        environment The environment from which the webhook originated. Possible values: **test**, **live**.
      • setEnvironment

        public void setEnvironment​(String environment)
        The environment from which the webhook originated. Possible values: **test**, **live**.
        Parameters:
        environment - The environment from which the webhook originated. Possible values: **test**, **live**.
      • 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 -
      • threeDSRequestorAppURL

        public RelayedAuthenticationRequest threeDSRequestorAppURL​(String threeDSRequestorAppURL)
        URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
        Parameters:
        threeDSRequestorAppURL - URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getThreeDSRequestorAppURL

        public String getThreeDSRequestorAppURL()
        URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
        Returns:
        threeDSRequestorAppURL URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
      • setThreeDSRequestorAppURL

        public void setThreeDSRequestorAppURL​(String threeDSRequestorAppURL)
        URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
        Parameters:
        threeDSRequestorAppURL - URL for auto-switching to the threeDS Requestor App. If not present, the threeDS Requestor App doesn't support auto-switching.
      • timestamp

        public RelayedAuthenticationRequest timestamp​(OffsetDateTime timestamp)
        When the event was queued.
        Parameters:
        timestamp - When the event was queued.
        Returns:
        the current RelayedAuthenticationRequest instance, allowing for method chaining
      • getTimestamp

        public OffsetDateTime getTimestamp()
        When the event was queued.
        Returns:
        timestamp When the event was queued.
      • setTimestamp

        public void setTimestamp​(OffsetDateTime timestamp)
        When the event was queued.
        Parameters:
        timestamp - When the event was queued.
      • 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