payment

package
v1.15.10 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePaymentMethodHandler

func CreatePaymentMethodHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

CreatePaymentMethodHandler documents Create Payment Method.

@Summary Create Payment Method @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.CreatePaymentMethodRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.PaymentConfig} @Router /v1/admin/payment/ [post]

func DeletePaymentMethodHandler

func DeletePaymentMethodHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

DeletePaymentMethodHandler documents Delete Payment Method.

@Summary Delete Payment Method @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.DeletePaymentMethodRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/payment/ [delete]

func GetPaymentMethodListHandler

func GetPaymentMethodListHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetPaymentMethodListHandler documents Get Payment Method List.

@Summary Get Payment Method List @Tags admin @Accept json @Produce json @Security BearerAuth @Param request query dto.GetPaymentMethodListRequest false "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.GetPaymentMethodListResponse} @Router /v1/admin/payment/list [get]

func GetPaymentPlatformHandler

func GetPaymentPlatformHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetPaymentPlatformHandler documents Get supported payment platform.

@Summary Get supported payment platform @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.PlatformResponse} @Router /v1/admin/payment/platform [get]

func UpdatePaymentMethodHandler

func UpdatePaymentMethodHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdatePaymentMethodHandler documents Update Payment Method.

@Summary Update Payment Method @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.UpdatePaymentMethodRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean{data=dto.PaymentConfig} @Router /v1/admin/payment/ [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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