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