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()Get allowedOriginsLinksElementgetCompany()Get companyMap<String,Object>getExplicitNulls()Returns a map of properties to be merged into the JSON payload as explicit null values.LinksElementgetGenerateApiKey()Get generateApiKeyLinksElementgetGenerateClientKey()Get generateClientKeyLinksElementgetMerchant()Get merchantLinksElementgetSelf()Get selfinthashCode()ApiCredentialLinksincludeNullValues(boolean includeNullValues)Configures whether null values are explicitly serialized in the JSON payload.booleanisIncludeNullValues()Returns whether null values are explicitly serialized in the JSON payload.ApiCredentialLinksmerchant(LinksElement merchant)merchantApiCredentialLinksself(LinksElement self)selfvoidsetAllowedOrigins(LinksElement allowedOrigins)allowedOriginsvoidsetCompany(LinksElement company)companyvoidsetGenerateApiKey(LinksElement generateApiKey)generateApiKeyvoidsetGenerateClientKey(LinksElement generateClientKey)generateClientKeyvoidsetIncludeNullValues(boolean includeNullValues)Sets whether null values should be explicitly serialized in the JSON payload.voidsetMerchant(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()
Get 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()
Get 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()
Get 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()
Get 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()
Get 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()
Get self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
self- Parameters:
self-
-
includeNullValues
public ApiCredentialLinks includeNullValues(boolean includeNullValues)
Configures whether null values are explicitly serialized in the JSON payload. Default is false.
-
isIncludeNullValues
public boolean isIncludeNullValues()
Returns whether null values are explicitly serialized in the JSON payload.
-
setIncludeNullValues
public void setIncludeNullValues(boolean includeNullValues)
Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
-
equals
public boolean equals(Object o)
Return true if this ApiCredentialLinks object is equal to o.
-
getExplicitNulls
public Map<String,Object> getExplicitNulls()
Returns a map of properties to be merged into the JSON payload as explicit null values.
-
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
-
-