蛋蛋星球-制度模式
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

215 строки
9.1 KiB

  1. package alipay
  2. type KoubeiTradeOrderAggregateConsultRsp struct {
  3. Response *KoubeiTradeOrderAggregateConsult `json:"koubei_trade_order_aggregate_consult_response"`
  4. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  5. SignData string `json:"-"`
  6. Sign string `json:"sign"`
  7. }
  8. type KoubeiTradeOrderPrecreateRsp struct {
  9. Response *KoubeiTradeOrderPrecreate `json:"koubei_trade_order_precreate_response"`
  10. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  11. SignData string `json:"-"`
  12. Sign string `json:"sign"`
  13. }
  14. type KoubeiTradeItemorderBuyRsp struct {
  15. Response *TradeItemorderBuy `json:"koubei_trade_itemorder_buy_response"`
  16. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  17. SignData string `json:"-"`
  18. Sign string `json:"sign"`
  19. }
  20. type KoubeiTradeOrderConsultRsp struct {
  21. Response *KoubeiTradeOrderConsult `json:"koubei_trade_order_consult_response"`
  22. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  23. SignData string `json:"-"`
  24. Sign string `json:"sign"`
  25. }
  26. type KoubeiTradeItemorderRefundRsp struct {
  27. Response *KoubeiTradeItemorderRefund `json:"koubei_trade_itemorder_refund_response"`
  28. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  29. SignData string `json:"-"`
  30. Sign string `json:"sign"`
  31. }
  32. type KoubeiTradeItemorderQueryRsp struct {
  33. Response *KoubeiTradeItemorderQuery `json:"koubei_trade_itemorder_query_response"`
  34. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  35. SignData string `json:"-"`
  36. Sign string `json:"sign"`
  37. }
  38. type KoubeiTradeTicketTicketcodeSendRsp struct {
  39. Response *KoubeiTradeTicketTicketcodeSend `json:"koubei_trade_ticket_ticketcode_send_response"`
  40. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  41. SignData string `json:"-"`
  42. Sign string `json:"sign"`
  43. }
  44. type KoubeiTradeTicketTicketcodeDelayRsp struct {
  45. Response *KoubeiTradeTicketTicketcodeDelay `json:"koubei_trade_ticket_ticketcode_delay_response"`
  46. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  47. SignData string `json:"-"`
  48. Sign string `json:"sign"`
  49. }
  50. type KoubeiTradeTicketTicketcodeQueryRsp struct {
  51. Response *KoubeiTradeTicketTicketcodeQuery `json:"koubei_trade_ticket_ticketcode_query_response"`
  52. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  53. SignData string `json:"-"`
  54. Sign string `json:"sign"`
  55. }
  56. type KoubeiTradeTicketTicketcodeCancelRsp struct {
  57. Response *KoubeiTradeTicketTicketcodeCancel `json:"koubei_trade_ticket_ticketcode_cancel_response"`
  58. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  59. SignData string `json:"-"`
  60. Sign string `json:"sign"`
  61. }
  62. // =========================================================分割=========================================================
  63. type KoubeiTradeOrderAggregateConsult struct {
  64. ErrorResponse
  65. OutOrderNo string `json:"out_order_no,omitempty"`
  66. OrderNo string `json:"order_no,omitempty"`
  67. TradeNo string `json:"trade_no,omitempty"`
  68. BuyerId string `json:"buyer_id,omitempty"`
  69. BuyerIdType string `json:"buyer_id_type,omitempty"`
  70. TotalAmount string `json:"total_amount,omitempty"`
  71. ReceiptAmount string `json:"receipt_amount,omitempty"`
  72. BuyerPayAmount string `json:"buyer_pay_amount,omitempty"`
  73. MerchantDiscountAmount string `json:"merchant_discount_amount,omitempty"`
  74. PlatformDiscountAmount string `json:"platform_discount_amount,omitempty"`
  75. DiscountDetailList []*DiscountDetailInfo `json:"discount_detail_list,omitempty"`
  76. OrderStatus string `json:"order_status,omitempty"`
  77. PayChannel string `json:"pay_channel,omitempty"`
  78. CreateTime string `json:"create_time"`
  79. GmtPaymentTime string `json:"gmt_payment_time,omitempty"`
  80. }
  81. type DiscountDetailInfo struct {
  82. Id string `json:"id,omitempty"`
  83. Name string `json:"name,omitempty"`
  84. Type string `json:"type,omitempty"`
  85. Amount string `json:"amount,omitempty"`
  86. }
  87. type KoubeiTradeOrderPrecreate struct {
  88. ErrorResponse
  89. OrderNo string `json:"order_no"`
  90. QrCode string `json:"qr_code,omitempty"`
  91. }
  92. type TradeItemorderBuy struct {
  93. ErrorResponse
  94. OrderNo string `json:"order_no"`
  95. TradeNo string `json:"trade_no"`
  96. CashierOrderId string `json:"cashier_order_id,omitempty"`
  97. }
  98. type KoubeiTradeOrderConsult struct {
  99. ErrorResponse
  100. BuyerPayAmount string `json:"buyer_pay_amount"`
  101. RequestId string `json:"request_id,omitempty"`
  102. MCardDetail *struct {
  103. Name string `json:"name"`
  104. AvailableAmount string `json:"available_amount"`
  105. PayAmount string `json:"pay_amount"`
  106. } `json:"m_card_detail,omitempty"`
  107. DiscountDetail *struct {
  108. Id string `json:"id"`
  109. DiscountDesc []string `json:"discount_desc,omitempty"`
  110. DiscountType string `json:"discount_type"`
  111. IsHit string `json:"is_hit"`
  112. IsPurchased string `json:"is_purchased"`
  113. Name string `json:"name"`
  114. DiscountAmount string `json:"discount_amount,omitempty"`
  115. } `json:"discount_detail,omitempty"`
  116. }
  117. type KoubeiTradeItemorderRefund struct {
  118. ErrorResponse
  119. OrderNo string `json:"order_no"`
  120. OutRequestNo string `json:"out_request_no"`
  121. RealRefundAmount string `json:"real_refund_amount"`
  122. }
  123. type KoubeiTradeItemorderQuery struct {
  124. ErrorResponse
  125. OrderNo string `json:"order_no"`
  126. OutOrderNo string `json:"out_order_no"`
  127. PartnerID string `json:"partner_id"`
  128. TradeNo string `json:"trade_no"`
  129. Status string `json:"status"`
  130. BuyerID string `json:"buyer_id"`
  131. BizProduct string `json:"biz_product"`
  132. GmtCreate string `json:"gmt_create"`
  133. SellerID string `json:"seller_id,omitempty"`
  134. GmtPayment string `json:"gmt_payment,omitempty"`
  135. GmtModified string `json:"gmt_modified"`
  136. TotalAmount string `json:"total_amount"`
  137. RealPayAmount string `json:"real_pay_amount"`
  138. DiscountAmount string `json:"discount_amount,omitempty"`
  139. DeliverSellerRealAmount string `json:"deliver_seller_real_amount"`
  140. ItemOrderVo []*struct {
  141. ItemOrderNo string `json:"item_order_no"`
  142. SkuID string `json:"sku_id"`
  143. Quantity int `json:"quantity"`
  144. Price string `json:"price"`
  145. Status string `json:"status"`
  146. MerchantFund string `json:"merchant_fund,omitempty"`
  147. PlatformFund string `json:"platform_fund,omitempty"`
  148. ExtInfo string `json:"ext_info,omitempty"`
  149. } `json:"item_order_vo"`
  150. }
  151. type KoubeiTradeTicketTicketcodeSend struct {
  152. ErrorResponse
  153. RequestId string `json:"request_id"`
  154. BizCode string `json:"biz_code,omitempty"`
  155. }
  156. type KoubeiTradeTicketTicketcodeDelay struct {
  157. ErrorResponse
  158. RequestId string `json:"request_id"`
  159. BizCode string `json:"biz_code,omitempty"`
  160. }
  161. type KoubeiTradeTicketTicketcodeQuery struct {
  162. ErrorResponse
  163. TicketCode string `json:"ticket_code"`
  164. TicketStatus string `json:"ticket_status"`
  165. TicketStatusDesc string `json:"ticket_status_desc"`
  166. ItemName string `json:"item_name"`
  167. ItemID string `json:"item_id"`
  168. OriginalPrice string `json:"original_price"`
  169. CurrentPrice string `json:"current_price"`
  170. EffectDate string `json:"effect_date"`
  171. ExpireDate string `json:"expire_date"`
  172. VoucherID string `json:"voucher_id"`
  173. OrderNo string `json:"order_no"`
  174. AvailableQuantity string `json:"available_quantity,omitempty"`
  175. TotalQuantity string `json:"total_quantity,omitempty"`
  176. ItemAlias string `json:"item_alias,omitempty"`
  177. TimeCards string `json:"time_cards"`
  178. TicketTransInfoList []*TicketTransInfo `json:"ticket_trans_info_list,omitempty"`
  179. }
  180. type TicketTransInfo struct {
  181. TicketTransID string `json:"ticket_trans_id"`
  182. TicketTransType string `json:"ticket_trans_type"`
  183. CreateTime string `json:"create_time"`
  184. LastModifyTime string `json:"last_modify_time"`
  185. Quantity string `json:"quantity"`
  186. }
  187. type KoubeiTradeTicketTicketcodeCancel struct {
  188. ErrorResponse
  189. RequestId string `json:"request_id"`
  190. BizCode string `json:"biz_code,omitempty"`
  191. }