Stripe.Resources.ShippingRate (tiger_stripe v0.4.0)

Copy Markdown View Source

ShippingRate

Shipping rates describe the price of shipping presented to your customers and applied to a purchase. For more information, see Charge for shipping.

Summary

Types

t()

@type t() :: %Stripe.Resources.ShippingRate{
  active: term(),
  created: term(),
  delivery_estimate: term(),
  display_name: term(),
  fixed_amount: term(),
  id: term(),
  livemode: term(),
  metadata: term(),
  object: term(),
  tax_behavior: term(),
  tax_code: term(),
  type: term()
}
  • active - Whether the shipping rate can be used for new purchases. Defaults to true.
  • created - Time at which the object was created. Measured in seconds since the Unix epoch. Format: Unix timestamp.
  • delivery_estimate - The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions. Nullable. Expandable.
  • display_name - The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions. Max length: 5000. Nullable.
  • fixed_amount - 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.
  • metadata - Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
  • object - String representing the object's type. Objects of the same type share the same value. Possible values: shipping_rate.
  • tax_behavior - Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified. Possible values: exclusive, inclusive, unspecified. Nullable.
  • tax_code - A tax code ID. The Shipping tax code is txcd_92010001. Nullable. Expandable.
  • type - The type of calculation to use on the shipping rate. Possible values: fixed_amount.

Functions

expandable_fields()

object_name()