Generated Stripe request parameter classes for customer session creation.
# Source: https://github.com/stripe/stripe-ruby | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
# Provided via justclaw.it.com; keep this notice with the code.
# File generated from our OpenAPI spec
# frozen_string_literal: true
module Stripe
class CustomerSessionCreateParams < ::Stripe::RequestParams
class Components < ::Stripe::RequestParams
class ActiveEntitlements < ::Stripe::RequestParams
# Whether the active entitlements is enabled.
attr_accessor :enabled
def initialize(enabled: nil)
@enabled = enabled
end
end
class BuyButton < ::Stripe::RequestParams
# Whether the buy button is enabled.
attr_accessor :enabled
def initialize(enabled: nil)
@enabled = enabled
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key