httpdriver

package
v1.0.0-beta.228 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppStripeHandler

type AppStripeHandler interface {
	AppStripeWebhook() AppStripeWebhookHandler
	UpdateStripeAPIKey() UpdateStripeAPIKeyHandler
	CreateAppStripeCheckoutSession() CreateAppStripeCheckoutSessionHandler

	// Customer Stripe Data handlers
	GetCustomerStripeAppData() GetCustomerStripeAppDataHandler
	UpsertCustomerStripeAppData() UpsertCustomerStripeAppDataHandler

	// Customer Stripe Portal handlers
	CreateStripeCustomerPortalSession() CreateStripeCustomerPortalSessionHandler
}

type AppStripeWebhookParams

type AppStripeWebhookParams struct {
	AppID   string
	Payload []byte
}

type AppStripeWebhookRequest

type AppStripeWebhookRequest struct {
	AppID app.AppID
	Event stripe.Event
}

type AppStripeWebhookResponse

type AppStripeWebhookResponse = api.StripeWebhookResponse

type CreateAppStripeCheckoutSessionRequest

type CreateAppStripeCheckoutSessionRequest = appstripe.CreateCheckoutSessionInput

type CreateAppStripeCheckoutSessionResponse

type CreateAppStripeCheckoutSessionResponse = api.CreateStripeCheckoutSessionResult

type CreateStripeCustomerPortalSessionParams

type CreateStripeCustomerPortalSessionParams struct {
	CustomerIdOrKey string
}

type CreateStripeCustomerPortalSessionRequest

type CreateStripeCustomerPortalSessionRequest struct {
	// contains filtered or unexported fields
}

type CreateStripeCustomerPortalSessionResponse

type CreateStripeCustomerPortalSessionResponse = api.StripeCustomerPortalSession

type GetCustomerStripeAppDataParams

type GetCustomerStripeAppDataParams struct {
	CustomerIdOrKey string
}

type GetCustomerStripeAppDataRequest

type GetCustomerStripeAppDataRequest struct {
	CustomerID customer.CustomerID
}

type GetCustomerStripeAppDataResponse

type GetCustomerStripeAppDataResponse = api.StripeCustomerAppData

type Handler

type Handler interface {
	AppStripeHandler
}

func New

func New(
	namespaceDecoder namespacedriver.NamespaceDecoder,
	service appstripe.Service,
	billingService billing.Service,
	customerService customer.Service,
	options ...httptransport.HandlerOption,
) Handler

type StripeLogAttributeName

type StripeLogAttributeName string
const (
	StripeEventIDAttributeName   StripeLogAttributeName = "stripe_event_id"
	StripeEventTypeAttributeName StripeLogAttributeName = "stripe_event_type"
	AppIDAttributeName           StripeLogAttributeName = "app_id"
)

type UpdateStripeAPIKeyRequest

type UpdateStripeAPIKeyRequest = appstripe.UpdateAPIKeyInput

type UpdateStripeAPIKeyResponse

type UpdateStripeAPIKeyResponse = struct{}

type UpsertCustomerStripeAppDataParams

type UpsertCustomerStripeAppDataParams struct {
	CustomerIdOrKey string
}

type UpsertCustomerStripeAppDataRequest

type UpsertCustomerStripeAppDataRequest struct {
	CustomerId customer.CustomerID
	Data       api.StripeCustomerAppDataBase
}

type UpsertCustomerStripeAppDataResponse

type UpsertCustomerStripeAppDataResponse = api.StripeCustomerAppData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL