EPTSDK.Merchant (ept_sdk v6.1.0)
Summary
Functions
Fetches all %EPTSDK.Merchant{}.
Fetches a %EPTSDK.Merchant{} by record or by id.
Updates an existing %EPTSDK.Merchant with attributes: and relationships:.
Functions
Link to this function
list(client, options \\ [])
Fetches all %EPTSDK.Merchant{}.
The options argument can be:
fields, a map of filds to return for each resource type i.e.fields: %{merchants: ["id"]}include, a list of relationship chains for the response to return i.e.include: ["merchants.merchant"]sort, ... i.e.sort: ["-name"]filter, ... i.e.fields: %{name: "John"}
Link to this function
new(id, type, attributes, record, included, links)
Link to this function
show(client, id, options \\ [])
Fetches a %EPTSDK.Merchant{} by record or by id.
The options argument can be:
fields, a map of filds to return for each resource type i.e.fields: %{merchants: ["id"]}include, a list of relationship chains for the response to return i.e.include: ["merchants.merchant"]
Link to this function
update(client, record, options \\ [])
Updates an existing %EPTSDK.Merchant with attributes: and relationships:.
The options argument can also have:
fields:, a map of filds to return for each resource type i.e.fields: %{merchants: ["id"]}include:, a list of relationship chains for the response to return i.e.include: ["merchants.merchant"]