Package com.adyen.model.management
Class WebhookLinks
- java.lang.Object
-
- com.adyen.model.management.WebhookLinks
-
public class WebhookLinks extends Object
WebhookLinks
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_COMPANYstatic StringJSON_PROPERTY_GENERATE_HMACstatic StringJSON_PROPERTY_MERCHANTstatic StringJSON_PROPERTY_SELFstatic StringJSON_PROPERTY_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)companybooleanequals(Object o)Return true if this WebhookLinks object is equal to o.static WebhookLinksfromJson(String jsonString)Create an instance of WebhookLinks given an JSON stringWebhookLinksgenerateHmac(LinksElement generateHmac)generateHmacLinksElementgetCompany()companyLinksElementgetGenerateHmac()generateHmacLinksElementgetMerchant()merchantLinksElementgetSelf()selfLinksElementgetTestWebhook()testWebhookinthashCode()WebhookLinksmerchant(LinksElement merchant)merchantWebhookLinksself(LinksElement self)selfvoidsetCompany(LinksElement company)companyvoidsetGenerateHmac(LinksElement generateHmac)generateHmacvoidsetMerchant(LinksElement merchant)merchantvoidsetSelf(LinksElement self)selfvoidsetTestWebhook(LinksElement testWebhook)testWebhookWebhookLinkstestWebhook(LinksElement testWebhook)testWebhookStringtoJson()Convert an instance of WebhookLinks to an JSON stringStringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_COMPANY
public static final String JSON_PROPERTY_COMPANY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_GENERATE_HMAC
public static final String JSON_PROPERTY_GENERATE_HMAC
- 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
-
JSON_PROPERTY_TEST_WEBHOOK
public static final String JSON_PROPERTY_TEST_WEBHOOK
- See Also:
- Constant Field Values
-
-
Method Detail
-
company
public WebhookLinks company(LinksElement company)
company- Parameters:
company-- Returns:
- the current
WebhookLinksinstance, allowing for method chaining
-
getCompany
public LinksElement getCompany()
company- Returns:
- company
-
setCompany
public void setCompany(LinksElement company)
company- Parameters:
company-
-
generateHmac
public WebhookLinks generateHmac(LinksElement generateHmac)
generateHmac- Parameters:
generateHmac-- Returns:
- the current
WebhookLinksinstance, allowing for method chaining
-
getGenerateHmac
public LinksElement getGenerateHmac()
generateHmac- Returns:
- generateHmac
-
setGenerateHmac
public void setGenerateHmac(LinksElement generateHmac)
generateHmac- Parameters:
generateHmac-
-
merchant
public WebhookLinks merchant(LinksElement merchant)
merchant- Parameters:
merchant-- Returns:
- the current
WebhookLinksinstance, allowing for method chaining
-
getMerchant
public LinksElement getMerchant()
merchant- Returns:
- merchant
-
setMerchant
public void setMerchant(LinksElement merchant)
merchant- Parameters:
merchant-
-
self
public WebhookLinks self(LinksElement self)
self- Parameters:
self-- Returns:
- the current
WebhookLinksinstance, allowing for method chaining
-
getSelf
public LinksElement getSelf()
self- Returns:
- self
-
setSelf
public void setSelf(LinksElement self)
self- Parameters:
self-
-
testWebhook
public WebhookLinks testWebhook(LinksElement testWebhook)
testWebhook- Parameters:
testWebhook-- Returns:
- the current
WebhookLinksinstance, allowing for method chaining
-
getTestWebhook
public LinksElement getTestWebhook()
testWebhook- Returns:
- testWebhook
-
setTestWebhook
public void setTestWebhook(LinksElement testWebhook)
testWebhook- Parameters:
testWebhook-
-
equals
public boolean equals(Object o)
Return true if this WebhookLinks object is equal to o.
-
fromJson
public static WebhookLinks fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of WebhookLinks given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebhookLinks
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to WebhookLinks
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of WebhookLinks to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-