Current section
Files
Jump to
Current section
Files
lib/ept_sdk/customer.ex
defmodule EPTSDK.Customer do
import EPTSDK.Resource, only: :macros
@path "/customers"
@resource_type "customers"
@enforce_keys [
:id,
:name,
:email,
:created_at,
:updated_at,
:__raw__,
:__links__,
:__relationships__
]
defstruct [:id,
:type,
:name,
:email,
:created_at,
:updated_at,
:__raw__,
:__links__,
:__relationships__]
with_list()
with_show()
with_create()
with_update()
with_delete()
end