Class: Whop_sdk::Types::CheckoutSessionBreakdownUpcoming

Inherits:
Internal::Types::Model show all
Extended by:
Internal::Types::Union
Defined in:
lib/whop_sdk/types/checkout_session_breakdown_upcoming.rb

Overview

One amount owed after today. type picks the shape — one_time is a single later charge, recurring an open-ended subscription, installments a fixed count of payments — and each variant carries only its own fields, so switching on type gives you exactly that entry's payload.

Method Summary

Methods included from Internal::Types::Union

coerce, discriminant, load, member, members, type_member?

Methods included from Internal::Types::Type

#coerce, #strict!, #strict?

Methods included from Internal::JSON::Serializable

#dump, #load

Methods inherited from Internal::Types::Model

#==, ===, add_extra_field_definition, coerce, extra_fields, field, fields, #initialize, #inspect, literal, load, #to_h

Constructor Details

This class inherits a constructor from Whop_sdk::Internal::Types::Model