class

Stripe::Checkout::Session

Inherits StripeMethods / JSON::Serializable / Reference / Object

https://stripe.com/docs/api/checkout/sessions/create

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Class methods

expire(id : String | Stripe::Checkout::Session, expand : Array(String) | Nil = nil) : Stripe::Checkout::Session
Source
line_items(id : String | Stripe::Checkout::Session, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::Checkout::LineItem)
Source
list(payment_intent : String | Nil | Stripe::PaymentIntent | Nil = nil, subscription : String | Nil | Stripe::Subscription | Nil = nil, limit : Int32 | Nil = nil, starting_after : String | Nil = nil, ending_before : String | Nil = nil) : List(Stripe::Checkout::Session)
Source
retrieve(id : String)
Source
retrieve(checkout_session : Stripe::Checkout::Session)
Source
update(id : String | Stripe::Checkout::Session, metadata : Hash(String, String) | Nil = nil, expand : Array(String) | Nil = nil) : Stripe::Checkout::Session
Source

Instance methods

adaptive_pricing
Source
allow_promotion_codes
Source
amount_subtotal
Source
amount_total
Source
automatic_tax
Source
billing_address_collection
Source
cancel_url
Source
client_reference_id
Source
created

Newer fields

Source
currency
Source
custom_fields
Source
custom_text
Source
customer
Source
customer_creation
Source
customer_details
Source
customer_email
Source
expires_at
Source
invoice
Source
invoice_creation
Source
line_items
Source
livemode
Source
metadata
Source
mode
Source
object
Source
payment_intent
Source
payment_intent_data
Source
payment_method_collection
Source
payment_method_configuration
Source
payment_method_options
Source
payment_method_types
Source
payment_status
Source
phone_number_collection
Source
recovered_from
Source
return_url
Source
setup_intent
Source
shipping
Source
shipping_address_collection
Source
shipping_cost
Source
shipping_details
Source
shipping_options
Source
status
Source
submit_type
Source
subscription
Source
success_url
Source
tax_id_collection
Source
total_details
Source
ui_mode
Source

Nested types