View Source ExOAPI.Stripe.Schemas.Address (exoapi_stripe v0.1.4)

:city :: :string

City, district, suburb, town, or village.

:country :: :string

Two-letter country code (ISO 3166-1 alpha-2).

:line1 :: :string

Address line 1 (e.g., street, PO Box, or company name).

:line2 :: :string

Address line 2 (e.g., apartment, suite, unit, or building).

:postal_code :: :string

ZIP or postal code.

:state :: :string

State, county, province, or region.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Address{
  city: String.t() | nil,
  country: String.t() | nil,
  line1: String.t() | nil,
  line2: String.t() | nil,
  postal_code: String.t() | nil,
  state: String.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()