Class NetworkTokenNotificationDataV2
- java.lang.Object
-
- com.adyen.model.configurationwebhooks.NetworkTokenNotificationDataV2
-
public class NetworkTokenNotificationDataV2 extends Object
NetworkTokenNotificationDataV2
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_AUTHENTICATIONstatic StringJSON_PROPERTY_AUTHENTICATION_APPLIEDstatic StringJSON_PROPERTY_BALANCE_PLATFORMstatic StringJSON_PROPERTY_DECISIONstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_PAYMENT_INSTRUMENT_IDstatic StringJSON_PROPERTY_STATUSstatic StringJSON_PROPERTY_TOKEN_LAST_FOURstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VALIDATION_FACTSstatic StringJSON_PROPERTY_WALLET
-
Constructor Summary
Constructors Constructor Description NetworkTokenNotificationDataV2()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NetworkTokenNotificationDataV2addValidationFactsItem(ValidationFacts validationFactsItem)NetworkTokenNotificationDataV2authentication(TokenAuthentication authentication)authenticationNetworkTokenNotificationDataV2authenticationApplied(Boolean authenticationApplied)Specifies whether the authentication process was triggered during token provisioning.NetworkTokenNotificationDataV2balancePlatform(String balancePlatform)The unique identifier of the balance platform.NetworkTokenNotificationDataV2decision(String decision)The decision about the network token provisioning.booleanequals(Object o)Return true if this NetworkTokenNotificationDataV2 object is equal to o.static NetworkTokenNotificationDataV2fromJson(String jsonString)Create an instance of NetworkTokenNotificationDataV2 given an JSON stringTokenAuthenticationgetAuthentication()Get authenticationBooleangetAuthenticationApplied()Specifies whether the authentication process was triggered during token provisioning.StringgetBalancePlatform()The unique identifier of the balance platform.StringgetDecision()The decision about the network token provisioning.StringgetId()The unique identifier of the network token.StringgetPaymentInstrumentId()The unique identifier of the payment instrument to which the network token is associated.StringgetStatus()The status of the network token.StringgetTokenLastFour()The last four digits of the network token.StringgetType()The type of network token.List<ValidationFacts>getValidationFacts()The rules used to validate the request for provisioning the network token.WalletgetWallet()Get walletinthashCode()NetworkTokenNotificationDataV2id(String id)The unique identifier of the network token.NetworkTokenNotificationDataV2paymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument to which the network token is associated.voidsetAuthentication(TokenAuthentication authentication)authenticationvoidsetAuthenticationApplied(Boolean authenticationApplied)Specifies whether the authentication process was triggered during token provisioning.voidsetBalancePlatform(String balancePlatform)The unique identifier of the balance platform.voidsetDecision(String decision)The decision about the network token provisioning.voidsetId(String id)The unique identifier of the network token.voidsetPaymentInstrumentId(String paymentInstrumentId)The unique identifier of the payment instrument to which the network token is associated.voidsetStatus(String status)The status of the network token.voidsetTokenLastFour(String tokenLastFour)The last four digits of the network token.voidsetType(String type)The type of network token.voidsetValidationFacts(List<ValidationFacts> validationFacts)The rules used to validate the request for provisioning the network token.voidsetWallet(Wallet wallet)walletNetworkTokenNotificationDataV2status(String status)The status of the network token.StringtoJson()Convert an instance of NetworkTokenNotificationDataV2 to an JSON stringNetworkTokenNotificationDataV2tokenLastFour(String tokenLastFour)The last four digits of the network token.StringtoString()NetworkTokenNotificationDataV2type(String type)The type of network token.NetworkTokenNotificationDataV2validationFacts(List<ValidationFacts> validationFacts)The rules used to validate the request for provisioning the network token.NetworkTokenNotificationDataV2wallet(Wallet wallet)wallet
-
-
-
Field Detail
-
JSON_PROPERTY_AUTHENTICATION
public static final String JSON_PROPERTY_AUTHENTICATION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_AUTHENTICATION_APPLIED
public static final String JSON_PROPERTY_AUTHENTICATION_APPLIED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BALANCE_PLATFORM
public static final String JSON_PROPERTY_BALANCE_PLATFORM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DECISION
public static final String JSON_PROPERTY_DECISION
- 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_STATUS
public static final String JSON_PROPERTY_STATUS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN_LAST_FOUR
public static final String JSON_PROPERTY_TOKEN_LAST_FOUR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VALIDATION_FACTS
public static final String JSON_PROPERTY_VALIDATION_FACTS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WALLET
public static final String JSON_PROPERTY_WALLET
- See Also:
- Constant Field Values
-
-
Method Detail
-
authentication
public NetworkTokenNotificationDataV2 authentication(TokenAuthentication authentication)
authentication- Parameters:
authentication-- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getAuthentication
public TokenAuthentication getAuthentication()
Get authentication- Returns:
- authentication
-
setAuthentication
public void setAuthentication(TokenAuthentication authentication)
authentication- Parameters:
authentication-
-
authenticationApplied
public NetworkTokenNotificationDataV2 authenticationApplied(Boolean authenticationApplied)
Specifies whether the authentication process was triggered during token provisioning.- Parameters:
authenticationApplied- Specifies whether the authentication process was triggered during token provisioning.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getAuthenticationApplied
public Boolean getAuthenticationApplied()
Specifies whether the authentication process was triggered during token provisioning.- Returns:
- authenticationApplied Specifies whether the authentication process was triggered during token provisioning.
-
setAuthenticationApplied
public void setAuthenticationApplied(Boolean authenticationApplied)
Specifies whether the authentication process was triggered during token provisioning.- Parameters:
authenticationApplied- Specifies whether the authentication process was triggered during token provisioning.
-
balancePlatform
public NetworkTokenNotificationDataV2 balancePlatform(String balancePlatform)
The unique identifier of the balance platform.- Parameters:
balancePlatform- The unique identifier of the balance platform.- Returns:
- the current
NetworkTokenNotificationDataV2instance, 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.
-
decision
public NetworkTokenNotificationDataV2 decision(String decision)
The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.- Parameters:
decision- The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getDecision
public String getDecision()
The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.- Returns:
- decision The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.
-
setDecision
public void setDecision(String decision)
The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.- Parameters:
decision- The decision about the network token provisioning. Possible values: **approved**, **declined**, **requiresAuthentication**.
-
id
public NetworkTokenNotificationDataV2 id(String id)
The unique identifier of the network token.- Parameters:
id- The unique identifier of the network token.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getId
public String getId()
The unique identifier of the network token.- Returns:
- id The unique identifier of the network token.
-
setId
public void setId(String id)
The unique identifier of the network token.- Parameters:
id- The unique identifier of the network token.
-
paymentInstrumentId
public NetworkTokenNotificationDataV2 paymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument to which the network token is associated.- Parameters:
paymentInstrumentId- The unique identifier of the payment instrument to which the network token is associated.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getPaymentInstrumentId
public String getPaymentInstrumentId()
The unique identifier of the payment instrument to which the network token is associated.- Returns:
- paymentInstrumentId The unique identifier of the payment instrument to which the network token is associated.
-
setPaymentInstrumentId
public void setPaymentInstrumentId(String paymentInstrumentId)
The unique identifier of the payment instrument to which the network token is associated.- Parameters:
paymentInstrumentId- The unique identifier of the payment instrument to which the network token is associated.
-
status
public NetworkTokenNotificationDataV2 status(String status)
The status of the network token.- Parameters:
status- The status of the network token.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getStatus
public String getStatus()
The status of the network token.- Returns:
- status The status of the network token.
-
setStatus
public void setStatus(String status)
The status of the network token.- Parameters:
status- The status of the network token.
-
tokenLastFour
public NetworkTokenNotificationDataV2 tokenLastFour(String tokenLastFour)
The last four digits of the network token. Use this value to help your user to identify their network token.- Parameters:
tokenLastFour- The last four digits of the network token. Use this value to help your user to identify their network token.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getTokenLastFour
public String getTokenLastFour()
The last four digits of the network token. Use this value to help your user to identify their network token.- Returns:
- tokenLastFour The last four digits of the network token. Use this value to help your user to identify their network token.
-
setTokenLastFour
public void setTokenLastFour(String tokenLastFour)
The last four digits of the network token. Use this value to help your user to identify their network token.- Parameters:
tokenLastFour- The last four digits of the network token. Use this value to help your user to identify their network token.
-
type
public NetworkTokenNotificationDataV2 type(String type)
The type of network token.- Parameters:
type- The type of network token.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getType
public String getType()
The type of network token.- Returns:
- type The type of network token.
-
setType
public void setType(String type)
The type of network token.- Parameters:
type- The type of network token.
-
validationFacts
public NetworkTokenNotificationDataV2 validationFacts(List<ValidationFacts> validationFacts)
The rules used to validate the request for provisioning the network token.- Parameters:
validationFacts- The rules used to validate the request for provisioning the network token.- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
addValidationFactsItem
public NetworkTokenNotificationDataV2 addValidationFactsItem(ValidationFacts validationFactsItem)
-
getValidationFacts
public List<ValidationFacts> getValidationFacts()
The rules used to validate the request for provisioning the network token.- Returns:
- validationFacts The rules used to validate the request for provisioning the network token.
-
setValidationFacts
public void setValidationFacts(List<ValidationFacts> validationFacts)
The rules used to validate the request for provisioning the network token.- Parameters:
validationFacts- The rules used to validate the request for provisioning the network token.
-
wallet
public NetworkTokenNotificationDataV2 wallet(Wallet wallet)
wallet- Parameters:
wallet-- Returns:
- the current
NetworkTokenNotificationDataV2instance, allowing for method chaining
-
getWallet
public Wallet getWallet()
Get wallet- Returns:
- wallet
-
setWallet
public void setWallet(Wallet wallet)
wallet- Parameters:
wallet-
-
equals
public boolean equals(Object o)
Return true if this NetworkTokenNotificationDataV2 object is equal to o.
-
fromJson
public static NetworkTokenNotificationDataV2 fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of NetworkTokenNotificationDataV2 given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkTokenNotificationDataV2
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to NetworkTokenNotificationDataV2
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of NetworkTokenNotificationDataV2 to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-