Package com.adyen.model.acswebhooks
Class AuthenticationNotificationData
- java.lang.Object
-
- com.adyen.model.acswebhooks.AuthenticationNotificationData
-
public class AuthenticationNotificationData extends Object
AuthenticationNotificationData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAuthenticationNotificationData.StatusEnumOutcome of the authentication.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTHENTICATIONstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_PURCHASEstatic StringJSON_PROPERTY_STATUS
-
Constructor Summary
Constructors Constructor Description AuthenticationNotificationData()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationNotificationDataauthentication(AuthenticationInfo authentication)authenticationAuthenticationNotificationDatabalancePlatform(String balancePlatform)The unique identifier of the balance platform.booleanequals(Object o)Return true if this AuthenticationNotificationData object is equal to o.static AuthenticationNotificationDatafromJson(String jsonString)Create an instance of AuthenticationNotificationData given an JSON stringAuthenticationInfogetAuthentication()Get authenticationStringgetBalancePlatform()The unique identifier of the balance platform.StringgetId()The unique identifier of the authentication.StringgetPaymentInstrumentId()The unique identifier of the payment instrument that was used for the authentication.PurchaseInfogetPurchase()Get purchaseAuthenticationNotificationData.StatusEnumgetStatus()Outcome of the authentication.inthashCode()AuthenticationNotificationDataid(String id)The unique identifier of the authentication.AuthenticationNotificationDatapaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument that was used for the authentication.AuthenticationNotificationDatapurchase(PurchaseInfo purchase)purchasevoidsetAuthentication(AuthenticationInfo authentication)authenticationvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetId(String id)The unique identifier of the authentication.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument that was used for the authentication.voidsetPurchase(PurchaseInfo purchase)purchasevoidsetStatus(AuthenticationNotificationData.StatusEnum status)Outcome of the authentication.AuthenticationNotificationDatastatus(AuthenticationNotificationData.StatusEnum status)Outcome of the authentication.StringtoJson()Convert an instance of AuthenticationNotificationData to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_AUTHENTICATION
public static final String JSON_PROPERTY_AUTHENTICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- 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_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
authentication
public AuthenticationNotificationData authentication(AuthenticationInfo authentication)
authentication- Parameters:
authentication-- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getAuthentication
public AuthenticationInfo getAuthentication()
Get authentication- Returns:
- authentication
-
setAuthentication
public void setAuthentication(AuthenticationInfo authentication)
authentication- Parameters:
authentication-
-
balancePlatform
public AuthenticationNotificationData balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform The unique identifier of the balance platform.
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.
-
id
public AuthenticationNotificationData id(String id)
The unique identifier of the authentication.- Parameters:
id- The unique identifier of the authentication.- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the authentication.- Returns:
- id The unique identifier of the authentication.
-
setId
public void setId(String id)
The unique identifier of the authentication.- Parameters:
id- The unique identifier of the authentication.
-
paymentInstrumentId
public AuthenticationNotificationData paymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument that was used for the authentication.- Parameters:
paymentInstrumentId- The unique identifier of the payment instrument that was used for the authentication.- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
The unique identifier of the payment instrument that was used for the authentication.- Returns:
- paymentInstrumentId The unique identifier of the payment instrument that was used for the authentication.
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument that was used for the authentication.- Parameters:
paymentInstrumentId- The unique identifier of the payment instrument that was used for the authentication.
-
purchase
public AuthenticationNotificationData purchase(PurchaseInfo purchase)
purchase- Parameters:
purchase-- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getPurchase
public PurchaseInfo getPurchase()
Get purchase- Returns:
- purchase
-
setPurchase
public void setPurchase(PurchaseInfo purchase)
purchase- Parameters:
purchase-
-
status
public AuthenticationNotificationData status(AuthenticationNotificationData.StatusEnum status)
Outcome of the authentication. Allowed values: * authenticated * rejected * error- Parameters:
status- Outcome of the authentication. Allowed values: * authenticated * rejected * error- Returns:
- the current
AuthenticationNotificationDatainstance, allowing for method chaining
-
getStatus
public AuthenticationNotificationData.StatusEnum getStatus()
Outcome of the authentication. Allowed values: * authenticated * rejected * error- Returns:
- status Outcome of the authentication. Allowed values: * authenticated * rejected * error
-
setStatus
public void setStatus(AuthenticationNotificationData.StatusEnum status)
Outcome of the authentication. Allowed values: * authenticated * rejected * error- Parameters:
status- Outcome of the authentication. Allowed values: * authenticated * rejected * error
-
equals
public boolean equals(Object o)
Return true if this AuthenticationNotificationData object is equal to o.
-
fromJson
public static AuthenticationNotificationData fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AuthenticationNotificationData given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AuthenticationNotificationData
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AuthenticationNotificationData
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AuthenticationNotificationData to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-