Package com.adyen.model.management
Class CompanyLinks
- java.lang.Object
-
- com.adyen.model.management.CompanyLinks
-
public class CompanyLinks extends Object
CompanyLinks
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_CREDENTIALSstatic StringJSON_PROPERTY_SELFstatic StringJSON_PROPERTY_USERSstatic StringJSON_PROPERTY_WEBHOOKS
-
Constructor Summary
Constructors Constructor Description CompanyLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CompanyLinksapiCredentials(LinksElement apiCredentials)apiCredentialsbooleanequals(Object o)Return true if this CompanyLinks object is equal to o.static CompanyLinksfromJson(String jsonString)Create an instance of CompanyLinks given an JSON stringLinksElementgetApiCredentials()apiCredentialsLinksElementgetSelf()selfLinksElementgetUsers()usersLinksElementgetWebhooks()webhooksinthashCode()CompanyLinksself(LinksElement self)selfvoidsetApiCredentials(LinksElement apiCredentials)apiCredentialsvoidsetSelf(LinksElement self)selfvoidsetUsers(LinksElement users)usersvoidsetWebhooks(LinksElement webhooks)webhooksStringtoJson()Convert an instance of CompanyLinks to an JSON stringStringtoString()CompanyLinksusers(LinksElement users)usersCompanyLinkswebhooks(LinksElement webhooks)webhooks
-
-
-
Field Detail
-
JSON_PROPERTY_API_CREDENTIALS
public static final String JSON_PROPERTY_API_CREDENTIALS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELF
public static final String JSON_PROPERTY_SELF
- See Also:
- Constant Field Values
-
JSON_PROPERTY_USERS
public static final String JSON_PROPERTY_USERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_WEBHOOKS
public static final String JSON_PROPERTY_WEBHOOKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiCredentials
public CompanyLinks apiCredentials(LinksElement apiCredentials)
apiCredentials- Parameters:
apiCredentials-- Returns:
- the current
CompanyLinksinstance, allowing for method chaining
-
getApiCredentials
public LinksElement getApiCredentials()
apiCredentials- Returns:
- apiCredentials
-
setApiCredentials
public void setApiCredentials(LinksElement apiCredentials)
apiCredentials- Parameters:
apiCredentials-
-
self
public CompanyLinks self(LinksElement self)
self- Parameters:
self-- Returns:
- the current
CompanyLinksinstance, allowing for method chaining
-
getSelf
public LinksElement getSelf()
self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
self- Parameters:
self-
-
users
public CompanyLinks users(LinksElement users)
users- Parameters:
users-- Returns:
- the current
CompanyLinksinstance, allowing for method chaining
-
getUsers
public LinksElement getUsers()
users- Returns:
- users
-
setUsers
public void setUsers(LinksElement users)
users- Parameters:
users-
-
webhooks
public CompanyLinks webhooks(LinksElement webhooks)
webhooks- Parameters:
webhooks-- Returns:
- the current
CompanyLinksinstance, allowing for method chaining
-
getWebhooks
public LinksElement getWebhooks()
webhooks- Returns:
- webhooks
-
setWebhooks
public void setWebhooks(LinksElement webhooks)
webhooks- Parameters:
webhooks-
-
equals
public boolean equals(Object o)
Return true if this CompanyLinks object is equal to o.
-
fromJson
public static CompanyLinks fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of CompanyLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CompanyLinks
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to CompanyLinks
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of CompanyLinks to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-