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/issuing/personalization_design_create_params.ex
# File generated from our OpenAPI spec
defmodule Stripe.Params.Issuing.PersonalizationDesignCreateParams do
@moduledoc "Parameters for personalization design create."
@typedoc """
* `card_logo` - The file for the card logo, for use with physical bundles that support card logos. Must have a `purpose` value of `issuing_logo`.
* `carrier_text` - Hash containing carrier text, for use with physical bundles that support carrier text.
* `expand` - Specifies which fields in the response should be expanded.
* `lookup_key` - A lookup key used to retrieve personalization designs dynamically from a static string. This may be up to 200 characters. Max length: 200.
* `metadata` - Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
* `name` - Friendly display name. Max length: 200.
* `physical_bundle` - The physical bundle object belonging to this personalization design. Max length: 5000.
* `preferences` - Information on whether this personalization design is used to create cards when one is not specified.
* `transfer_lookup_key` - If set to true, will atomically remove the lookup key from the existing personalization design, and assign it to this personalization design.
"""
@type t :: %__MODULE__{
card_logo: String.t() | nil,
carrier_text: __MODULE__.CarrierText.t() | nil,
expand: [String.t()] | nil,
lookup_key: String.t() | nil,
metadata: %{String.t() => String.t()} | nil,
name: String.t() | nil,
physical_bundle: String.t(),
preferences: __MODULE__.Preferences.t() | nil,
transfer_lookup_key: boolean() | nil
}
defstruct [
:card_logo,
:carrier_text,
:expand,
:lookup_key,
:metadata,
:name,
:physical_bundle,
:preferences,
:transfer_lookup_key
]
defmodule CarrierText do
@moduledoc "Nested parameters."
@typedoc """
* `footer_body` - The footer body text of the carrier letter.
* `footer_title` - The footer title text of the carrier letter.
* `header_body` - The header body text of the carrier letter.
* `header_title` - The header title text of the carrier letter.
"""
@type t :: %__MODULE__{
footer_body: map() | nil,
footer_title: map() | nil,
header_body: map() | nil,
header_title: map() | nil
}
defstruct [:footer_body, :footer_title, :header_body, :header_title]
end
defmodule Preferences do
@moduledoc "Nested parameters."
@typedoc """
* `is_default` - Whether we use this personalization design to create cards when one isn't specified. A connected account uses the Connect platform's default design if no personalization design is set as the default design.
"""
@type t :: %__MODULE__{
is_default: boolean() | nil
}
defstruct [:is_default]
end
end