Documentation
¶
Index ¶
- type AppStripeHandler
- type AppStripeWebhookHandler
- type AppStripeWebhookParams
- type AppStripeWebhookRequest
- type AppStripeWebhookResponse
- type CreateAppStripeCheckoutSessionHandler
- type CreateAppStripeCheckoutSessionRequest
- type CreateAppStripeCheckoutSessionResponse
- type CreateStripeCustomerPortalSessionHandler
- type CreateStripeCustomerPortalSessionParams
- type CreateStripeCustomerPortalSessionRequest
- type CreateStripeCustomerPortalSessionResponse
- type GetCustomerStripeAppDataHandler
- type GetCustomerStripeAppDataParams
- type GetCustomerStripeAppDataRequest
- type GetCustomerStripeAppDataResponse
- type Handler
- type StripeLogAttributeName
- type UpdateStripeAPIKeyHandler
- type UpdateStripeAPIKeyRequest
- type UpdateStripeAPIKeyResponse
- type UpsertCustomerStripeAppDataHandler
- type UpsertCustomerStripeAppDataParams
- type UpsertCustomerStripeAppDataRequest
- type UpsertCustomerStripeAppDataResponse
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 AppStripeWebhookHandler ¶
type AppStripeWebhookHandler httptransport.HandlerWithArgs[AppStripeWebhookRequest, AppStripeWebhookResponse, AppStripeWebhookParams]
type AppStripeWebhookParams ¶
type AppStripeWebhookRequest ¶
type AppStripeWebhookResponse ¶
type AppStripeWebhookResponse = api.StripeWebhookResponse
type CreateAppStripeCheckoutSessionHandler ¶
type CreateAppStripeCheckoutSessionHandler httptransport.Handler[CreateAppStripeCheckoutSessionRequest, CreateAppStripeCheckoutSessionResponse]
type CreateAppStripeCheckoutSessionRequest ¶
type CreateAppStripeCheckoutSessionRequest = appstripe.CreateCheckoutSessionInput
type CreateAppStripeCheckoutSessionResponse ¶
type CreateAppStripeCheckoutSessionResponse = api.CreateStripeCheckoutSessionResult
type CreateStripeCustomerPortalSessionHandler ¶
type CreateStripeCustomerPortalSessionHandler httptransport.HandlerWithArgs[CreateStripeCustomerPortalSessionRequest, CreateStripeCustomerPortalSessionResponse, CreateStripeCustomerPortalSessionParams]
type CreateStripeCustomerPortalSessionParams ¶
type CreateStripeCustomerPortalSessionParams struct {
CustomerIdOrKey string
}
type CreateStripeCustomerPortalSessionRequest ¶
type CreateStripeCustomerPortalSessionRequest struct {
// contains filtered or unexported fields
}
type CreateStripeCustomerPortalSessionResponse ¶
type CreateStripeCustomerPortalSessionResponse = api.StripeCustomerPortalSession
type GetCustomerStripeAppDataHandler ¶
type GetCustomerStripeAppDataHandler httptransport.HandlerWithArgs[GetCustomerStripeAppDataRequest, GetCustomerStripeAppDataResponse, GetCustomerStripeAppDataParams]
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 UpdateStripeAPIKeyHandler ¶
type UpdateStripeAPIKeyHandler httptransport.HandlerWithArgs[UpdateStripeAPIKeyRequest, UpdateStripeAPIKeyResponse, string]
type UpdateStripeAPIKeyRequest ¶
type UpdateStripeAPIKeyRequest = appstripe.UpdateAPIKeyInput
type UpdateStripeAPIKeyResponse ¶
type UpdateStripeAPIKeyResponse = struct{}
type UpsertCustomerStripeAppDataHandler ¶
type UpsertCustomerStripeAppDataHandler httptransport.HandlerWithArgs[UpsertCustomerStripeAppDataRequest, UpsertCustomerStripeAppDataResponse, UpsertCustomerStripeAppDataParams]
type UpsertCustomerStripeAppDataParams ¶
type UpsertCustomerStripeAppDataParams struct {
CustomerIdOrKey string
}
type UpsertCustomerStripeAppDataRequest ¶
type UpsertCustomerStripeAppDataRequest struct {
CustomerId customer.CustomerID
Data api.StripeCustomerAppDataBase
}
type UpsertCustomerStripeAppDataResponse ¶
type UpsertCustomerStripeAppDataResponse = api.StripeCustomerAppData
Click to show internal directories.
Click to hide internal directories.