Package com.adyen.model.acswebhooks
Class RelayedAuthenticationRequest
- java.lang.Object
-
- com.adyen.model.acswebhooks.RelayedAuthenticationRequest
-
public class RelayedAuthenticationRequest extends Object
RelayedAuthenticationRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRelayedAuthenticationRequest.TypeEnumType of notification.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ENVIRONMENTstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_PURCHASEstatic StringJSON_PROPERTY_THREE_D_S_REQUESTOR_APP_U_R_Lstatic StringJSON_PROPERTY_TIMESTAMPstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description RelayedAuthenticationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RelayedAuthenticationRequestenvironment(String environment)The environment from which the webhook originated.booleanequals(Object o)Return true if this RelayedAuthenticationRequest object is equal to o.static RelayedAuthenticationRequestfromJson(String jsonString)Create an instance of RelayedAuthenticationRequest given an JSON stringStringgetEnvironment()The environment from which the webhook originated.StringgetId()The unique identifier of the challenge.StringgetPaymentInstrumentId()The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.PurchasegetPurchase()Get purchaseStringgetThreeDSRequestorAppURL()URL for auto-switching to the threeDS Requestor App.OffsetDateTimegetTimestamp()When the event was queued.RelayedAuthenticationRequest.TypeEnumgetType()Type of notification.inthashCode()RelayedAuthenticationRequestid(String id)The unique identifier of the challenge.RelayedAuthenticationRequestpaymentInstrumentId(String paymentInstrumentId)The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.RelayedAuthenticationRequestpurchase(Purchase purchase)purchasevoidsetEnvironment(String environment)The environment from which the webhook originated.voidsetId(String id)The unique identifier of the challenge.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the [payment instrument](https://docs.adyen.com/api-explorer/balanceplatform/latest/get/paymentInstruments/_id_) used for the purchase.voidsetPurchase(Purchase purchase)purchasevoidsetThreeDSRequestorAppURL(String threeDSRequestorAppURL)URL for auto-switching to the threeDS Requestor App.voidsetTimestamp(OffsetDateTime timestamp)When the event was queued.voidsetType(RelayedAuthenticationRequest.TypeEnum type)Type of notification.RelayedAuthenticationRequestthreeDSRequestorAppURL(String threeDSRequestorAppURL)URL for auto-switching to the threeDS Requestor App.RelayedAuthenticationRequesttimestamp(OffsetDateTime timestamp)When the event was queued.StringtoJson()Convert an instance of RelayedAuthenticationRequest to an JSON stringStringtoString()RelayedAuthenticationRequesttype(RelayedAuthenticationRequest.TypeEnum type)Type of notification.
-
-
-
Field Detail
-
JSON_PROPERTY_ENVIRONMENT
public static final String JSON_PROPERTY_ENVIRONMENT
- See Also:
- Constant Field Values
-
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_PURCHASE
public static final String JSON_PROPERTY_PURCHASE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_THREE_D_S_REQUESTOR_APP_U_R_L
public static final String JSON_PROPERTY_THREE_D_S_REQUESTOR_APP_U_R_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TIMESTAMP
public static final String JSON_PROPERTY_TIMESTAMP
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
-
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
RelayedAuthenticationRequestinstance, 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
RelayedAuthenticationRequestinstance, 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
RelayedAuthenticationRequestinstance, 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
RelayedAuthenticationRequestinstance, 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
RelayedAuthenticationRequestinstance, 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
RelayedAuthenticationRequestinstance, 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.
-
type
public RelayedAuthenticationRequest type(RelayedAuthenticationRequest.TypeEnum type)
Type of notification.- Parameters:
type- Type of notification.- Returns:
- the current
RelayedAuthenticationRequestinstance, allowing for method chaining
-
getType
public RelayedAuthenticationRequest.TypeEnum getType()
Type of notification.- Returns:
- type Type of notification.
-
setType
public void setType(RelayedAuthenticationRequest.TypeEnum type)
Type of notification.- Parameters:
type- Type of notification.
-
equals
public boolean equals(Object o)
Return true if this RelayedAuthenticationRequest object is equal to o.
-
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
-
-