Documentation
¶
Index ¶
- type AppCreateReq
- type AppInfo
- type AppListResp
- type AppPageReq
- type AppUpdateReq
- type AppUpdateStatusReq
- type BaseIDResp
- type BaseMsg
- type BaseResp
- type BaseUUIDResp
- type ByAppIdAndCodeReq
- type ChannelCreateReq
- type ChannelInfo
- type ChannelListReq
- type ChannelListResp
- type ChannelUpdateReq
- type DemoOrderInfo
- type DemoOrderListResp
- type DemoOrderPageReq
- type Empty
- type IDReq
- type IDsReq
- type NoReq
- type NotifyOrderReq
- type OrderCreateExtensionReq
- type OrderCreateReq
- type OrderExtensionInfo
- type OrderInfo
- type OrderListResp
- type OrderPageReq
- type PageInfoReq
- type Pay
- type PayDemoOrderCreateReq
- type RefundCountResp
- type RefundCreateReq
- type RefundInfo
- type RefundListReq
- type RefundListResp
- type RefundPageReq
- type RefundPageResp
- type StringList
- type UUIDReq
- type UUIDsReq
- type UpdateDemoOrderPaidReq
- type ValidateChannelReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppCreateReq ¶
type AppCreateReq = pay.AppCreateReq
type AppListResp ¶
type AppListResp = pay.AppListResp
type AppPageReq ¶
type AppPageReq = pay.AppPageReq
type AppUpdateReq ¶
type AppUpdateReq = pay.AppUpdateReq
type AppUpdateStatusReq ¶
type AppUpdateStatusReq = pay.AppUpdateStatusReq
type BaseIDResp ¶
type BaseIDResp = pay.BaseIDResp
type BaseUUIDResp ¶
type BaseUUIDResp = pay.BaseUUIDResp
type ByAppIdAndCodeReq ¶
type ByAppIdAndCodeReq = pay.ByAppIdAndCodeReq
type ChannelCreateReq ¶
type ChannelCreateReq = pay.ChannelCreateReq
type ChannelInfo ¶
type ChannelInfo = pay.ChannelInfo
type ChannelListReq ¶
type ChannelListReq = pay.ChannelListReq
type ChannelListResp ¶
type ChannelListResp = pay.ChannelListResp
type ChannelUpdateReq ¶
type ChannelUpdateReq = pay.ChannelUpdateReq
type DemoOrderInfo ¶
type DemoOrderInfo = pay.DemoOrderInfo
type DemoOrderListResp ¶
type DemoOrderListResp = pay.DemoOrderListResp
type DemoOrderPageReq ¶
type DemoOrderPageReq = pay.DemoOrderPageReq
type NotifyOrderReq ¶
type NotifyOrderReq = pay.NotifyOrderReq
type OrderCreateExtensionReq ¶
type OrderCreateExtensionReq = pay.OrderCreateExtensionReq
type OrderCreateReq ¶
type OrderCreateReq = pay.OrderCreateReq
type OrderExtensionInfo ¶
type OrderExtensionInfo = pay.OrderExtensionInfo
type OrderListResp ¶
type OrderListResp = pay.OrderListResp
type OrderPageReq ¶
type OrderPageReq = pay.OrderPageReq
type PageInfoReq ¶
type PageInfoReq = pay.PageInfoReq
type Pay ¶
type Pay interface {
// App management
CreateApp(ctx context.Context, in *AppCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
UpdateApp(ctx context.Context, in *AppUpdateReq, opts ...grpc.CallOption) (*BaseResp, error)
UpdateAppStatus(ctx context.Context, in *AppUpdateStatusReq, opts ...grpc.CallOption) (*BaseResp, error)
DeleteApp(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
GetApp(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*AppInfo, error)
GetAppList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*AppListResp, error)
GetAppPage(ctx context.Context, in *AppPageReq, opts ...grpc.CallOption) (*AppListResp, error)
InitDatabase(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*BaseResp, error)
// Channel management
CreateChannel(ctx context.Context, in *ChannelCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
UpdateChannel(ctx context.Context, in *ChannelUpdateReq, opts ...grpc.CallOption) (*BaseResp, error)
DeleteChannel(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*BaseResp, error)
GetChannelById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ChannelInfo, error)
GetChannelListByAppIds(ctx context.Context, in *IDsReq, opts ...grpc.CallOption) (*ChannelListResp, error)
GetChannelListByAppIdAndCode(ctx context.Context, in *ByAppIdAndCodeReq, opts ...grpc.CallOption) (*ChannelInfo, error)
GetEnableChannelList(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*ChannelListResp, error)
ValidateChannelCanSubmit(ctx context.Context, in *ValidateChannelReq, opts ...grpc.CallOption) (*ChannelInfo, error)
// Demo management
CreateDemoOrder(ctx context.Context, in *PayDemoOrderCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
GetDemoOrder(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*DemoOrderInfo, error)
GetListDemoOrder(ctx context.Context, in *DemoOrderPageReq, opts ...grpc.CallOption) (*DemoOrderListResp, error)
UpdateDemoOrderPaid(ctx context.Context, in *UpdateDemoOrderPaidReq, opts ...grpc.CallOption) (*BaseResp, error)
// Order management
CreateOrder(ctx context.Context, in *OrderCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
GetOrder(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderInfo, error)
GetOrderPage(ctx context.Context, in *OrderPageReq, opts ...grpc.CallOption) (*OrderListResp, error)
CreateOrderExtension(ctx context.Context, in *OrderCreateExtensionReq, opts ...grpc.CallOption) (*BaseIDResp, error)
GetOrderExtension(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderExtensionInfo, error)
NotifyOrder(ctx context.Context, in *NotifyOrderReq, opts ...grpc.CallOption) (*BaseResp, error)
ValidateOrderCanSubmit(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*OrderInfo, error)
// refund management
CreateRefund(ctx context.Context, in *RefundCreateReq, opts ...grpc.CallOption) (*BaseIDResp, error)
GetRefundPage(ctx context.Context, in *RefundPageReq, opts ...grpc.CallOption) (*RefundPageResp, error)
GetRefundById(ctx context.Context, in *IDReq, opts ...grpc.CallOption) (*RefundInfo, error)
}
type PayDemoOrderCreateReq ¶
type PayDemoOrderCreateReq = pay.PayDemoOrderCreateReq
type RefundCountResp ¶
type RefundCountResp = pay.RefundCountResp
type RefundCreateReq ¶
type RefundCreateReq = pay.RefundCreateReq
type RefundInfo ¶
type RefundInfo = pay.RefundInfo
type RefundListReq ¶
type RefundListReq = pay.RefundListReq
type RefundListResp ¶
type RefundListResp = pay.RefundListResp
type RefundPageReq ¶
type RefundPageReq = pay.RefundPageReq
type RefundPageResp ¶
type RefundPageResp = pay.RefundPageResp
type StringList ¶
type StringList = pay.StringList
type UpdateDemoOrderPaidReq ¶
type UpdateDemoOrderPaidReq = pay.UpdateDemoOrderPaidReq
type ValidateChannelReq ¶
type ValidateChannelReq = pay.ValidateChannelReq
Click to show internal directories.
Click to hide internal directories.