Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ToAPIAppPagePaginatedResponse func(source response.PagePaginationResponse[api.BillingApp]) api.AppPagePaginatedResponse ToAPIBillingAppCatalogItem func(source app.MarketplaceListing) (api.BillingAppCatalogItem, error) // goverter:enum:map AppTypeStripe BillingAppTypeStripe // goverter:enum:map AppTypeSandbox BillingAppTypeSandbox // goverter:enum:map AppTypeCustomInvoicing BillingAppTypeExternalInvoicing ToAPIBillingAppTypeFromDomain func(source app.AppType) (api.BillingAppType, error) ToAPIBillingApps func(source []app.App) ([]api.BillingApp, error) )
goverter:variables goverter:skipCopySameType goverter:output:file ./convert.gen.go goverter:useZeroValueOnPointerInconsistency goverter:useUnderlyingTypeMethods goverter:matchIgnoreCase goverter:extend IntToFloat32 goverter:extend ToAPIBillingApp goverter:enum:unknown @error
Functions ¶
func IntToFloat32 ¶
func ToAPIBillingApp ¶
func ToAPIBillingApp(item app.App) (api.BillingApp, error)
ToAPIBillingApp maps an app to a v3 API app
Types ¶
type GetAppHandler ¶
type GetAppHandler httptransport.HandlerWithArgs[GetAppRequest, GetAppResponse, string]
GetAppHandler is a handler to get an app by id
type GetAppRequest ¶
type GetAppRequest = app.GetAppInput
GetAppHandler is a handler to get an app by id
type GetAppResponse ¶
type GetAppResponse = api.BillingApp
GetAppHandler is a handler to get an app by id
type Handler ¶
type Handler interface {
// App handlers
ListApps() ListAppsHandler
GetApp() GetAppHandler
}
type ListAppsHandler ¶
type ListAppsHandler httptransport.HandlerWithArgs[ListAppsRequest, ListAppsResponse, ListAppsParams]
ListAppsHandler is a handler for listing apps
type ListAppsParams ¶
type ListAppsParams = api.ListAppsParams
ListAppsHandler is a handler for listing apps
type ListAppsRequest ¶
type ListAppsRequest = app.ListAppInput
ListAppsHandler is a handler for listing apps
type ListAppsResponse ¶
type ListAppsResponse = api.AppPagePaginatedResponse
ListAppsHandler is a handler for listing apps
Click to show internal directories.
Click to hide internal directories.