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
tiger_stripe lib stripe resources installments.ex
Raw

lib/stripe/resources/installments.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.Installments do
@moduledoc """
PaymentFlowsInstallmentOptions
"""
@typedoc """
* `enabled`
* `plan` - Expandable.
"""
@type t :: %__MODULE__{}
defstruct [:enabled, :plan]
@object_name "payment_flows_installment_options"
def object_name, do: @object_name
def expandable_fields, do: ["plan"]
def __nested_fields__ do
%{
"plan" => %{
fields: %{
"count" => :scalar,
"interval" => :scalar,
"type" => :scalar
}
}
}
end
end