Package com.adyen.model.payment
Class ResponseAdditionalDataNetworkTokens
- java.lang.Object
-
- com.adyen.model.payment.ResponseAdditionalDataNetworkTokens
-
public class ResponseAdditionalDataNetworkTokens extends Object
ResponseAdditionalDataNetworkTokens
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_NETWORK_TOKEN_AVAILABLEstatic StringJSON_PROPERTY_NETWORK_TOKEN_BINstatic StringJSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY
-
Constructor Summary
Constructors Constructor Description ResponseAdditionalDataNetworkTokens()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this ResponseAdditionalDataNetworkTokens object is equal to o.static ResponseAdditionalDataNetworkTokensfromJson(String jsonString)Create an instance of ResponseAdditionalDataNetworkTokens given an JSON stringStringgetNetworkTokenAvailable()Indicates whether a network token is available for the specified card.StringgetNetworkTokenBin()The Bank Identification Number of a tokenized card, which is the first six digits of a card number.StringgetNetworkTokenTokenSummary()The last four digits of a network token.inthashCode()ResponseAdditionalDataNetworkTokensnetworkTokenAvailable(String networkTokenAvailable)Indicates whether a network token is available for the specified card.ResponseAdditionalDataNetworkTokensnetworkTokenBin(String networkTokenBin)The Bank Identification Number of a tokenized card, which is the first six digits of a card number.ResponseAdditionalDataNetworkTokensnetworkTokenTokenSummary(String networkTokenTokenSummary)The last four digits of a network token.voidsetNetworkTokenAvailable(String networkTokenAvailable)Indicates whether a network token is available for the specified card.voidsetNetworkTokenBin(String networkTokenBin)The Bank Identification Number of a tokenized card, which is the first six digits of a card number.voidsetNetworkTokenTokenSummary(String networkTokenTokenSummary)The last four digits of a network token.StringtoJson()Convert an instance of ResponseAdditionalDataNetworkTokens to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE
public static final String JSON_PROPERTY_NETWORK_TOKEN_AVAILABLE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_TOKEN_BIN
public static final String JSON_PROPERTY_NETWORK_TOKEN_BIN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY
public static final String JSON_PROPERTY_NETWORK_TOKEN_TOKEN_SUMMARY
- See Also:
- Constant Field Values
-
-
Method Detail
-
networkTokenAvailable
public ResponseAdditionalDataNetworkTokens networkTokenAvailable(String networkTokenAvailable)
Indicates whether a network token is available for the specified card.- Parameters:
networkTokenAvailable-- Returns:
- the current
ResponseAdditionalDataNetworkTokensinstance, allowing for method chaining
-
getNetworkTokenAvailable
public String getNetworkTokenAvailable()
Indicates whether a network token is available for the specified card.- Returns:
- networkTokenAvailable
-
setNetworkTokenAvailable
public void setNetworkTokenAvailable(String networkTokenAvailable)
Indicates whether a network token is available for the specified card.- Parameters:
networkTokenAvailable-
-
networkTokenBin
public ResponseAdditionalDataNetworkTokens networkTokenBin(String networkTokenBin)
The Bank Identification Number of a tokenized card, which is the first six digits of a card number.- Parameters:
networkTokenBin-- Returns:
- the current
ResponseAdditionalDataNetworkTokensinstance, allowing for method chaining
-
getNetworkTokenBin
public String getNetworkTokenBin()
The Bank Identification Number of a tokenized card, which is the first six digits of a card number.- Returns:
- networkTokenBin
-
setNetworkTokenBin
public void setNetworkTokenBin(String networkTokenBin)
The Bank Identification Number of a tokenized card, which is the first six digits of a card number.- Parameters:
networkTokenBin-
-
networkTokenTokenSummary
public ResponseAdditionalDataNetworkTokens networkTokenTokenSummary(String networkTokenTokenSummary)
The last four digits of a network token.- Parameters:
networkTokenTokenSummary-- Returns:
- the current
ResponseAdditionalDataNetworkTokensinstance, allowing for method chaining
-
getNetworkTokenTokenSummary
public String getNetworkTokenTokenSummary()
The last four digits of a network token.- Returns:
- networkTokenTokenSummary
-
setNetworkTokenTokenSummary
public void setNetworkTokenTokenSummary(String networkTokenTokenSummary)
The last four digits of a network token.- Parameters:
networkTokenTokenSummary-
-
equals
public boolean equals(Object o)
Return true if this ResponseAdditionalDataNetworkTokens object is equal to o.
-
fromJson
public static ResponseAdditionalDataNetworkTokens fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ResponseAdditionalDataNetworkTokens given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalDataNetworkTokens
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ResponseAdditionalDataNetworkTokens
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ResponseAdditionalDataNetworkTokens to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-