Stripe.Reporting.ReportType (stripity_stripe v2.17.3) View Source

Work with Stripe Report Type objects.

You can:

  • Retrieve a report type
  • List all report types

Stripe API reference: https://stripe.com/docs/api/reporting/report_type

Link to this section Summary

Link to this section Types

Specs

t() :: %Stripe.Reporting.ReportType{
  data_available_end: Stripe.timestamp(),
  data_available_start: Stripe.timestamp(),
  default_columns: [String.t()],
  id: Stripe.id(),
  livemode: boolean(),
  name: String.t(),
  object: String.t(),
  updated: Stripe.timestamp(),
  version: integer()
}

Link to this section Functions

Specs

list(Stripe.options()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.Error.t()}
Link to this function

retrieve(id, opts \\ [])

View Source

Specs

retrieve(Stripe.id() | t(), Stripe.options()) ::
  {:ok, t()} | {:error, Stripe.Error.t()}