Current section

Files

Jump to
ept_sdk lib ept_sdk webhook_subscription.ex
Raw

lib/ept_sdk/webhook_subscription.ex

defmodule EPTSDK.WebhookSubscription do
import EPTSDK.Resource, only: :macros
@path "/webhook_subscriptions"
@resource_type "webhook_subscriptions"
@enforce_keys [
:id,
:created_at,
:updated_at,
:merchant_account,
:__raw__,
:__links__,
:__relationships__
]
defstruct [
:id,
:type,
:active,
:concurrency_limit,
:description,
:events,
:secret_key,
:url,
:created_at,
:updated_at,
:merchant_account,
:__raw__,
:__links__,
:__relationships__
]
with_list()
with_show()
with_create()
with_update()
with_delete()
end