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

:address :: ExOAPI.Stripe.Schemas.Address

:carrier :: :string

The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.

:name :: :string

Recipient name.

:phone :: :string

Recipient phone (including extension).

:tracking_number :: :string

The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.Shipping{
  address: ExOAPI.Stripe.Schemas.Address.t() | nil,
  carrier: String.t() | nil,
  name: String.t() | nil,
  phone: String.t() | nil,
  tracking_number: 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()