merchant.go 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. package gd_management
  4. type ManagementGetMerchantIdsReq struct {
  5. }
  6. type MerchantInfo struct {
  7. Id int64 `json:"id"`
  8. Name string `json:"name"`
  9. }
  10. type ManagementGetMerchantIdsReply struct {
  11. Infos []MerchantInfo `json:"infos"`
  12. }
  13. type ManagementGetMerchantApiIdReq struct {
  14. MerchantChildApiId int64 `json:"merchant_child_api_id"`
  15. }
  16. type ManagementGetMerchantApiIdReply struct {
  17. MerchantDataApiId int64 `json:"merchant_data_api_id"`
  18. }
  19. type ProviderCountInfo struct {
  20. ProviderApiId int64 `json:"provider_api_id"`
  21. CountType int `json:"count_type"`
  22. CountKey string `json:"count_key"`
  23. CountValue string `json:"count_value"`
  24. ProviderName string `json:"provider_name"`
  25. ProviderApiName string `json:"provider_api_name"`
  26. }
  27. type ManagementGetProviderCountInfoReq struct {
  28. }
  29. type ManagementGetProviderCountInfoReply struct {
  30. Infos []ProviderCountInfo `json:"infos"`
  31. }
  32. type ManagementGetProviderIdsReq struct {
  33. }
  34. type ProviderIds struct {
  35. ProviderName string `json:"provider_name"`
  36. ProviderId int64 `json:"provider_api_id"`
  37. }
  38. type ManagementGetProviderIdsReply struct {
  39. Infos []ProviderIds `json:"infos"`
  40. }
  41. type BaseApiShowInfo struct {
  42. ApiId int64 `json:"api_id"`
  43. IsShow bool `json:"is_show"`
  44. }
  45. type ManagementGetApiShowInfoReq struct {
  46. }
  47. type ManagementGetApiShowInfoReply struct {
  48. Infos []BaseApiShowInfo `json:"infos"`
  49. }
  50. type ManagementGetMerchantApiTimeoutReq struct {
  51. }
  52. type MerchantApiTimeoutInfo struct {
  53. MerchantDataApiId int64 `json:"merchant_data_api_id"`
  54. ApiId int64 `json:"api_id"`
  55. Timeout int `json:"timeout"`
  56. }
  57. type ManagementGetMerchantApiTimeoutReply struct {
  58. Infos []MerchantApiTimeoutInfo `json:"infos"`
  59. }