Package com.adyen.model.payout
Class ResponseAdditionalDataNetworkTokens
- java.lang.Object
-
- com.adyen.model.payout.ResponseAdditionalDataNetworkTokens
-
public class ResponseAdditionalDataNetworkTokens extends Object
ResponseAdditionalDataNetworkTokens
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponseAdditionalDataNetworkTokens.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_NETWORK_TOKEN_AVAILABLEstatic StringSERIALIZED_NAME_NETWORK_TOKEN_BINstatic StringSERIALIZED_NAME_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)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)ResponseAdditionalDataNetworkTokensnetworkTokenBin(String networkTokenBin)ResponseAdditionalDataNetworkTokensnetworkTokenTokenSummary(String networkTokenTokenSummary)voidsetNetworkTokenAvailable(String networkTokenAvailable)voidsetNetworkTokenBin(String networkTokenBin)voidsetNetworkTokenTokenSummary(String networkTokenTokenSummary)StringtoJson()Convert an instance of ResponseAdditionalDataNetworkTokens to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Field Detail
-
SERIALIZED_NAME_NETWORK_TOKEN_AVAILABLE
public static final String SERIALIZED_NAME_NETWORK_TOKEN_AVAILABLE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NETWORK_TOKEN_BIN
public static final String SERIALIZED_NAME_NETWORK_TOKEN_BIN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NETWORK_TOKEN_TOKEN_SUMMARY
public static final String SERIALIZED_NAME_NETWORK_TOKEN_TOKEN_SUMMARY
- See Also:
- Constant Field Values
-
-
Method Detail
-
networkTokenAvailable
public ResponseAdditionalDataNetworkTokens networkTokenAvailable(String networkTokenAvailable)
-
getNetworkTokenAvailable
public String getNetworkTokenAvailable()
Indicates whether a network token is available for the specified card.- Returns:
- networkTokenAvailable
-
setNetworkTokenAvailable
public void setNetworkTokenAvailable(String networkTokenAvailable)
-
networkTokenBin
public ResponseAdditionalDataNetworkTokens networkTokenBin(String networkTokenBin)
-
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)
-
networkTokenTokenSummary
public ResponseAdditionalDataNetworkTokens networkTokenTokenSummary(String networkTokenTokenSummary)
-
getNetworkTokenTokenSummary
public String getNetworkTokenTokenSummary()
The last four digits of a network token.- Returns:
- networkTokenTokenSummary
-
setNetworkTokenTokenSummary
public void setNetworkTokenTokenSummary(String networkTokenTokenSummary)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to ResponseAdditionalDataNetworkTokens
-
fromJson
public static ResponseAdditionalDataNetworkTokens fromJson(String jsonString) throws IOException
Create an instance of ResponseAdditionalDataNetworkTokens given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ResponseAdditionalDataNetworkTokens
- Throws:
IOException- if the JSON string is invalid with respect to ResponseAdditionalDataNetworkTokens
-
toJson
public String toJson()
Convert an instance of ResponseAdditionalDataNetworkTokens to an JSON string- Returns:
- JSON string
-
-