Documentation ¶
Overview ¶
@openapi 3.0.0
Index ¶
- func AuthorizeMe(s *service.Services) gin.HandlerFunc
- func GetInvoicePaymentLink(services *service.Services) gin.HandlerFunc
- func RedirectToPayInvoice(services *service.Services) gin.HandlerFunc
- func SendError(c *gin.Context, span opentracing.Span, httpStatusCode int, ...)
- func ValidateAndOpenCsvFile(c *gin.Context, span opentracing.Span) (multipart.File, error)
- func ValidateTenant(c *gin.Context, ctx context.Context, span opentracing.Span) string
- type ApiRequestCreatePaymentLinks
- type ApiRequestCreatePaymentLinksInput
- type MeResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthorizeMe ¶
func AuthorizeMe(s *service.Services) gin.HandlerFunc
func GetInvoicePaymentLink ¶
func GetInvoicePaymentLink(services *service.Services) gin.HandlerFunc
func RedirectToPayInvoice ¶
func RedirectToPayInvoice(services *service.Services) gin.HandlerFunc
func SendError ¶
func SendError(c *gin.Context, span opentracing.Span, httpStatusCode int, err *enum.ErrorResponse)
func ValidateAndOpenCsvFile ¶
Types ¶
type ApiRequestCreatePaymentLinks ¶
type ApiRequestCreatePaymentLinks struct {
Input ApiRequestCreatePaymentLinksInput `json:"input"`
}
type ApiRequestCreatePaymentLinksInput ¶
type ApiRequestCreatePaymentLinksInput struct { InvoiceId string `json:"invoiceId"` AmountInSmallestCurrencyUnit int64 `json:"amountInSmallestCurrencyUnit"` Currency string `json:"currency"` InvoiceDescription string `json:"invoiceDescription"` CustomerEmail string `json:"customerEmail"` PrimaryStripeCustomerId string `json:"stripeCustomerId"` }
type MeResponse ¶
type MeResponse struct { enum.BaseResponse Tenant string `json:"tenant"` }
Directories ¶
Path | Synopsis |
---|---|
@openapi 3.0.0
|
@openapi 3.0.0 |
@openapi 3.0.0
|
@openapi 3.0.0 |
@openapi 3.0.0
|
@openapi 3.0.0 |
@openapi 3.0.0
|
@openapi 3.0.0 |
@openapi 3.0.0
|
@openapi 3.0.0 |
@openapi 3.0.0
|
@openapi 3.0.0 |
Click to show internal directories.
Click to hide internal directories.