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
-
-
-
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)
-
getAuthentication
public AuthenticationInfo getAuthentication()
Get authentication- Returns:
- authentication
-
setAuthentication
public void setAuthentication(AuthenticationInfo authentication)
-
balancePlatform
public AuthenticationNotificationData balancePlatform(String balancePlatform)
-
getBalancePlatform
public String getBalancePlatform()
The unique identifier of the balance platform.- Returns:
- balancePlatform
-
setBalancePlatform
public void setBalancePlatform(String balancePlatform)
-
id
public AuthenticationNotificationData id(String id)
-
getId
public String getId()
Unique identifier of the authentication.- Returns:
- id
-
setId
public void setId(String id)
-
paymentInstrumentId
public AuthenticationNotificationData paymentInstrumentId(String paymentInstrumentId)
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
Unique identifier of the payment instrument that was used for the authentication.- Returns:
- paymentInstrumentId
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
-
purchase
public AuthenticationNotificationData purchase(PurchaseInfo purchase)
-
getPurchase
public PurchaseInfo getPurchase()
Get purchase- Returns:
- purchase
-
setPurchase
public void setPurchase(PurchaseInfo purchase)
-
status
public AuthenticationNotificationData status(AuthenticationNotificationData.StatusEnum status)
-
getStatus
public AuthenticationNotificationData.StatusEnum getStatus()
Outcome of the authentication. Allowed values: * authenticated * rejected * error- Returns:
- status
-
setStatus
public void setStatus(AuthenticationNotificationData.StatusEnum status)
-
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
-
-