Documentation ¶
Index ¶
- func ProviderHandlers(initial config.Initial, srv common.Services, validator *validator.Validate, ...) (common.Handlers, func(), error)
- type CountryRoute
- type CreateOrderJsonProjectResponse
- type CustomerRoute
- type ListOrdersRequest
- type OrderRoute
- type PaymentRoute
- type ReCreateOrderRequest
- type RecurringRoute
- type RedirectResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CountryRoute ¶
func NewCountryRoute ¶
func NewCountryRoute(set common.HandlerSet, cfg *common.Config) *CountryRoute
func (*CountryRoute) Route ¶
func (h *CountryRoute) Route(groups *common.Groups)
type CustomerRoute ¶ added in v1.2.0
func NewCustomerRoute ¶ added in v1.2.0
func NewCustomerRoute(set common.HandlerSet, cfg *common.Config) *CustomerRoute
func (*CustomerRoute) Route ¶ added in v1.2.0
func (h *CustomerRoute) Route(groups *common.Groups)
type ListOrdersRequest ¶
type ListOrdersRequest struct { MerchantId string `json:"merchant_id" validate:"required,hexadecimal,len=24"` FileType string `json:"file_type" validate:"required"` Template string `json:"template" validate:"omitempty,hexadecimal"` Id string `json:"id" validate:"omitempty,uuid"` Project []string `json:"project" validate:"omitempty,dive,hexadecimal,len=24"` PaymentMethod []string `json:"payment_method" validate:"omitempty,dive,hexadecimal,len=24"` Country []string `json:"country" validate:"omitempty,dive,alpha,len=2"` Status []string `json:"status," validate:"omitempty,dive,alpha,oneof=created processed canceled rejected refunded chargeback pending"` PmDateFrom int64 `json:"pm_date_from" validate:"omitempty,numeric,gt=0"` PmDateTo int64 `json:"pm_date_to" validate:"omitempty,numeric,gt=0"` }
type OrderRoute ¶
func NewOrderRoute ¶
func NewOrderRoute(set common.HandlerSet, cfg *common.Config) *OrderRoute
func (*OrderRoute) Route ¶
func (h *OrderRoute) Route(groups *common.Groups)
type PaymentRoute ¶
func NewPaymentRoute ¶
func NewPaymentRoute(set common.HandlerSet, cfg *common.Config) *PaymentRoute
func (*PaymentRoute) Route ¶
func (h *PaymentRoute) Route(groups *common.Groups)
type ReCreateOrderRequest ¶ added in v1.1.0
type ReCreateOrderRequest struct { // The unique identifier for the order. Id string `json:"order_id"` }
type RecurringRoute ¶
func NewRecurringRoute ¶
func NewRecurringRoute(set common.HandlerSet, cfg *common.Config) *RecurringRoute
func (*RecurringRoute) Route ¶
func (h *RecurringRoute) Route(groups *common.Groups)
type RedirectResponse ¶ added in v1.1.0
Click to show internal directories.
Click to hide internal directories.