Package com.adyen.model.management
Class ApiCredentialLinks
- java.lang.Object
-
- com.adyen.model.management.ApiCredentialLinks
-
public class ApiCredentialLinks extends Object
ApiCredentialLinks
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOWED_ORIGINSstatic StringJSON_PROPERTY_COMPANYstatic StringJSON_PROPERTY_GENERATE_API_KEYstatic StringJSON_PROPERTY_GENERATE_CLIENT_KEYstatic StringJSON_PROPERTY_MERCHANTstatic StringJSON_PROPERTY_SELF
-
Constructor Summary
Constructors Constructor Description ApiCredentialLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCredentialLinksallowedOrigins(LinksElement allowedOrigins)allowedOriginsApiCredentialLinkscompany(LinksElement company)companybooleanequals(Object o)Return true if this ApiCredentialLinks object is equal to o.static ApiCredentialLinksfromJson(String jsonString)Create an instance of ApiCredentialLinks given an JSON stringApiCredentialLinksgenerateApiKey(LinksElement generateApiKey)generateApiKeyApiCredentialLinksgenerateClientKey(LinksElement generateClientKey)generateClientKeyLinksElementgetAllowedOrigins()allowedOriginsLinksElementgetCompany()companyLinksElementgetGenerateApiKey()generateApiKeyLinksElementgetGenerateClientKey()generateClientKeyLinksElementgetMerchant()merchantLinksElementgetSelf()selfinthashCode()ApiCredentialLinksmerchant(LinksElement merchant)merchantApiCredentialLinksself(LinksElement self)selfvoidsetAllowedOrigins(LinksElement allowedOrigins)allowedOriginsvoidsetCompany(LinksElement company)companyvoidsetGenerateApiKey(LinksElement generateApiKey)generateApiKeyvoidsetGenerateClientKey(LinksElement generateClientKey)generateClientKeyvoidsetMerchant(LinksElement merchant)merchantvoidsetSelf(LinksElement self)selfStringtoJson()Convert an instance of ApiCredentialLinks to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOWED_ORIGINS
public static final String JSON_PROPERTY_ALLOWED_ORIGINS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_COMPANY
public static final String JSON_PROPERTY_COMPANY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GENERATE_API_KEY
public static final String JSON_PROPERTY_GENERATE_API_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GENERATE_CLIENT_KEY
public static final String JSON_PROPERTY_GENERATE_CLIENT_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MERCHANT
public static final String JSON_PROPERTY_MERCHANT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SELF
public static final String JSON_PROPERTY_SELF
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowedOrigins
public ApiCredentialLinks allowedOrigins(LinksElement allowedOrigins)
allowedOrigins- Parameters:
allowedOrigins-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getAllowedOrigins
public LinksElement getAllowedOrigins()
allowedOrigins- Returns:
- allowedOrigins
-
setAllowedOrigins
public void setAllowedOrigins(LinksElement allowedOrigins)
allowedOrigins- Parameters:
allowedOrigins-
-
company
public ApiCredentialLinks company(LinksElement company)
company- Parameters:
company-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getCompany
public LinksElement getCompany()
company- Returns:
- company
-
setCompany
public void setCompany(LinksElement company)
company- Parameters:
company-
-
generateApiKey
public ApiCredentialLinks generateApiKey(LinksElement generateApiKey)
generateApiKey- Parameters:
generateApiKey-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getGenerateApiKey
public LinksElement getGenerateApiKey()
generateApiKey- Returns:
- generateApiKey
-
setGenerateApiKey
public void setGenerateApiKey(LinksElement generateApiKey)
generateApiKey- Parameters:
generateApiKey-
-
generateClientKey
public ApiCredentialLinks generateClientKey(LinksElement generateClientKey)
generateClientKey- Parameters:
generateClientKey-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getGenerateClientKey
public LinksElement getGenerateClientKey()
generateClientKey- Returns:
- generateClientKey
-
setGenerateClientKey
public void setGenerateClientKey(LinksElement generateClientKey)
generateClientKey- Parameters:
generateClientKey-
-
merchant
public ApiCredentialLinks merchant(LinksElement merchant)
merchant- Parameters:
merchant-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getMerchant
public LinksElement getMerchant()
merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(LinksElement merchant)
merchant- Parameters:
merchant-
-
self
public ApiCredentialLinks self(LinksElement self)
self- Parameters:
self-- Returns:
- the current
ApiCredentialLinksinstance, allowing for method chaining
-
getSelf
public LinksElement getSelf()
self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
self- Parameters:
self-
-
equals
public boolean equals(Object o)
Return true if this ApiCredentialLinks object is equal to o.
-
fromJson
public static ApiCredentialLinks fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of ApiCredentialLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ApiCredentialLinks
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to ApiCredentialLinks
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of ApiCredentialLinks to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-