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)AuthenticationNotificationDatabalancePlatform(String balancePlatform)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()Unique identifier of the authentication.StringgetPaymentInstrumentId()Unique identifier of the payment instrument that was used for the authentication.PurchaseInfogetPurchase()Get purchaseAuthenticationNotificationData.StatusEnumgetStatus()Outcome of the authentication.inthashCode()AuthenticationNotificationDataid(String id)AuthenticationNotificationDatapaymentInstrumentId(String paymentInstrumentId)AuthenticationNotificationDatapurchase(PurchaseInfo purchase)voidsetAuthentication(AuthenticationInfo authentication)authenticationvoidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetId(String id)Unique identifier of the authentication.voidsetPaymentInstrumentId(String paymentInstrumentId)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)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)
-
getAuthentication
public AuthenticationInfo getAuthentication()
Get authentication- Returns:
- authentication
-
setAuthentication
public void setAuthentication(AuthenticationInfo authentication)
authentication- Parameters:
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)
The unique identifier of the balance platform.- Parameters:
balancePlatform-
-
id
public AuthenticationNotificationData id(String id)
-
getId
public String getId()
Unique identifier of the authentication.- Returns:
- id
-
setId
public void setId(String id)
Unique identifier of the authentication.- Parameters:
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)
Unique identifier of the payment instrument that was used for the authentication.- Parameters:
paymentInstrumentId-
-
purchase
public AuthenticationNotificationData purchase(PurchaseInfo purchase)
-
getPurchase
public PurchaseInfo getPurchase()
Get purchase- Returns:
- purchase
-
setPurchase
public void setPurchase(PurchaseInfo purchase)
purchase- Parameters:
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)
Outcome of the authentication. Allowed values: * authenticated * rejected * error- Parameters:
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
-
-