Defines the object schema located at components.schemas.source_order_item in the specification.
Constructors
SourceOrderItemsourceOrderItemAmount :: Maybe (Nullable Int)amount: The amount (price) for this order item.
sourceOrderItemCurrency :: Maybe (Nullable Text)currency: This currency of this order item. Required when `amount` is present.
Constraints:
Maximum length of 5000
sourceOrderItemDescription :: Maybe (Nullable Text)description: Human-readable description for this order item.
Constraints:
Maximum length of 5000
sourceOrderItemParent :: Maybe (Nullable Text)parent: The ID of the associated object for this line item. Expandable if not null (e.g., expandable to a SKU).
Constraints:
Maximum length of 5000
sourceOrderItemQuantity :: Maybe Intquantity: The quantity of this order item. When type is `sku`, this is the number of instances of the SKU to be ordered.
sourceOrderItemType :: Maybe (Nullable Text)type: The type of this order item. Must be `sku`, `tax`, or `shipping`.
Constraints:
Maximum length of 5000
Instances4Eq, Show, FromJSON, ToJSON
Eq SourceOrderItemDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SourceOrderItemShow SourceOrderItemDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SourceOrderItemFromJSON SourceOrderItemDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SourceOrderItemToJSON SourceOrderItemDefined in stripeapi-3.0.0.0 · StripeAPI.Types.SourceOrderItem