Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增商家券SDK #183

Merged
merged 3 commits into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docs/merchantexclusivecoupon/AssociateTradeInfoRequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AssociateTradeInfoRequest

## 属性列表

名称 | 类型 | 描述 | 补充说明
------------ | ------------- | ------------- | -------------
**StockId** | **string** | 微信为每个商家券批次分配的唯一ID,对于商户自定义code的批次,关联请求必须填写批次号 |
**CouponCode** | **string** | 券的唯一标识 |
**OutTradeNo** | **string** | 微信支付下单时的商户订单号,欲与该商家券关联的微信支付 |
**OutRequestNo** | **string** | 商户创建批次凭据号(格式:商户ID+日期+流水号),商户侧需保持唯一性,可包含英文字母,数字,|,\\_,\\*,-等内容,不允许出现其他不合法符号。 |

[\[返回类型列表\]](README.md#类型列表)
[\[返回接口列表\]](README.md#接口列表)
[\[返回服务README\]](README.md)


13 changes: 13 additions & 0 deletions docs/merchantexclusivecoupon/AssociateTradeInfoResponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# AssociateTradeInfoResponse

## 属性列表

名称 | 类型 | 描述 | 补充说明
------------ | ------------- | ------------- | -------------
**WechatpayAssociateTime** | **time.Time** | 系统关联券成功的时间,遵循[rfc3339](https://datatracker.ietf.org/doc/html/rfc3339)标准格式,格式为yyyy-MM-DDTHH:mm:ss+TIMEZONE,yyyy-MM-DD表示年月日,T出现在字符串中,表示time元素的开头,HH:mm:ss表示时分秒,TIMEZONE表示时区(+08:00表示东八区时间,领先UTC 8小时,即北京时间)。例如:2015-05-20T13:29:35+08:00表示,北京时间2015年5月20日 13点29分35秒。 |

[\[返回类型列表\]](README.md#类型列表)
[\[返回接口列表\]](README.md#接口列表)
[\[返回服务README\]](README.md)


14 changes: 14 additions & 0 deletions docs/merchantexclusivecoupon/AvailableCurrentDayTime.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# AvailableCurrentDayTime

## 属性列表

名称 | 类型 | 描述 | 补充说明
------------ | ------------- | ------------- | -------------
**BeginTime** | **int64** | 当天可用开始时间 单位秒 1代表当天0点0分1秒 | [可选]
**EndTime** | **int64** | 当天可用结束时间 单位秒 86399代表当天23点59分59秒 | [可选]

[\[返回类型列表\]](README.md#类型列表)
[\[返回接口列表\]](README.md#接口列表)
[\[返回服务README\]](README.md)


14 changes: 14 additions & 0 deletions docs/merchantexclusivecoupon/AvailableWeek.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# AvailableWeek

## 属性列表

名称 | 类型 | 描述 | 补充说明
------------ | ------------- | ------------- | -------------
**WeekDay** | **[]int64** | 0代表周日,1代表周一,以此类推 当填写available_day_time时,week_day必填 | [可选]
**AvailableDayTime** | [**[]AvailableCurrentDayTime**](AvailableCurrentDayTime.md) | 可以填写多个时间段,最多不超过2个 | [可选]

[\[返回类型列表\]](README.md#类型列表)
[\[返回接口列表\]](README.md#接口列表)
[\[返回服务README\]](README.md)


Loading