Packages
Complete Stripe SDK for Elixir with parity to the official Ruby SDK. V1+V2 coverage (193 services, 320 resource structs, 525 documented params). Per-event modules, Finch HTTP/2, RustyJSON, automatic retries, OAuth, webhooks, telemetry, per-client config, streaming pagination.
Current section
Files
Jump to
Current section
Files
lib/stripe/params/billing/meter_event_adjustment_create_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.Billing.MeterEventAdjustmentCreateParams do
@moduledoc "Parameters for meter event adjustment create."
@typedoc """
* `cancel` - Specifies which event to cancel.
* `event_name` - The name of the meter event. Corresponds with the `event_name` field on a meter. Max length: 100.
* `expand` - Specifies which fields in the response should be expanded.
* `type` - Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet. Possible values: `cancel`.
"""
@type t :: %__MODULE__{
cancel: __MODULE__.Cancel.t() | nil,
event_name: String.t(),
expand: [String.t()] | nil,
type: String.t()
}
defstruct [:cancel, :event_name, :expand, :type]
defmodule Cancel do
@moduledoc "Nested parameters."
@typedoc """
* `identifier` - Unique identifier for the event. You can only cancel events within 24 hours of Stripe receiving them. Max length: 100.
"""
@type t :: %__MODULE__{
identifier: String.t() | nil
}
defstruct [:identifier]
end
end