public abstract static class AbstractWebhookBuilders.AbstractUpdateWebhookRequestBuilder<B extends AbstractWebhookBuilders.AbstractUpdateWebhookRequestBuilder,R,M extends Webhook> extends IdempotentRetrofitRequestBuilder<M,R,B>
Modifier and Type | Field and Description |
---|---|
protected StoreId |
storeId |
protected java.util.List<PaymentSystemEvent> |
triggers |
protected java.net.URL |
url |
protected WebhookId |
webhookId |
idempotencyKey
retrofit
Constructor and Description |
---|
AbstractUpdateWebhookRequestBuilder(retrofit2.Retrofit retrofit,
StoreId storeId,
WebhookId webhookId) |
Modifier and Type | Method and Description |
---|---|
protected StoreId |
getStoreId() |
protected java.util.List<PaymentSystemEvent> |
getTriggers() |
protected java.net.URL |
getUrl() |
protected WebhookId |
getWebhookId() |
B |
withTriggers(java.util.List<PaymentSystemEvent> triggers) |
B |
withURL(java.net.URL url) |
getIdempotencyKey, withIdempotencyKey
build, createCall, dispatch, dispatch, dispatch, getRequest
protected final StoreId storeId
protected final WebhookId webhookId
protected java.net.URL url
protected java.util.List<PaymentSystemEvent> triggers
protected StoreId getStoreId()
protected WebhookId getWebhookId()
protected java.net.URL getUrl()
protected java.util.List<PaymentSystemEvent> getTriggers()
public B withURL(java.net.URL url)
public B withTriggers(java.util.List<PaymentSystemEvent> triggers)