Package com.adyen.model.acswebhooks
Class RelayedAuthenticationRequest
- java.lang.Object
-
- com.adyen.model.acswebhooks.RelayedAuthenticationRequest
-
public class RelayedAuthenticationRequest extends Object
RelayedAuthenticationRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_PURCHASE
-
Constructor Summary
Constructors Constructor Description RelayedAuthenticationRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 stringStringgetId()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 purchaseinthashCode()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)purchasevoidsetId(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)purchaseStringtoJson()Convert an instance of RelayedAuthenticationRequest to an JSON stringStringtoString()
-
-
-
Field Detail
-
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
-
-
Method Detail
-
id
public RelayedAuthenticationRequest id(String id)
The unique identifier of the challenge.- Parameters:
id-- Returns:
- the current
RelayedAuthenticationRequestinstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the challenge.- Returns:
- id
-
setId
public void setId(String id)
The unique identifier of the challenge.- Parameters:
id-
-
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-- 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
-
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-
-
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-
-
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
-
-