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