Documentation ¶
Overview ¶
Package session provides API functions related to checkout sessions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Get ¶
func Get(id string, params *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
Get retrieves a session.
func New ¶
func New(params *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
New creates a new session.
Types ¶
type Client ¶
Client is used to invoke /checkout_sessions APIs.
func (Client) Get ¶
func (c Client) Get(id string, params *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
Get retrieves a session.
func (Client) New ¶
func (c Client) New(params *stripe.CheckoutSessionParams) (*stripe.CheckoutSession, error)
New creates a new session.
Click to show internal directories.
Click to hide internal directories.