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 issuing physical_bundle.ex
Raw

lib/stripe/resources/issuing/physical_bundle.ex

# File generated from our OpenAPI spec
defmodule Stripe.Resources.Issuing.PhysicalBundle do
@moduledoc """
IssuingPhysicalBundle
A Physical Bundle represents the bundle of physical items - card stock, carrier letter, and envelope - that is shipped to a cardholder when you create a physical card.
"""
@typedoc """
* `features` - Expandable.
* `id` - Unique identifier for the object. Max length: 5000.
* `livemode` - If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
* `name` - Friendly display name. Max length: 5000.
* `object` - String representing the object's type. Objects of the same type share the same value. Possible values: `issuing.physical_bundle`.
* `status` - Whether this physical bundle can be used to create cards. Possible values: `active`, `inactive`, `review`.
* `type` - Whether this physical bundle is a standard Stripe offering or custom-made for you. Possible values: `custom`, `standard`.
"""
@type t :: %__MODULE__{}
defstruct [:features, :id, :livemode, :name, :object, :status, :type]
@object_name "issuing.physical_bundle"
def object_name, do: @object_name
def expandable_fields, do: ["features"]
def __nested_fields__ do
%{
"features" => %{
fields: %{
"card_logo" => :scalar,
"carrier_text" => :scalar,
"second_line" => :scalar
}
}
}
end
end