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

:amount :: :integer

A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1, Japanese Yen being a zero-decimal currency) representing the total amount for the line item.

:currency :: :string

Three-letter ISO currency code, in lowercase. Must be a supported currency.

:delivery_estimate :: ExOAPI.Stripe.Schemas.DeliveryEstimate

The estimated delivery date for the given shipping method. Can be either a specific date or a range.

:description :: :string

An arbitrary string attached to the object. Often useful for displaying to users.

:id :: :string

Unique identifier for the object.

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.ShippingMethod{
  amount: integer() | nil,
  currency: String.t() | nil,
  delivery_estimate: ExOAPI.EctoTypes.AnyOf.t() | nil,
  description: String.t() | nil,
  id: 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()