Documentation ¶
Overview ¶
Package coupon 线索通卡券组件管理 API
Index ¶
- func CodeConsume(clt *core.SDKClient, accessToken string, req *coupon.CodeConsumeRequest) error
- func CodeGet(clt *core.SDKClient, accessToken string, req *coupon.CodeGetRequest) (*coupon.CodeGetResponseData, error)
- func CodeUpload(clt *core.SDKClient, accessToken string, req *coupon.CodeUploadRequest) (*coupon.CodeUploadResponseData, error)
- func Create(clt *core.SDKClient, accessToken string, req *coupon.CreateRequest) (uint64, error)
- func Detail(clt *core.SDKClient, accessToken string, req *coupon.DetailRequest) (*coupon.DetailResponseData, error)
- func EmployeeCreate(clt *core.SDKClient, accessToken string, req *coupon.EmployeeCreateRequest) (*coupon.EmployeeCreateResponseData, error)
- func EmployeeDelete(clt *core.SDKClient, accessToken string, req *coupon.EmployeeDeleteRequest) error
- func EmployeeGet(clt *core.SDKClient, accessToken string, req *coupon.EmployeeGetRequest) (*coupon.EmployeeGetResponseData, error)
- func Get(clt *core.SDKClient, accessToken string, req *coupon.GetRequest) (*coupon.GetResponseData, error)
- func Update(clt *core.SDKClient, accessToken string, req *coupon.UpdateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeConsume ¶
CodeConsume 核销券码
func CodeGet ¶
func CodeGet(clt *core.SDKClient, accessToken string, req *coupon.CodeGetRequest) (*coupon.CodeGetResponseData, error)
CodeGet 查询券码记录
func CodeUpload ¶
func CodeUpload(clt *core.SDKClient, accessToken string, req *coupon.CodeUploadRequest) (*coupon.CodeUploadResponseData, error)
CodeUpload 上传券码 通过此接口,你可以上传优惠券的券码。调用此接口前,需要先创建卡券,获取优惠券id,优惠券的券码类型需要为商家上传券码类型。
func Detail ¶
func Detail(clt *core.SDKClient, accessToken string, req *coupon.DetailRequest) (*coupon.DetailResponseData, error)
Detail 获取卡券详情
func EmployeeCreate ¶
func EmployeeCreate(clt *core.SDKClient, accessToken string, req *coupon.EmployeeCreateRequest) (*coupon.EmployeeCreateResponseData, error)
EmployeeCreate 添加核销员
func EmployeeDelete ¶
func EmployeeDelete(clt *core.SDKClient, accessToken string, req *coupon.EmployeeDeleteRequest) error
EmployeeDelete 删除核销员
func EmployeeGet ¶
func EmployeeGet(clt *core.SDKClient, accessToken string, req *coupon.EmployeeGetRequest) (*coupon.EmployeeGetResponseData, error)
EmployeeGet 查询核销员
func Get ¶
func Get(clt *core.SDKClient, accessToken string, req *coupon.GetRequest) (*coupon.GetResponseData, error)
Get 获取卡券列表
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.