Defines the object schema located at components.schemas.shipping_rate in the specification.
Shipping rates describe the price of shipping presented to your customers and can be applied to Checkout Sessions and Orders to collect shipping costs.
Constructors
ShippingRateshippingRateActive :: Boolactive: Whether the shipping rate can be used for new purchases. Defaults to `true`.
shippingRateCreated :: Intcreated: Time at which the object was created. Measured in seconds since the Unix epoch.
shippingRateDeliveryEstimate :: Maybe (Nullable ShippingRateDeliveryEstimate'NonNullable)delivery_estimate: The estimated range for how long shipping will take, meant to be displayable to the customer. This will appear on CheckoutSessions.
shippingRateDisplayName :: Maybe (Nullable Text)display_name: The name of the shipping rate, meant to be displayable to the customer. This will appear on CheckoutSessions.
Constraints:
Maximum length of 5000
shippingRateFixedAmount :: Maybe ShippingRateFixedAmountfixed_amount:
shippingRateId :: Textid: Unique identifier for the object.
Constraints:
Maximum length of 5000
shippingRateLivemode :: Boollivemode: Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
shippingRateMetadata :: Objectmetadata: 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.
shippingRateTaxBehavior :: Maybe (Nullable ShippingRateTaxBehavior'NonNullable)tax_behavior: Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of `inclusive`, `exclusive`, or `unspecified`.
shippingRateTaxCode :: Maybe (Nullable ShippingRateTaxCode'NonNullableVariants)tax_code: A tax code ID. The Shipping tax code is `txcd_92010001`.
Instances4Eq, Show, FromJSON, ToJSON
Eq ShippingRateDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ShippingRateShow ShippingRateDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ShippingRateFromJSON ShippingRateDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ShippingRateToJSON ShippingRateDefined in stripeapi-3.0.0.0 · StripeAPI.Types.ShippingRate