蛋蛋星球-制度模式
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1118 lines
44 KiB

  1. package alipay
  2. type MarketingCampaignCashCreateRsp struct {
  3. Response *MarketingCampaignCashCreate `json:"alipay_marketing_campaign_cash_create_response"`
  4. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  5. SignData string `json:"-"`
  6. Sign string `json:"sign"`
  7. }
  8. type MarketingCampaignCashTriggerRsp struct {
  9. Response *MarketingCampaignCashTrigger `json:"alipay_marketing_campaign_cash_trigger_response"`
  10. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  11. SignData string `json:"-"`
  12. Sign string `json:"sign"`
  13. }
  14. type MarketingCampaignCashStatusModifyRsp struct {
  15. Response *MarketingCampaignCashStatusModify `json:"alipay_marketing_campaign_cash_status_modify_response"`
  16. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  17. SignData string `json:"-"`
  18. Sign string `json:"sign"`
  19. }
  20. type MarketingCampaignCashListQueryRsp struct {
  21. Response *MarketingCampaignCashListQuery `json:"alipay_marketing_campaign_cash_list_query_response"`
  22. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  23. SignData string `json:"-"`
  24. Sign string `json:"sign"`
  25. }
  26. type MarketingCampaignCashDetailQueryRsp struct {
  27. Response *MarketingCampaignCashDetailQuery `json:"alipay_marketing_campaign_cash_detail_query_response"`
  28. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  29. SignData string `json:"-"`
  30. Sign string `json:"sign"`
  31. }
  32. type MarketingActivityDeliveryStopRsp struct {
  33. Response *MarketingActivityDeliveryStop `json:"alipay_marketing_activity_delivery_stop_response"`
  34. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  35. SignData string `json:"-"`
  36. Sign string `json:"sign"`
  37. }
  38. type MarketingActivityDeliveryQueryRsp struct {
  39. Response *MarketingActivityDeliveryQuery `json:"alipay_marketing_activity_delivery_query_response"`
  40. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  41. SignData string `json:"-"`
  42. Sign string `json:"sign"`
  43. }
  44. type MarketingActivityDeliveryCreateRsp struct {
  45. Response *MarketingActivityDeliveryCreate `json:"alipay_marketing_activity_delivery_create_response"`
  46. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  47. SignData string `json:"-"`
  48. Sign string `json:"sign"`
  49. }
  50. type MarketingMaterialImageUploadRsp struct {
  51. Response *MarketingMaterialImageUpload `json:"alipay_marketing_material_image_upload_response"`
  52. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  53. SignData string `json:"-"`
  54. Sign string `json:"sign"`
  55. }
  56. type MarketingActivityVoucherCreateRsp struct {
  57. Response *MarketingActivityVoucherCreate `json:"alipay_marketing_activity_voucher_create_response"`
  58. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  59. SignData string `json:"-"`
  60. Sign string `json:"sign"`
  61. }
  62. type MarketingActivityVoucherPublishRsp struct {
  63. Response *MarketingActivityVoucherPublish `json:"alipay_marketing_activity_voucher_publish_response"`
  64. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  65. SignData string `json:"-"`
  66. Sign string `json:"sign"`
  67. }
  68. type MarketingActivityVoucherQueryRsp struct {
  69. Response *MarketingActivityVoucherQuery `json:"alipay_marketing_activity_voucher_query_response"`
  70. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  71. SignData string `json:"-"`
  72. Sign string `json:"sign"`
  73. }
  74. type MarketingActivityVoucherModifyRsp struct {
  75. Response *MarketingActivityVoucherModify `json:"alipay_marketing_activity_voucher_modify_response"`
  76. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  77. SignData string `json:"-"`
  78. Sign string `json:"sign"`
  79. }
  80. type MarketingActivityVoucherAppendRsp struct {
  81. Response *MarketingActivityVoucherAppend `json:"alipay_marketing_activity_voucher_append_response"`
  82. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  83. SignData string `json:"-"`
  84. Sign string `json:"sign"`
  85. }
  86. type MarketingActivityVoucherStopRsp struct {
  87. Response *MarketingActivityVoucherStop `json:"alipay_marketing_activity_voucher_stop_response"`
  88. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  89. SignData string `json:"-"`
  90. Sign string `json:"sign"`
  91. }
  92. type MarketingActivityBatchQueryRsp struct {
  93. Response *MarketingActivityBatchQuery `json:"alipay_marketing_activity_batchquery_response"`
  94. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  95. SignData string `json:"-"`
  96. Sign string `json:"sign"`
  97. }
  98. type MarketingActivityConsultRsp struct {
  99. Response *MarketingActivityConsult `json:"alipay_marketing_activity_consult_response"`
  100. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  101. SignData string `json:"-"`
  102. Sign string `json:"sign"`
  103. }
  104. type MarketingActivityQueryRsp struct {
  105. Response *MarketingActivityQuery `json:"alipay_marketing_activity_query_response"`
  106. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  107. SignData string `json:"-"`
  108. Sign string `json:"sign"`
  109. }
  110. type MarketingActivityQueryMerchantBatchQueryRsp struct {
  111. Response *MarketingActivityQueryMerchantBatchQuery `json:"alipay_marketing_activity_merchant_batchquery_response"`
  112. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  113. SignData string `json:"-"`
  114. Sign string `json:"sign"`
  115. }
  116. type MarketingActivityQueryAppBatchQueryRsp struct {
  117. Response *MarketingActivityQueryAppBatchQuery `json:"alipay_marketing_activity_app_batchquery_response"`
  118. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  119. SignData string `json:"-"`
  120. Sign string `json:"sign"`
  121. }
  122. type MarketingActivityQueryShopBatchQueryRsp struct {
  123. Response *MarketingActivityQueryShopBatchQuery `json:"alipay_marketing_activity_shop_batchquery_response"`
  124. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  125. SignData string `json:"-"`
  126. Sign string `json:"sign"`
  127. }
  128. type MarketingActivityQueryGoodsBatchQueryRsp struct {
  129. Response *MarketingActivityQueryGoodsBatchQuery `json:"alipay_marketing_activity_goods_batchquery_response"`
  130. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  131. SignData string `json:"-"`
  132. Sign string `json:"sign"`
  133. }
  134. type MarketingActivityQueryUserBatchQueryVoucherRsp struct {
  135. Response *MarketingActivityQueryUserBatchQueryVoucher `json:"alipay_marketing_activity_user_batchqueryvoucher_response"`
  136. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  137. SignData string `json:"-"`
  138. Sign string `json:"sign"`
  139. }
  140. type MarketingActivityQueryUserQueryVoucherRsp struct {
  141. Response *MarketingActivityQueryUserQueryVoucher `json:"alipay_marketing_activity_user_queryvoucher_response"`
  142. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  143. SignData string `json:"-"`
  144. Sign string `json:"sign"`
  145. }
  146. type MarketingCampaignOrderVoucherConsultRsp struct {
  147. Response *MarketingCampaignOrderVoucherConsult `json:"alipay_marketing_campaign_order_voucher_consult_response"`
  148. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  149. SignData string `json:"-"`
  150. Sign string `json:"sign"`
  151. }
  152. type MarketingActivityOrderVoucherCreateRsp struct {
  153. Response *MarketingActivityOrderVoucherCreate `json:"alipay_marketing_activity_ordervoucher_create_response"`
  154. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  155. SignData string `json:"-"`
  156. Sign string `json:"sign"`
  157. }
  158. type MarketingActivityOrderVoucherCodeDepositRsp struct {
  159. Response *MarketingActivityOrderVoucherCodeDeposit `json:"alipay_marketing_activity_ordervoucher_codedeposit_response"`
  160. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  161. SignData string `json:"-"`
  162. Sign string `json:"sign"`
  163. }
  164. type MarketingActivityOrderVoucherModifyRsp struct {
  165. Response *MarketingActivityOrderVoucherModify `json:"alipay_marketing_activity_ordervoucher_modify_response"`
  166. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  167. SignData string `json:"-"`
  168. Sign string `json:"sign"`
  169. }
  170. type MarketingActivityOrderVoucherStopRsp struct {
  171. Response *MarketingActivityOrderVoucherStop `json:"alipay_marketing_activity_ordervoucher_stop_response"`
  172. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  173. SignData string `json:"-"`
  174. Sign string `json:"sign"`
  175. }
  176. type MarketingActivityOrderVoucherAppendRsp struct {
  177. Response *MarketingActivityOrderVoucherAppend `json:"alipay_marketing_activity_ordervoucher_append_response"`
  178. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  179. SignData string `json:"-"`
  180. Sign string `json:"sign"`
  181. }
  182. type MarketingActivityOrderVoucherUseRsp struct {
  183. Response *MarketingActivityOrderVoucherUse `json:"alipay_marketing_activity_ordervoucher_use_response"`
  184. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  185. SignData string `json:"-"`
  186. Sign string `json:"sign"`
  187. }
  188. type MarketingActivityOrderVoucherRefundRsp struct {
  189. Response *MarketingActivityOrderVoucherRefund `json:"alipay_marketing_activity_ordervoucher_refund_response"`
  190. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  191. SignData string `json:"-"`
  192. Sign string `json:"sign"`
  193. }
  194. type MarketingActivityOrderVoucherQueryRsp struct {
  195. Response *MarketingActivityOrderVoucherQuery `json:"alipay_marketing_activity_ordervoucher_query_response"`
  196. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  197. SignData string `json:"-"`
  198. Sign string `json:"sign"`
  199. }
  200. type MarketingActivityOrderVoucherCodeCountRsp struct {
  201. Response *MarketingActivityOrderVoucherCodeCount `json:"alipay_marketing_activity_ordervoucher_codecount_response"`
  202. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  203. SignData string `json:"-"`
  204. Sign string `json:"sign"`
  205. }
  206. type MarketingCardTemplateCreateRsp struct {
  207. Response *MarketingCardTemplateCreate `json:"alipay_marketing_card_template_create_response"`
  208. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  209. SignData string `json:"-"`
  210. Sign string `json:"sign"`
  211. }
  212. type MarketingCardTemplateModifyRsp struct {
  213. Response *MarketingCardTemplateModify `json:"alipay_marketing_card_template_modify_response"`
  214. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  215. SignData string `json:"-"`
  216. Sign string `json:"sign"`
  217. }
  218. type MarketingCardTemplateQueryRsp struct {
  219. Response *MarketingCardTemplateQuery `json:"alipay_marketing_card_template_query_response"`
  220. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  221. SignData string `json:"-"`
  222. Sign string `json:"sign"`
  223. }
  224. type MarketingCardUpdateRsp struct {
  225. Response *MarketingCardUpdate `json:"alipay_marketing_card_update_response"`
  226. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  227. SignData string `json:"-"`
  228. Sign string `json:"sign"`
  229. }
  230. type MarketingCardQueryRsp struct {
  231. Response *MarketingCardQuery `json:"alipay_marketing_card_query_response"`
  232. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  233. SignData string `json:"-"`
  234. Sign string `json:"sign"`
  235. }
  236. type MarketingCardDeleteRsp struct {
  237. Response *MarketingCardDelete `json:"alipay_marketing_card_delete_response"`
  238. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  239. SignData string `json:"-"`
  240. Sign string `json:"sign"`
  241. }
  242. type MarketingCardMessageNotifyRsp struct {
  243. Response *MarketingCardMessageNotify `json:"alipay_marketing_card_message_notify_response"`
  244. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  245. SignData string `json:"-"`
  246. Sign string `json:"sign"`
  247. }
  248. type MarketingCardFormTemplateSetRsp struct {
  249. Response *MarketingCardFormTemplateSet `json:"alipay_marketing_card_formtemplate_set_response"`
  250. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  251. SignData string `json:"-"`
  252. Sign string `json:"sign"`
  253. }
  254. type OfflineMaterialImageUploadRsp struct {
  255. Response *OfflineMaterialImageUpload `json:"alipay_offline_material_image_upload_response"`
  256. AlipayCertSn string `json:"alipay_cert_sn,omitempty"`
  257. SignData string `json:"-"`
  258. Sign string `json:"sign"`
  259. }
  260. // =========================================================分割=========================================================
  261. type MarketingCampaignCashCreate struct {
  262. ErrorResponse
  263. CrowdNo string `json:"crowd_no"`
  264. PayURL string `json:"pay_url"`
  265. OriginCrowdNo string `json:"origin_crowd_no"`
  266. }
  267. type MarketingCampaignCashTrigger struct {
  268. ErrorResponse
  269. TriggerResult string `json:"trigger_result"`
  270. PrizeAmount string `json:"prize_amount"`
  271. RepeatTriggerFlag string `json:"repeat_trigger_flag"`
  272. PartnerId string `json:"partner_id"`
  273. ErrorMsg string `json:"error_msg"`
  274. CouponName string `json:"coupon_name"`
  275. PrizeMsg string `json:"prize_msg"`
  276. MerchantLogo string `json:"merchant_logo"`
  277. BizNo string `json:"biz_no"`
  278. OutBizNo string `json:"out_biz_no"`
  279. }
  280. type MarketingCampaignCashStatusModify struct {
  281. ErrorResponse
  282. }
  283. type MarketingCampaignCashListQuery struct {
  284. ErrorResponse
  285. PageSize string `json:"page_size"`
  286. CampList []CashCampaignInfo `json:"camp_list"`
  287. PageIndex string `json:"page_index"`
  288. TotalSize string `json:"total_size"`
  289. }
  290. type CashCampaignInfo struct {
  291. CrowdNo string `json:"crowd_no"`
  292. OriginCrowdNo string `json:"origin_crowd_no"`
  293. CampStatus string `json:"camp_status"`
  294. CouponName string `json:"coupon_name"`
  295. }
  296. type MarketingCampaignCashDetailQuery struct {
  297. ErrorResponse
  298. CrowdNo string `json:"crowd_no"`
  299. CouponName string `json:"coupon_name"`
  300. PrizeMsg string `json:"prize_msg"`
  301. PrizeType string `json:"prize_type"`
  302. StartTime string `json:"start_time"`
  303. EndTime string `json:"end_time"`
  304. TotalAmount float64 `json:"total_amount"`
  305. SendAmount float64 `json:"send_amount"`
  306. TotalNum int `json:"total_num"`
  307. TotalCount int `json:"total_count"`
  308. OriginCrowdNo string `json:"origin_crowd_no"`
  309. CampStatus string `json:"camp_status"`
  310. }
  311. type MarketingActivityDeliveryStop struct {
  312. ErrorResponse
  313. DeliveryId string `json:"delivery_id"`
  314. }
  315. type MarketingActivityDeliveryQuery struct {
  316. ErrorResponse
  317. DeliveryId string `json:"delivery_id"`
  318. DeliveryStatus string `json:"delivery_status"`
  319. DeliveryBoothCode string `json:"delivery_booth_code"`
  320. DeliveryErrorMsg string `json:"delivery_error_msg"`
  321. DeliveryBaseInfo *DeliveryBaseInfo `json:"delivery_base_info"`
  322. DeliveryPlayConfig *DeliveryPlayConfig `json:"delivery_play_config"`
  323. DeliveryTargetRule *DeliveryTargetRule `json:"delivery_target_rule"`
  324. }
  325. type DeliveryBaseInfo struct {
  326. DeliveryName string `json:"delivery_name"`
  327. DeliveryBeginTime string `json:"delivery_begin_time"`
  328. DeliveryEndTime string `json:"delivery_end_time"`
  329. }
  330. type DeliveryPlayConfig struct {
  331. DeliverySingleSendConfig *DeliverySingleSendConfig `json:"delivery_single_send_config"`
  332. DeliveryFullSendConfig *DeliveryFullSendConfig `json:"delivery_full_send_config"`
  333. }
  334. type DeliverySingleSendConfig struct {
  335. DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"`
  336. }
  337. type DeliveryFullSendConfig struct {
  338. DeliveryFloorAmount string `json:"delivery_floor_amount"`
  339. DeliveryContentInfo *DeliveryContentInfo `json:"delivery_content_info"`
  340. }
  341. type DeliveryContentInfo struct {
  342. DeliveryContentType string `json:"delivery_content_type"`
  343. DeliveryActivityContent *DeliveryActivityContent `json:"delivery_activity_content"`
  344. DeliveryAppContent *DeliveryAppContent `json:"delivery_app_content"`
  345. DeliveryDisplayInfo *DeliveryDisplayInfo `json:"delivery_display_info"`
  346. }
  347. type DeliveryActivityContent struct {
  348. ActivityId string `json:"activity_id"`
  349. }
  350. type DeliveryAppContent struct {
  351. MiniAppId string `json:"mini_app_id"`
  352. ServiceCodeList []string `json:"service_code_list"`
  353. MiniAppDeliveryType string `json:"mini_app_delivery_type"`
  354. }
  355. type DeliveryDisplayInfo struct {
  356. MainTitle string `json:"main_title"`
  357. SubTitle string `json:"sub_title"`
  358. }
  359. type DeliveryTargetRule struct {
  360. DeliveryMerchantRule *DeliveryMerchantRule `json:"delivery_merchant_rule"`
  361. DeliveryCityCodeRule *DeliveryCityCodeRule `json:"delivery_city_code_rule"`
  362. DeliveryPromoTags string `json:"delivery_promo_tags"`
  363. }
  364. type DeliveryMerchantRule struct {
  365. DeliveryMerchantMode string `json:"delivery_merchant_mode"`
  366. DeliveryMerchantInfos []*DeliveryMerchantInfo `json:"delivery_merchant_infos"`
  367. }
  368. type DeliveryMerchantInfo struct {
  369. MerchantIdType string `json:"merchant_id_type"`
  370. MerchantId string `json:"merchant_id"`
  371. }
  372. type DeliveryCityCodeRule struct {
  373. CityCodes []string `json:"city_codes"`
  374. AllCity bool `json:"all_city"`
  375. }
  376. type MarketingActivityDeliveryCreate struct {
  377. ErrorResponse
  378. DeliveryId string `json:"delivery_id"`
  379. }
  380. type MarketingMaterialImageUpload struct {
  381. ErrorResponse
  382. ResourceId string `json:"resource_id"`
  383. ResourceEnhance bool `json:"resource_enhance"`
  384. ResourceUrl string `json:"resource_url"`
  385. }
  386. type MarketingActivityVoucherCreate struct {
  387. ErrorResponse
  388. ActivityId string `json:"activity_id"`
  389. }
  390. type MarketingActivityVoucherPublish struct {
  391. ErrorResponse
  392. RechargeUrl string `json:"recharge_url"`
  393. }
  394. type MarketingActivityVoucherQuery struct {
  395. ErrorResponse
  396. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  397. VoucherSendModeInfo *VoucherSendModeInfo `json:"voucher_send_mode_info"`
  398. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  399. VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
  400. VoucherUseRuleInfo *VoucherUseRuleInfo `json:"voucher_use_rule_info"`
  401. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  402. VoucherCustomerGuideInfo *VoucherCustomerGuideInfo `json:"voucher_customer_guide_info"`
  403. VoucherBudgetSupplyInfo *VoucherBudgetSupplyInfo `json:"voucher_budget_supply_info"`
  404. VoucherInventoryInfo *VoucherInventoryInfo `json:"voucher_inventory_info"`
  405. }
  406. type ActivityBaseInfo struct {
  407. ActivityId string `json:"activity_id"`
  408. ActivityName string `json:"activity_name,omitempty"`
  409. BelongMerchantInfo *BelongMerchantInfo `json:"belong_merchant_info"`
  410. CodeMode string `json:"code_mode,omitempty"`
  411. ActivityOperationStatus string `json:"activity_operation_status,omitempty"`
  412. ActivityStatus string `json:"activity_status"`
  413. ActivityProductType string `json:"activity_product_type,omitempty"`
  414. }
  415. type BelongMerchantInfo struct {
  416. MerchantIdType string `json:"merchant_id_type"`
  417. MerchantId string `json:"merchant_id"`
  418. }
  419. type VoucherSendModeInfo struct {
  420. VoucherSendMode string `json:"voucher_send_mode"`
  421. VoucherSendRuleInfo *VoucherSendRuleInfo `json:"voucher_send_rule_info"`
  422. VoucherSaleModeInfo *VoucherSaleModeInfo `json:"voucher_sale_mode_info"`
  423. VoucherPackageModeInfo *VoucherPackageModeInfo `json:"voucher_package_mode_info"`
  424. }
  425. type VoucherSendRuleInfo struct {
  426. Quantity int `json:"quantity"`
  427. MaxQuantityByDay int `json:"max_quantity_by_day"`
  428. QuantityLimitPerUser int `json:"quantity_limit_per_user"`
  429. QuantityLimitPerUserPeriodType string `json:"quantity_limit_per_user_period_type"`
  430. NaturalPersonLimit bool `json:"natural_person_limit"`
  431. PhoneNumberLimit bool `json:"phone_number_limit"`
  432. RealNameLimit bool `json:"real_name_limit"`
  433. PublishStartTime string `json:"publish_start_time"`
  434. PublishEndTime string `json:"publish_end_time"`
  435. }
  436. type VoucherSaleModeInfo struct {
  437. SaleAmount string `json:"sale_amount"`
  438. Refundable bool `json:"refundable"`
  439. OverdueRefundable bool `json:"overdue_refundable"`
  440. }
  441. type VoucherPackageModeInfo struct {
  442. VoucherPackageId string `json:"voucher_package_id"`
  443. }
  444. type VoucherDeductInfo struct {
  445. VoucherType string `json:"voucher_type"`
  446. FixVoucherInfo *FixVoucherInfo `json:"fix_voucher_info"`
  447. DiscountVoucherInfo *DiscountVoucherInfo `json:"discount_voucher_info,omitempty"`
  448. SpecialVoucherInfo *SpecialVoucherInfo `json:"special_voucher_info,omitempty"`
  449. ExchangeVoucherInfo *ExchangeVoucherInfo `json:"exchange_voucher_info,omitempty"`
  450. }
  451. type FixVoucherInfo struct {
  452. Amount string `json:"amount"`
  453. FloorAmount string `json:"floor_amount"`
  454. }
  455. type DiscountVoucherInfo struct {
  456. Discount string `json:"discount"`
  457. CeilingAmount string `json:"ceiling_amount"`
  458. FloorAmount string `json:"floor_amount"`
  459. }
  460. type SpecialVoucherInfo struct {
  461. SpecialAmount string `json:"special_amount"`
  462. FloorAmount string `json:"floor_amount"`
  463. }
  464. type ExchangeVoucherInfo struct {
  465. Amount string `json:"amount"`
  466. FloorAmount string `json:"floor_amount"`
  467. BizType string `json:"biz_type"`
  468. }
  469. type VoucherAvailableScopeInfo struct {
  470. VoucherAvailableAccountInfo *VoucherAvailableAccountInfo `json:"voucher_available_account_info,omitempty"`
  471. VoucherAvailableAppInfo *VoucherAvailableAppInfo `json:"voucher_available_app_info,omitempty"`
  472. VoucherAvailableGeographyScopeInfo *VoucherAvailableGeographyScopeInfo `json:"voucher_available_geography_scope_info,omitempty"`
  473. VoucherAvailableGoodsInfo *VoucherAvailableGoodsInfo `json:"voucher_available_goods_info,omitempty"`
  474. }
  475. type VoucherAvailableAccountInfo struct {
  476. AvailablePids []string `json:"available_pids"`
  477. AvailableSmids []string `json:"available_smids"`
  478. }
  479. type VoucherAvailableAppInfo struct {
  480. AvailableAppIds []string `json:"available_app_ids"`
  481. }
  482. type VoucherAvailableGeographyScopeInfo struct {
  483. AvailableGeographyScopeType string `json:"available_geography_scope_type"`
  484. AvailableGeographyShopInfo *AvailableGeographyShopInfo `json:"available_geography_shop_info"`
  485. }
  486. type AvailableGeographyShopInfo struct {
  487. AvailableShopIds []string `json:"available_shop_ids"`
  488. }
  489. type VoucherAvailableGoodsInfo struct {
  490. GoodsName string `json:"goods_name"`
  491. GoodsDescription string `json:"goods_description,omitempty"`
  492. OriginAmount string `json:"origin_amount"`
  493. AvailableGoodsSkuIds []string `json:"available_goods_sku_ids,omitempty"`
  494. ExcludeGoodsSkuIds []string `json:"exclude_goods_sku_ids,omitempty"`
  495. }
  496. type VoucherUseRuleInfo struct {
  497. VoucherMaxUseTimes int `json:"voucher_max_use_times"`
  498. QuantityLimitPerUser int `json:"quantity_limit_per_user"`
  499. QuantityLimitPerUserPeriodType string `json:"quantity_limit_per_user_period_type"`
  500. VoucherUseTimeInfo *VoucherUseTimeInfo `json:"voucher_use_time_info"`
  501. }
  502. type VoucherUseTimeInfo struct {
  503. PeriodType string `json:"period_type"`
  504. AbsolutePeriodInfo *AbsolutePeriodInfo `json:"absolute_period_info"`
  505. RelativePeriodInfo *RelativePeriodInfo `json:"relative_period_info"`
  506. }
  507. type AbsolutePeriodInfo struct {
  508. ValidBeginTime string `json:"valid_begin_time"`
  509. ValidEndTime string `json:"valid_end_time"`
  510. TimeRestrictInfo *TimeRestrictInfo `json:"time_restrict_info"`
  511. }
  512. type TimeRestrictInfo struct {
  513. UsablePeriodInfo []*UsablePeriodInfoItem `json:"usable_period_info"`
  514. DisablePeriodInfo []*DisablePeriodInfoItem `json:"disable_period_info"`
  515. }
  516. type UsablePeriodInfoItem struct {
  517. RuleType string `json:"rule_type"`
  518. WeekRuleInfo *WeekRuleInfo `json:"week_rule_info"`
  519. }
  520. type WeekRuleInfo struct {
  521. WeekDay string `json:"week_day"`
  522. TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
  523. }
  524. type TimeRangeInfo struct {
  525. BeginTime string `json:"begin_time"`
  526. EndTimeInfo *EndTimeInfo `json:"end_time_info"`
  527. }
  528. type EndTimeInfo struct {
  529. EndTimeType string `json:"end_time_type"`
  530. EndTime string `json:"end_time"`
  531. }
  532. type DisablePeriodInfoItem struct {
  533. RuleType string `json:"rule_type"`
  534. DateRuleInfo *DateRuleInfo `json:"date_rule_info"`
  535. HolidayRuleInfo *HolidayRuleInfo `json:"holiday_rule_info"`
  536. }
  537. type DateRuleInfo struct {
  538. DateRangeInfo *DateRangeInfo `json:"date_range_info"`
  539. TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
  540. }
  541. type DateRangeInfo struct {
  542. BeginDate string `json:"begin_date"`
  543. EndDate string `json:"end_date"`
  544. }
  545. type HolidayRuleInfo struct {
  546. TimeRangeInfo *TimeRangeInfo `json:"time_range_info"`
  547. }
  548. type RelativePeriodInfo struct {
  549. WaitDaysAfterReceive int `json:"wait_days_after_receive"`
  550. ValidDaysAfterReceive int `json:"valid_days_after_receive"`
  551. TimeRestrictInfo *TimeRestrictInfo `json:"time_restrict_info"`
  552. }
  553. type VoucherDisplayPatternInfo struct {
  554. BrandName string `json:"brand_name"`
  555. BrandLogoUrl string `json:"brand_logo_url"`
  556. VoucherName string `json:"voucher_name,omitempty"`
  557. VoucherDescription string `json:"voucher_description,omitempty"`
  558. VoucherImage string `json:"voucher_image,omitempty"`
  559. VoucherImageUrl string `json:"voucher_image_url,omitempty"`
  560. VoucherDetailImages []string `json:"voucher_detail_images,omitempty"`
  561. VoucherDetailImageUrls []string `json:"voucher_detail_image_urls,omitempty"`
  562. CustomerServiceMobile string `json:"customer_service_mobile,omitempty"`
  563. CustomerServiceUrl string `json:"customer_service_url,omitempty"`
  564. }
  565. type VoucherCustomerGuideInfo struct {
  566. VoucherUseGuideInfo *VoucherUseGuideInfo `json:"voucher_use_guide_info"`
  567. }
  568. type VoucherUseGuideInfo struct {
  569. UseGuideMode []string `json:"use_guide_mode"`
  570. MiniAppUseGuideInfo *MiniAppUseGuideInfo `json:"mini_app_use_guide_info"`
  571. }
  572. type MiniAppUseGuideInfo struct {
  573. MiniAppUrl string `json:"mini_app_url"`
  574. MiniAppServiceCodes []string `json:"mini_app_service_codes"`
  575. }
  576. type VoucherBudgetSupplyInfo struct {
  577. BudgetType string `json:"budget_type"`
  578. VoucherRechargeInfo *VoucherRechargeInfo `json:"voucher_recharge_info"`
  579. }
  580. type VoucherRechargeInfo struct {
  581. RechargeType string `json:"recharge_type"`
  582. VoucherBalanceRechargeInfo *VoucherBalanceRechargeInfo `json:"voucher_balance_recharge_info"`
  583. }
  584. type VoucherBalanceRechargeInfo struct {
  585. LogonId string `json:"logon_id"`
  586. PartnerId string `json:"partner_id"`
  587. Amount string `json:"amount"`
  588. }
  589. type VoucherInventoryInfo struct {
  590. SendCount int `json:"send_count"`
  591. UseCount int `json:"use_count"`
  592. }
  593. type MarketingActivityVoucherModify struct {
  594. ErrorResponse
  595. }
  596. type MarketingActivityVoucherAppend struct {
  597. ErrorResponse
  598. RechargeUrl string `json:"recharge_url"`
  599. }
  600. type MarketingActivityVoucherStop struct {
  601. ErrorResponse
  602. }
  603. type MarketingActivityBatchQuery struct {
  604. ErrorResponse
  605. ActivityLiteInfos []*ActivityLiteInfo `json:"activity_lite_infos"`
  606. PageNum int `json:"page_num"`
  607. PageSize int `json:"page_size"`
  608. TotalSize string `json:"total_size"`
  609. }
  610. type ActivityLiteInfo struct {
  611. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  612. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  613. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  614. VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
  615. }
  616. type MarketingActivityConsult struct {
  617. ErrorResponse
  618. UserId string `json:"user_id"`
  619. OpenId string `json:"open_id"`
  620. ConsultResultInfoList []*ConsultResultInfo `json:"consult_result_info_list"`
  621. }
  622. type ConsultResultInfo struct {
  623. ActivityId string `json:"activity_id"`
  624. ConsultResultCode string `json:"consult_result_code"`
  625. }
  626. type MarketingActivityQuery struct {
  627. ErrorResponse
  628. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  629. VoucherSendModeInfo *VoucherSendModeInfo `json:"voucher_send_mode_info"`
  630. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  631. VoucherUseRuleInfo *VoucherUseRuleInfo `json:"voucher_use_rule_info"`
  632. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  633. VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
  634. VoucherCustomerGuideInfo *VoucherCustomerGuideInfo `json:"voucher_customer_guide_info"`
  635. }
  636. type MarketingActivityQueryMerchantBatchQuery struct {
  637. ErrorResponse
  638. ActivityId string `json:"activity_id"`
  639. MerchantInfos []*MerchantInfo `json:"merchant_infos"`
  640. PageNum int `json:"page_num"`
  641. PageSize int `json:"page_size"`
  642. TotalSize int `json:"total_size"`
  643. }
  644. type MerchantInfo struct {
  645. MerchantId string `json:"merchant_id"`
  646. MerchantIdType string `json:"merchant_id_type"`
  647. }
  648. type MarketingActivityQueryAppBatchQuery struct {
  649. ErrorResponse
  650. ActivityId string `json:"activity_id"`
  651. AppInfos []*AppInfo `json:"app_infos"`
  652. PageNum int `json:"page_num"`
  653. PageSize int `json:"page_size"`
  654. TotalSize int `json:"total_size"`
  655. }
  656. type AppInfo struct {
  657. MiniAppId string `json:"mini_app_id"`
  658. }
  659. type MarketingActivityQueryShopBatchQuery struct {
  660. ErrorResponse
  661. ActivityId string `json:"activity_id"`
  662. ShopInfos []*ShopInfo `json:"shop_infos"`
  663. PageNum int `json:"page_num"`
  664. PageSize int `json:"page_size"`
  665. TotalSize int `json:"total_size"`
  666. }
  667. type ShopInfo struct {
  668. ShopId string `json:"shop_id"`
  669. ShopType string `json:"shop_type"`
  670. ShopName string `json:"shop_name"`
  671. Longitude string `json:"longitude"`
  672. Latitude string `json:"latitude"`
  673. }
  674. type MarketingActivityQueryGoodsBatchQuery struct {
  675. ErrorResponse
  676. ActivityId string `json:"activity_id"`
  677. AppItemInfos []*AppItemInfo `json:"app_item_infos"`
  678. GoodsInfos []*GoodsInfo `json:"goods_infos"`
  679. PageNum int `json:"page_num"`
  680. PageSize int `json:"page_size"`
  681. TotalSize int `json:"total_size"`
  682. }
  683. type AppItemInfo struct {
  684. ItemId string `json:"item_id"`
  685. ItemUseType string `json:"item_use_type"`
  686. OutItemId string `json:"out_item_id"`
  687. MiniAppId string `json:"mini_app_id"`
  688. }
  689. type GoodsInfo struct {
  690. GoodsId string `json:"goods_id"`
  691. GoodsUseType string `json:"goods_use_type"`
  692. }
  693. type MarketingActivityQueryUserBatchQueryVoucher struct {
  694. ErrorResponse
  695. UserVoucherInfos []*UserVoucherInfo `json:"user_voucher_infos"`
  696. PageNum int `json:"page_num"`
  697. PageSize int `json:"page_size"`
  698. TotalSize int `json:"total_size"`
  699. }
  700. type UserVoucherInfo struct {
  701. UserVoucherBaseInfo *UserVoucherBaseInfo `json:"user_voucher_base_info"`
  702. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  703. VoucherSendModeInfo *VoucherSendModeInfo `json:"voucher_send_mode_info"`
  704. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  705. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  706. VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
  707. VoucherCustomerGuideInfo *VoucherCustomerGuideInfo `json:"voucher_customer_guide_info"`
  708. }
  709. type UserVoucherBaseInfo struct {
  710. VoucherId string `json:"voucher_id"`
  711. VoucherCode string `json:"voucher_code"`
  712. VoucherName string `json:"voucher_name"`
  713. VoucherStatus string `json:"voucher_status"`
  714. CreateTime string `json:"create_time"`
  715. ValidBeginTime string `json:"valid_begin_time"`
  716. ValidEndTime string `json:"valid_end_time"`
  717. AssociateTradeNo string `json:"associate_trade_no"`
  718. VoucherMaxUseTimes int `json:"voucher_max_use_times"`
  719. VoucherUsedTimes int `json:"voucher_used_times"`
  720. BelongMerchantId string `json:"belong_merchant_id"`
  721. }
  722. type MarketingActivityQueryUserQueryVoucher struct {
  723. ErrorResponse
  724. UserVoucherBaseInfo *UserVoucherBaseInfo `json:"user_voucher_base_info"`
  725. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  726. VoucherSendModeInfo *VoucherSendModeInfo `json:"voucher_send_mode_info"`
  727. VoucherUseRuleInfo *VoucherUseRuleInfo `json:"voucher_use_rule_info"`
  728. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  729. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  730. VoucherCustomerGuideInfo *VoucherCustomerGuideInfo `json:"voucher_customer_guide_info"`
  731. }
  732. type MarketingCampaignOrderVoucherConsult struct {
  733. ErrorResponse
  734. OptimalTotalPromoAmount string `json:"optimal_total_promo_amount"`
  735. VoucherConsultList []*VoucherConsult `json:"voucher_consult_list"`
  736. }
  737. type VoucherConsult struct {
  738. VoucherId string `json:"voucher_id"`
  739. VoucherName string `json:"voucher_name"`
  740. VoucherType string `json:"voucher_type"`
  741. PromoType string `json:"promo_type"`
  742. ReductionAmount string `json:"reduction_amount"`
  743. SpecifiedAmount string `json:"specified_amount"`
  744. ReductionRatio string `json:"reduction_ratio"`
  745. CeilingAmount string `json:"ceiling_amount"`
  746. ThresholdAmount string `json:"threshold_amount"`
  747. PromoAmount string `json:"promo_amount"`
  748. PromoText string `json:"promo_text"`
  749. ItemPromoInfo *ItemPromoInfo `json:"item_promo_info"`
  750. }
  751. type ItemPromoInfo struct {
  752. ItemName string `json:"item_name"`
  753. ItemDesc string `json:"item_desc"`
  754. ItemCoverPic string `json:"item_cover_pic"`
  755. ItemDetailPicList []string `json:"item_detail_pic_list"`
  756. ItemConsultList []*ItemConsult `json:"item_consult_list"`
  757. }
  758. type ItemConsult struct {
  759. ItemId string `json:"item_id"`
  760. PromoAmount string `json:"promo_amount"`
  761. PromoCount string `json:"promo_count"`
  762. }
  763. type MarketingActivityOrderVoucherCreate struct {
  764. ErrorResponse
  765. ActivityId string `json:"activity_id"`
  766. VoucherAvailableScopeResultInfo *VoucherAvailableScopeResultInfo `json:"voucher_available_scope_result_info"`
  767. }
  768. type VoucherAvailableScopeResultInfo struct {
  769. VoucherAvailableGeographyScopeResultInfo *VoucherAvailableGeographyScopeResultInfo `json:"voucher_available_geography_scope_result_info"`
  770. }
  771. type VoucherAvailableGeographyScopeResultInfo struct {
  772. AvailableGeographyShopResultInfo *AvailableGeographyShopResultInfo `json:"available_geography_shop_result_info"`
  773. }
  774. type AvailableGeographyShopResultInfo struct {
  775. SuccessAvailableShopIds []string `json:"success_available_shop_ids"`
  776. FailAvailableShopInfos []*FailAvailableShopInfo `json:"fail_available_shop_infos"`
  777. AvailableGeographyAllShopResultInfo *AvailableGeographyAllShopResultInfo `json:"available_geography_all_shop_result_info"`
  778. }
  779. type FailAvailableShopInfo struct {
  780. ShopId string `json:"shop_id"`
  781. FailReasons []string `json:"fail_reasons"`
  782. FailMessage string `json:"fail_message"`
  783. }
  784. type AvailableGeographyAllShopResultInfo struct {
  785. SuccessExcludeShopIds []string `json:"success_exclude_shop_ids"`
  786. FailExcludeShopInfos []*FailExcludeShopInfo `json:"fail_exclude_shop_infos"`
  787. }
  788. type FailExcludeShopInfo struct {
  789. ShopId string `json:"shop_id"`
  790. RealShopId string `json:"real_shop_id"`
  791. FailReasons []string `json:"fail_reasons"`
  792. FailMessage string `json:"fail_message"`
  793. }
  794. type MarketingActivityOrderVoucherCodeDeposit struct {
  795. ErrorResponse
  796. SuccessCount int `json:"success_count"`
  797. FailCount int `json:"fail_count"`
  798. SuccessVoucherCodeList []string `json:"success_voucher_code_list"`
  799. FailVoucherCodeDetailList []*FailVoucherCodeDetail `json:"fail_voucher_code_detail_list"`
  800. }
  801. type FailVoucherCodeDetail struct {
  802. VoucherCode string `json:"voucher_code"`
  803. ErrorCode string `json:"error_code"`
  804. ErrorMsg string `json:"error_msg"`
  805. }
  806. type MarketingActivityOrderVoucherModify struct {
  807. ErrorResponse
  808. VoucherAvailableScopeResultInfo *VoucherAvailableScopeResultInfo `json:"voucher_available_scope_result_info"`
  809. }
  810. type MarketingActivityOrderVoucherStop struct {
  811. ErrorResponse
  812. }
  813. type MarketingActivityOrderVoucherAppend struct {
  814. ErrorResponse
  815. }
  816. type MarketingActivityOrderVoucherUse struct {
  817. ErrorResponse
  818. ActivityId string `json:"activity_id"`
  819. VoucherUseDetailResultInfo *VoucherUseDetailResultInfo `json:"voucher_use_detail_result_info"`
  820. }
  821. type VoucherUseDetailResultInfo struct {
  822. VoucherMaxUnUseTimes int `json:"voucher_max_un_use_times"`
  823. }
  824. type MarketingActivityOrderVoucherRefund struct {
  825. ErrorResponse
  826. ActivityId string `json:"activity_id"`
  827. VoucherUseDetailResultInfo *VoucherUseDetailResultInfo `json:"voucher_use_detail_result_info"`
  828. }
  829. type MarketingActivityOrderVoucherQuery struct {
  830. ErrorResponse
  831. ActivityBaseInfo *ActivityBaseInfo `json:"activity_base_info"`
  832. VoucherSendModeInfo *VoucherSendModeInfo `json:"voucher_send_mode_info"`
  833. VoucherDeductInfo *VoucherDeductInfo `json:"voucher_deduct_info"`
  834. VoucherAvailableScopeInfo *VoucherAvailableScopeInfo `json:"voucher_available_scope_info"`
  835. VoucherUseRuleInfo *VoucherUseRuleInfo `json:"voucher_use_rule_info"`
  836. VoucherDisplayPatternInfo *VoucherDisplayPatternInfo `json:"voucher_display_pattern_info"`
  837. VoucherCustomerGuideInfo *VoucherCustomerGuideInfo `json:"voucher_customer_guide_info"`
  838. VoucherInventoryInfo *VoucherInventoryInfo `json:"voucher_inventory_info"`
  839. }
  840. type MarketingActivityOrderVoucherCodeCount struct {
  841. ErrorResponse
  842. SuccessCount int `json:"success_count"`
  843. }
  844. type MarketingCardTemplateCreate struct {
  845. ErrorResponse
  846. TemplateId string `json:"template_id"`
  847. }
  848. type MarketingCardTemplateModify struct {
  849. ErrorResponse
  850. TemplateId string `json:"template_id"`
  851. }
  852. type MarketingCardTemplateQuery struct {
  853. ErrorResponse
  854. TemplateStyleInfo *TemplateStyleInfo `json:"template_style_info"`
  855. AccessVersion string `json:"access_version"`
  856. CardLevelConfs []*CardLevelConf `json:"card_level_confs"`
  857. TemplateFormConfig *TemplateFormConfig `json:"template_form_config"`
  858. SpiAppId string `json:"spi_app_id"`
  859. }
  860. type TemplateStyleInfo struct {
  861. CardShowName string `json:"card_show_name"`
  862. LogoId string `json:"logo_id"`
  863. BackgroundId string `json:"background_id"`
  864. BrandName string `json:"brand_name"`
  865. }
  866. type CardLevelConf struct {
  867. Level string `json:"level"`
  868. LevelShowName string `json:"level_show_name"`
  869. LevelIcon string `json:"level_icon"`
  870. LevelDesc string `json:"level_desc"`
  871. }
  872. type TemplateFormConfig struct {
  873. Fields *Fields `json:"fields"`
  874. OpenCardMiniAppId string `json:"open_card_mini_app_id"`
  875. }
  876. type Fields struct {
  877. Required []string `json:"required"`
  878. Optional []string `json:"optional"`
  879. }
  880. type MarketingCardUpdate struct {
  881. ErrorResponse
  882. ResultCode string `json:"result_code"`
  883. }
  884. type MarketingCardQuery struct {
  885. ErrorResponse
  886. CardInfo *CardInfo `json:"card_info"`
  887. SchemaUrl string `json:"schema_url"`
  888. PassId string `json:"pass_id"`
  889. PaidOuterCardInfo *PaidOuterCardInfo `json:"paid_outer_card_info"`
  890. }
  891. type CardInfo struct {
  892. BizCardNo string `json:"biz_card_no"`
  893. ExternalCardNo string `json:"external_card_no"`
  894. OpenDate string `json:"open_date"`
  895. ValidDate string `json:"valid_date"`
  896. Level string `json:"level"`
  897. Point string `json:"point"`
  898. Balance string `json:"balance"`
  899. TemplateId string `json:"template_id"`
  900. MdcodeInfo *MdcodeInfo `json:"mdcode_info"`
  901. FrontTextList []*FrontText `json:"front_text_list"`
  902. FrontImageId string `json:"front_image_id"`
  903. }
  904. type MdcodeInfo struct {
  905. CodeStatus string `json:"code_status"`
  906. CodeValue string `json:"code_value"`
  907. ExpireTime string `json:"expire_time"`
  908. TimeStamp int `json:"time_stamp"`
  909. }
  910. type FrontText struct {
  911. Label string `json:"label"`
  912. Value string `json:"value"`
  913. }
  914. type PaidOuterCardInfo struct {
  915. Action string `json:"action"`
  916. PurchaseInfo *PurchaseInfo `json:"purchase_info"`
  917. CycleInfo *CycleInfo `json:"cycle_info"`
  918. }
  919. type PurchaseInfo struct {
  920. Source string `json:"source"`
  921. Price string `json:"price"`
  922. ActionDate string `json:"action_date"`
  923. OutTradeNo string `json:"out_trade_no"`
  924. AlipayTradeNo string `json:"alipay_trade_no"`
  925. }
  926. type CycleInfo struct {
  927. OpenStatus string `json:"open_status"`
  928. CloseReason string `json:"close_reason"`
  929. CycleType string `json:"cycle_type"`
  930. AlipayDeductScene string `json:"alipay_deduct_scene"`
  931. AlipayDeductProductCode string `json:"alipay_deduct_product_code"`
  932. AlipayDeductAgreement string `json:"alipay_deduct_agreement"`
  933. }
  934. type MarketingCardDelete struct {
  935. ErrorResponse
  936. BizSerialNo string `json:"biz_serial_no"`
  937. }
  938. type MarketingCardMessageNotify struct {
  939. ErrorResponse
  940. ResultCode string `json:"result_code"`
  941. }
  942. type MarketingCardFormTemplateSet struct {
  943. ErrorResponse
  944. }
  945. type OfflineMaterialImageUpload struct {
  946. ErrorResponse
  947. ImageId string `json:"image_id"`
  948. ImageUrl string `json:"image_url"`
  949. }