Package com.adyen.model.management
Class MerchantLinks
- java.lang.Object
-
- com.adyen.model.management.MerchantLinks
-
public class MerchantLinks extends Object
MerchantLinks
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMerchantLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_API_CREDENTIALSstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_USERSstatic StringSERIALIZED_NAME_WEBHOOKS
-
Constructor Summary
Constructors Constructor Description MerchantLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantLinksapiCredentials(LinksElement apiCredentials)booleanequals(Object o)static MerchantLinksfromJson(String jsonString)Create an instance of MerchantLinks given an JSON stringLinksElementgetApiCredentials()Get apiCredentialsLinksElementgetSelf()Get selfLinksElementgetUsers()Get usersLinksElementgetWebhooks()Get webhooksinthashCode()MerchantLinksself(LinksElement self)voidsetApiCredentials(LinksElement apiCredentials)voidsetSelf(LinksElement self)voidsetUsers(LinksElement users)voidsetWebhooks(LinksElement webhooks)StringtoJson()Convert an instance of MerchantLinks to an JSON stringStringtoString()MerchantLinksusers(LinksElement users)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundMerchantLinkswebhooks(LinksElement webhooks)
-
-
-
Field Detail
-
SERIALIZED_NAME_API_CREDENTIALS
public static final String SERIALIZED_NAME_API_CREDENTIALS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_USERS
public static final String SERIALIZED_NAME_USERS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WEBHOOKS
public static final String SERIALIZED_NAME_WEBHOOKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiCredentials
public MerchantLinks apiCredentials(LinksElement apiCredentials)
-
getApiCredentials
public LinksElement getApiCredentials()
Get apiCredentials- Returns:
- apiCredentials
-
setApiCredentials
public void setApiCredentials(LinksElement apiCredentials)
-
self
public MerchantLinks self(LinksElement self)
-
getSelf
public LinksElement getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
-
users
public MerchantLinks users(LinksElement users)
-
getUsers
public LinksElement getUsers()
Get users- Returns:
- users
-
setUsers
public void setUsers(LinksElement users)
-
webhooks
public MerchantLinks webhooks(LinksElement webhooks)
-
getWebhooks
public LinksElement getWebhooks()
Get webhooks- Returns:
- webhooks
-
setWebhooks
public void setWebhooks(LinksElement webhooks)
-
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 MerchantLinks
-
fromJson
public static MerchantLinks fromJson(String jsonString) throws IOException
Create an instance of MerchantLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of MerchantLinks
- Throws:
IOException- if the JSON string is invalid with respect to MerchantLinks
-
toJson
public String toJson()
Convert an instance of MerchantLinks to an JSON string- Returns:
- JSON string
-
-