EPTSDK.RefundDemand (ept_sdk v10.0.0)

Summary

Functions

Creates an new %EPTSDK.RefundDemand{}} with attributes: and relationships:.

Fetches all %EPTSDK.RefundDemand{}.

Fetches a %EPTSDK.RefundDemand{} by record or by id.

Functions

create(client, options \\ [])

Creates an new %EPTSDK.RefundDemand{}} with attributes: and relationships:.

The options argument can also have:

  • fields:, a map of filds to return for each resource type i.e. fields: %{refund_demands: ["id"]}
  • include:, a list of relationship chains for the response to return i.e. include: ["refund_demands.merchant"]

list(client, options \\ [])

Fetches all %EPTSDK.RefundDemand{}.

The options argument can be:

  • fields, a map of filds to return for each resource type i.e. fields: %{refund_demands: ["id"]}
  • include, a list of relationship chains for the response to return i.e. include: ["refund_demands.merchant"]
  • sort, ... i.e. sort: ["-name"]
  • filter, ... i.e. fields: %{name: "John"}

new(id, type, attributes, record, links)

show(client, id, options \\ [])

Fetches a %EPTSDK.RefundDemand{} by record or by id.

The options argument can be:

  • fields, a map of filds to return for each resource type i.e. fields: %{refund_demands: ["id"]}
  • include, a list of relationship chains for the response to return i.e. include: ["refund_demands.merchant"]