Package com.adyen.model.management
Class WebhookLinks
- java.lang.Object
-
- com.adyen.model.management.WebhookLinks
-
public class WebhookLinks extends Object
WebhookLinks
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebhookLinks.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_COMPANYstatic StringSERIALIZED_NAME_GENERATE_HMACstatic StringSERIALIZED_NAME_MERCHANTstatic StringSERIALIZED_NAME_SELFstatic StringSERIALIZED_NAME_TEST_WEBHOOK
-
Constructor Summary
Constructors Constructor Description WebhookLinks()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WebhookLinkscompany(LinksElement company)booleanequals(Object o)static WebhookLinksfromJson(String jsonString)Create an instance of WebhookLinks given an JSON stringWebhookLinksgenerateHmac(LinksElement generateHmac)LinksElementgetCompany()Get companyLinksElementgetGenerateHmac()Get generateHmacLinksElementgetMerchant()Get merchantLinksElementgetSelf()Get selfLinksElementgetTestWebhook()Get testWebhookinthashCode()WebhookLinksmerchant(LinksElement merchant)WebhookLinksself(LinksElement self)voidsetCompany(LinksElement company)voidsetGenerateHmac(LinksElement generateHmac)voidsetMerchant(LinksElement merchant)voidsetSelf(LinksElement self)voidsetTestWebhook(LinksElement testWebhook)WebhookLinkstestWebhook(LinksElement testWebhook)StringtoJson()Convert an instance of WebhookLinks 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_COMPANY
public static final String SERIALIZED_NAME_COMPANY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_GENERATE_HMAC
public static final String SERIALIZED_NAME_GENERATE_HMAC
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MERCHANT
public static final String SERIALIZED_NAME_MERCHANT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SELF
public static final String SERIALIZED_NAME_SELF
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TEST_WEBHOOK
public static final String SERIALIZED_NAME_TEST_WEBHOOK
- See Also:
- Constant Field Values
-
-
Method Detail
-
company
public WebhookLinks company(LinksElement company)
-
getCompany
public LinksElement getCompany()
Get company- Returns:
- company
-
setCompany
public void setCompany(LinksElement company)
-
generateHmac
public WebhookLinks generateHmac(LinksElement generateHmac)
-
getGenerateHmac
public LinksElement getGenerateHmac()
Get generateHmac- Returns:
- generateHmac
-
setGenerateHmac
public void setGenerateHmac(LinksElement generateHmac)
-
merchant
public WebhookLinks merchant(LinksElement merchant)
-
getMerchant
public LinksElement getMerchant()
Get merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(LinksElement merchant)
-
self
public WebhookLinks self(LinksElement self)
-
getSelf
public LinksElement getSelf()
Get self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
-
testWebhook
public WebhookLinks testWebhook(LinksElement testWebhook)
-
getTestWebhook
public LinksElement getTestWebhook()
Get testWebhook- Returns:
- testWebhook
-
setTestWebhook
public void setTestWebhook(LinksElement testWebhook)
-
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 WebhookLinks
-
fromJson
public static WebhookLinks fromJson(String jsonString) throws IOException
Create an instance of WebhookLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhookLinks
- Throws:
IOException- if the JSON string is invalid with respect to WebhookLinks
-
toJson
public String toJson()
Convert an instance of WebhookLinks to an JSON string- Returns:
- JSON string
-
-