alibabacloud-agency20221216 1.5.1__tar.gz → 1.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/ChangeLog.md +7 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/PKG-INFO +1 -1
- alibabacloud_agency20221216-1.6.0/alibabacloud_agency20221216/__init__.py +1 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216/client.py +400 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216/models.py +757 -61
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216.egg-info/PKG-INFO +1 -1
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/setup.py +1 -1
- alibabacloud_agency20221216-1.5.1/alibabacloud_agency20221216/__init__.py +0 -1
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/LICENSE +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/MANIFEST.in +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/README-CN.md +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/README.md +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216.egg-info/SOURCES.txt +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216.egg-info/dependency_links.txt +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216.egg-info/requires.txt +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/alibabacloud_agency20221216.egg-info/top_level.txt +0 -0
- {alibabacloud_agency20221216-1.5.1 → alibabacloud_agency20221216-1.6.0}/setup.cfg +0 -0
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
2024-11-05 Version: 1.5.1
|
|
2
|
+
- Update API CreateCouponTemplate: update param CouponDescription.
|
|
3
|
+
- Update API CreateCouponTemplate: update param ReasonForApplication.
|
|
4
|
+
- Update API CreateCouponTemplate: update param TemplateName.
|
|
5
|
+
- Update API GetAccountInfo: update response param.
|
|
6
|
+
|
|
7
|
+
|
|
1
8
|
2024-09-04 Version: 1.5.0
|
|
2
9
|
- Support API CreateCouponTemplate.
|
|
3
10
|
- Support API GetCoupondeductProductCode.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '1.6.0'
|
|
@@ -99,6 +99,102 @@ class Client(OpenApiClient):
|
|
|
99
99
|
return endpoint_map.get(region_id)
|
|
100
100
|
return EndpointUtilClient.get_endpoint_rules(product_id, region_id, endpoint_rule, network, suffix)
|
|
101
101
|
|
|
102
|
+
def cancel_coupon_with_options(
|
|
103
|
+
self,
|
|
104
|
+
request: agency_20221216_models.CancelCouponRequest,
|
|
105
|
+
runtime: util_models.RuntimeOptions,
|
|
106
|
+
) -> agency_20221216_models.CancelCouponResponse:
|
|
107
|
+
"""
|
|
108
|
+
@summary 作废优惠券
|
|
109
|
+
|
|
110
|
+
@param request: CancelCouponRequest
|
|
111
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
112
|
+
@return: CancelCouponResponse
|
|
113
|
+
"""
|
|
114
|
+
UtilClient.validate_model(request)
|
|
115
|
+
query = {}
|
|
116
|
+
if not UtilClient.is_unset(request.coupon_id):
|
|
117
|
+
query['CouponId'] = request.coupon_id
|
|
118
|
+
req = open_api_models.OpenApiRequest(
|
|
119
|
+
query=OpenApiUtilClient.query(query)
|
|
120
|
+
)
|
|
121
|
+
params = open_api_models.Params(
|
|
122
|
+
action='CancelCoupon',
|
|
123
|
+
version='2022-12-16',
|
|
124
|
+
protocol='HTTPS',
|
|
125
|
+
pathname='/',
|
|
126
|
+
method='POST',
|
|
127
|
+
auth_type='AK',
|
|
128
|
+
style='RPC',
|
|
129
|
+
req_body_type='formData',
|
|
130
|
+
body_type='json'
|
|
131
|
+
)
|
|
132
|
+
return TeaCore.from_map(
|
|
133
|
+
agency_20221216_models.CancelCouponResponse(),
|
|
134
|
+
self.call_api(params, req, runtime)
|
|
135
|
+
)
|
|
136
|
+
|
|
137
|
+
async def cancel_coupon_with_options_async(
|
|
138
|
+
self,
|
|
139
|
+
request: agency_20221216_models.CancelCouponRequest,
|
|
140
|
+
runtime: util_models.RuntimeOptions,
|
|
141
|
+
) -> agency_20221216_models.CancelCouponResponse:
|
|
142
|
+
"""
|
|
143
|
+
@summary 作废优惠券
|
|
144
|
+
|
|
145
|
+
@param request: CancelCouponRequest
|
|
146
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
147
|
+
@return: CancelCouponResponse
|
|
148
|
+
"""
|
|
149
|
+
UtilClient.validate_model(request)
|
|
150
|
+
query = {}
|
|
151
|
+
if not UtilClient.is_unset(request.coupon_id):
|
|
152
|
+
query['CouponId'] = request.coupon_id
|
|
153
|
+
req = open_api_models.OpenApiRequest(
|
|
154
|
+
query=OpenApiUtilClient.query(query)
|
|
155
|
+
)
|
|
156
|
+
params = open_api_models.Params(
|
|
157
|
+
action='CancelCoupon',
|
|
158
|
+
version='2022-12-16',
|
|
159
|
+
protocol='HTTPS',
|
|
160
|
+
pathname='/',
|
|
161
|
+
method='POST',
|
|
162
|
+
auth_type='AK',
|
|
163
|
+
style='RPC',
|
|
164
|
+
req_body_type='formData',
|
|
165
|
+
body_type='json'
|
|
166
|
+
)
|
|
167
|
+
return TeaCore.from_map(
|
|
168
|
+
agency_20221216_models.CancelCouponResponse(),
|
|
169
|
+
await self.call_api_async(params, req, runtime)
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
def cancel_coupon(
|
|
173
|
+
self,
|
|
174
|
+
request: agency_20221216_models.CancelCouponRequest,
|
|
175
|
+
) -> agency_20221216_models.CancelCouponResponse:
|
|
176
|
+
"""
|
|
177
|
+
@summary 作废优惠券
|
|
178
|
+
|
|
179
|
+
@param request: CancelCouponRequest
|
|
180
|
+
@return: CancelCouponResponse
|
|
181
|
+
"""
|
|
182
|
+
runtime = util_models.RuntimeOptions()
|
|
183
|
+
return self.cancel_coupon_with_options(request, runtime)
|
|
184
|
+
|
|
185
|
+
async def cancel_coupon_async(
|
|
186
|
+
self,
|
|
187
|
+
request: agency_20221216_models.CancelCouponRequest,
|
|
188
|
+
) -> agency_20221216_models.CancelCouponResponse:
|
|
189
|
+
"""
|
|
190
|
+
@summary 作废优惠券
|
|
191
|
+
|
|
192
|
+
@param request: CancelCouponRequest
|
|
193
|
+
@return: CancelCouponResponse
|
|
194
|
+
"""
|
|
195
|
+
runtime = util_models.RuntimeOptions()
|
|
196
|
+
return await self.cancel_coupon_with_options_async(request, runtime)
|
|
197
|
+
|
|
102
198
|
def cancel_subscription_bill_with_options(
|
|
103
199
|
self,
|
|
104
200
|
request: agency_20221216_models.CancelSubscriptionBillRequest,
|
|
@@ -215,6 +311,118 @@ class Client(OpenApiClient):
|
|
|
215
311
|
runtime = util_models.RuntimeOptions()
|
|
216
312
|
return await self.cancel_subscription_bill_with_options_async(request, runtime)
|
|
217
313
|
|
|
314
|
+
def coupon_approval_status_list_with_options(
|
|
315
|
+
self,
|
|
316
|
+
request: agency_20221216_models.CouponApprovalStatusListRequest,
|
|
317
|
+
runtime: util_models.RuntimeOptions,
|
|
318
|
+
) -> agency_20221216_models.CouponApprovalStatusListResponse:
|
|
319
|
+
"""
|
|
320
|
+
@summary 优惠券审批状态列表
|
|
321
|
+
|
|
322
|
+
@param request: CouponApprovalStatusListRequest
|
|
323
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
324
|
+
@return: CouponApprovalStatusListResponse
|
|
325
|
+
"""
|
|
326
|
+
UtilClient.validate_model(request)
|
|
327
|
+
query = {}
|
|
328
|
+
if not UtilClient.is_unset(request.page_no):
|
|
329
|
+
query['PageNo'] = request.page_no
|
|
330
|
+
if not UtilClient.is_unset(request.page_size):
|
|
331
|
+
query['PageSize'] = request.page_size
|
|
332
|
+
if not UtilClient.is_unset(request.template_id):
|
|
333
|
+
query['TemplateId'] = request.template_id
|
|
334
|
+
if not UtilClient.is_unset(request.template_name):
|
|
335
|
+
query['TemplateName'] = request.template_name
|
|
336
|
+
if not UtilClient.is_unset(request.template_status):
|
|
337
|
+
query['TemplateStatus'] = request.template_status
|
|
338
|
+
req = open_api_models.OpenApiRequest(
|
|
339
|
+
query=OpenApiUtilClient.query(query)
|
|
340
|
+
)
|
|
341
|
+
params = open_api_models.Params(
|
|
342
|
+
action='CouponApprovalStatusList',
|
|
343
|
+
version='2022-12-16',
|
|
344
|
+
protocol='HTTPS',
|
|
345
|
+
pathname='/',
|
|
346
|
+
method='POST',
|
|
347
|
+
auth_type='AK',
|
|
348
|
+
style='RPC',
|
|
349
|
+
req_body_type='formData',
|
|
350
|
+
body_type='json'
|
|
351
|
+
)
|
|
352
|
+
return TeaCore.from_map(
|
|
353
|
+
agency_20221216_models.CouponApprovalStatusListResponse(),
|
|
354
|
+
self.call_api(params, req, runtime)
|
|
355
|
+
)
|
|
356
|
+
|
|
357
|
+
async def coupon_approval_status_list_with_options_async(
|
|
358
|
+
self,
|
|
359
|
+
request: agency_20221216_models.CouponApprovalStatusListRequest,
|
|
360
|
+
runtime: util_models.RuntimeOptions,
|
|
361
|
+
) -> agency_20221216_models.CouponApprovalStatusListResponse:
|
|
362
|
+
"""
|
|
363
|
+
@summary 优惠券审批状态列表
|
|
364
|
+
|
|
365
|
+
@param request: CouponApprovalStatusListRequest
|
|
366
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
367
|
+
@return: CouponApprovalStatusListResponse
|
|
368
|
+
"""
|
|
369
|
+
UtilClient.validate_model(request)
|
|
370
|
+
query = {}
|
|
371
|
+
if not UtilClient.is_unset(request.page_no):
|
|
372
|
+
query['PageNo'] = request.page_no
|
|
373
|
+
if not UtilClient.is_unset(request.page_size):
|
|
374
|
+
query['PageSize'] = request.page_size
|
|
375
|
+
if not UtilClient.is_unset(request.template_id):
|
|
376
|
+
query['TemplateId'] = request.template_id
|
|
377
|
+
if not UtilClient.is_unset(request.template_name):
|
|
378
|
+
query['TemplateName'] = request.template_name
|
|
379
|
+
if not UtilClient.is_unset(request.template_status):
|
|
380
|
+
query['TemplateStatus'] = request.template_status
|
|
381
|
+
req = open_api_models.OpenApiRequest(
|
|
382
|
+
query=OpenApiUtilClient.query(query)
|
|
383
|
+
)
|
|
384
|
+
params = open_api_models.Params(
|
|
385
|
+
action='CouponApprovalStatusList',
|
|
386
|
+
version='2022-12-16',
|
|
387
|
+
protocol='HTTPS',
|
|
388
|
+
pathname='/',
|
|
389
|
+
method='POST',
|
|
390
|
+
auth_type='AK',
|
|
391
|
+
style='RPC',
|
|
392
|
+
req_body_type='formData',
|
|
393
|
+
body_type='json'
|
|
394
|
+
)
|
|
395
|
+
return TeaCore.from_map(
|
|
396
|
+
agency_20221216_models.CouponApprovalStatusListResponse(),
|
|
397
|
+
await self.call_api_async(params, req, runtime)
|
|
398
|
+
)
|
|
399
|
+
|
|
400
|
+
def coupon_approval_status_list(
|
|
401
|
+
self,
|
|
402
|
+
request: agency_20221216_models.CouponApprovalStatusListRequest,
|
|
403
|
+
) -> agency_20221216_models.CouponApprovalStatusListResponse:
|
|
404
|
+
"""
|
|
405
|
+
@summary 优惠券审批状态列表
|
|
406
|
+
|
|
407
|
+
@param request: CouponApprovalStatusListRequest
|
|
408
|
+
@return: CouponApprovalStatusListResponse
|
|
409
|
+
"""
|
|
410
|
+
runtime = util_models.RuntimeOptions()
|
|
411
|
+
return self.coupon_approval_status_list_with_options(request, runtime)
|
|
412
|
+
|
|
413
|
+
async def coupon_approval_status_list_async(
|
|
414
|
+
self,
|
|
415
|
+
request: agency_20221216_models.CouponApprovalStatusListRequest,
|
|
416
|
+
) -> agency_20221216_models.CouponApprovalStatusListResponse:
|
|
417
|
+
"""
|
|
418
|
+
@summary 优惠券审批状态列表
|
|
419
|
+
|
|
420
|
+
@param request: CouponApprovalStatusListRequest
|
|
421
|
+
@return: CouponApprovalStatusListResponse
|
|
422
|
+
"""
|
|
423
|
+
runtime = util_models.RuntimeOptions()
|
|
424
|
+
return await self.coupon_approval_status_list_with_options_async(request, runtime)
|
|
425
|
+
|
|
218
426
|
def create_coupon_template_with_options(
|
|
219
427
|
self,
|
|
220
428
|
tmp_req: agency_20221216_models.CreateCouponTemplateRequest,
|
|
@@ -687,6 +895,102 @@ class Client(OpenApiClient):
|
|
|
687
895
|
runtime = util_models.RuntimeOptions()
|
|
688
896
|
return await self.deduct_outstanding_balance_with_options_async(request, runtime)
|
|
689
897
|
|
|
898
|
+
def delete_coupon_template_with_options(
|
|
899
|
+
self,
|
|
900
|
+
request: agency_20221216_models.DeleteCouponTemplateRequest,
|
|
901
|
+
runtime: util_models.RuntimeOptions,
|
|
902
|
+
) -> agency_20221216_models.DeleteCouponTemplateResponse:
|
|
903
|
+
"""
|
|
904
|
+
@summary 作废优惠券模板
|
|
905
|
+
|
|
906
|
+
@param request: DeleteCouponTemplateRequest
|
|
907
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
908
|
+
@return: DeleteCouponTemplateResponse
|
|
909
|
+
"""
|
|
910
|
+
UtilClient.validate_model(request)
|
|
911
|
+
query = {}
|
|
912
|
+
if not UtilClient.is_unset(request.template_id):
|
|
913
|
+
query['TemplateId'] = request.template_id
|
|
914
|
+
req = open_api_models.OpenApiRequest(
|
|
915
|
+
query=OpenApiUtilClient.query(query)
|
|
916
|
+
)
|
|
917
|
+
params = open_api_models.Params(
|
|
918
|
+
action='DeleteCouponTemplate',
|
|
919
|
+
version='2022-12-16',
|
|
920
|
+
protocol='HTTPS',
|
|
921
|
+
pathname='/',
|
|
922
|
+
method='POST',
|
|
923
|
+
auth_type='AK',
|
|
924
|
+
style='RPC',
|
|
925
|
+
req_body_type='formData',
|
|
926
|
+
body_type='json'
|
|
927
|
+
)
|
|
928
|
+
return TeaCore.from_map(
|
|
929
|
+
agency_20221216_models.DeleteCouponTemplateResponse(),
|
|
930
|
+
self.call_api(params, req, runtime)
|
|
931
|
+
)
|
|
932
|
+
|
|
933
|
+
async def delete_coupon_template_with_options_async(
|
|
934
|
+
self,
|
|
935
|
+
request: agency_20221216_models.DeleteCouponTemplateRequest,
|
|
936
|
+
runtime: util_models.RuntimeOptions,
|
|
937
|
+
) -> agency_20221216_models.DeleteCouponTemplateResponse:
|
|
938
|
+
"""
|
|
939
|
+
@summary 作废优惠券模板
|
|
940
|
+
|
|
941
|
+
@param request: DeleteCouponTemplateRequest
|
|
942
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
943
|
+
@return: DeleteCouponTemplateResponse
|
|
944
|
+
"""
|
|
945
|
+
UtilClient.validate_model(request)
|
|
946
|
+
query = {}
|
|
947
|
+
if not UtilClient.is_unset(request.template_id):
|
|
948
|
+
query['TemplateId'] = request.template_id
|
|
949
|
+
req = open_api_models.OpenApiRequest(
|
|
950
|
+
query=OpenApiUtilClient.query(query)
|
|
951
|
+
)
|
|
952
|
+
params = open_api_models.Params(
|
|
953
|
+
action='DeleteCouponTemplate',
|
|
954
|
+
version='2022-12-16',
|
|
955
|
+
protocol='HTTPS',
|
|
956
|
+
pathname='/',
|
|
957
|
+
method='POST',
|
|
958
|
+
auth_type='AK',
|
|
959
|
+
style='RPC',
|
|
960
|
+
req_body_type='formData',
|
|
961
|
+
body_type='json'
|
|
962
|
+
)
|
|
963
|
+
return TeaCore.from_map(
|
|
964
|
+
agency_20221216_models.DeleteCouponTemplateResponse(),
|
|
965
|
+
await self.call_api_async(params, req, runtime)
|
|
966
|
+
)
|
|
967
|
+
|
|
968
|
+
def delete_coupon_template(
|
|
969
|
+
self,
|
|
970
|
+
request: agency_20221216_models.DeleteCouponTemplateRequest,
|
|
971
|
+
) -> agency_20221216_models.DeleteCouponTemplateResponse:
|
|
972
|
+
"""
|
|
973
|
+
@summary 作废优惠券模板
|
|
974
|
+
|
|
975
|
+
@param request: DeleteCouponTemplateRequest
|
|
976
|
+
@return: DeleteCouponTemplateResponse
|
|
977
|
+
"""
|
|
978
|
+
runtime = util_models.RuntimeOptions()
|
|
979
|
+
return self.delete_coupon_template_with_options(request, runtime)
|
|
980
|
+
|
|
981
|
+
async def delete_coupon_template_async(
|
|
982
|
+
self,
|
|
983
|
+
request: agency_20221216_models.DeleteCouponTemplateRequest,
|
|
984
|
+
) -> agency_20221216_models.DeleteCouponTemplateResponse:
|
|
985
|
+
"""
|
|
986
|
+
@summary 作废优惠券模板
|
|
987
|
+
|
|
988
|
+
@param request: DeleteCouponTemplateRequest
|
|
989
|
+
@return: DeleteCouponTemplateResponse
|
|
990
|
+
"""
|
|
991
|
+
runtime = util_models.RuntimeOptions()
|
|
992
|
+
return await self.delete_coupon_template_with_options_async(request, runtime)
|
|
993
|
+
|
|
690
994
|
def edit_end_user_status_with_options(
|
|
691
995
|
self,
|
|
692
996
|
request: agency_20221216_models.EditEndUserStatusRequest,
|
|
@@ -1227,6 +1531,102 @@ class Client(OpenApiClient):
|
|
|
1227
1531
|
runtime = util_models.RuntimeOptions()
|
|
1228
1532
|
return await self.get_account_info_with_options_async(request, runtime)
|
|
1229
1533
|
|
|
1534
|
+
def get_coupon_template_detail_with_options(
|
|
1535
|
+
self,
|
|
1536
|
+
request: agency_20221216_models.GetCouponTemplateDetailRequest,
|
|
1537
|
+
runtime: util_models.RuntimeOptions,
|
|
1538
|
+
) -> agency_20221216_models.GetCouponTemplateDetailResponse:
|
|
1539
|
+
"""
|
|
1540
|
+
@summary 查询优惠券模板详情
|
|
1541
|
+
|
|
1542
|
+
@param request: GetCouponTemplateDetailRequest
|
|
1543
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1544
|
+
@return: GetCouponTemplateDetailResponse
|
|
1545
|
+
"""
|
|
1546
|
+
UtilClient.validate_model(request)
|
|
1547
|
+
query = {}
|
|
1548
|
+
if not UtilClient.is_unset(request.template_id):
|
|
1549
|
+
query['TemplateId'] = request.template_id
|
|
1550
|
+
req = open_api_models.OpenApiRequest(
|
|
1551
|
+
query=OpenApiUtilClient.query(query)
|
|
1552
|
+
)
|
|
1553
|
+
params = open_api_models.Params(
|
|
1554
|
+
action='GetCouponTemplateDetail',
|
|
1555
|
+
version='2022-12-16',
|
|
1556
|
+
protocol='HTTPS',
|
|
1557
|
+
pathname='/',
|
|
1558
|
+
method='POST',
|
|
1559
|
+
auth_type='AK',
|
|
1560
|
+
style='RPC',
|
|
1561
|
+
req_body_type='formData',
|
|
1562
|
+
body_type='json'
|
|
1563
|
+
)
|
|
1564
|
+
return TeaCore.from_map(
|
|
1565
|
+
agency_20221216_models.GetCouponTemplateDetailResponse(),
|
|
1566
|
+
self.call_api(params, req, runtime)
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
async def get_coupon_template_detail_with_options_async(
|
|
1570
|
+
self,
|
|
1571
|
+
request: agency_20221216_models.GetCouponTemplateDetailRequest,
|
|
1572
|
+
runtime: util_models.RuntimeOptions,
|
|
1573
|
+
) -> agency_20221216_models.GetCouponTemplateDetailResponse:
|
|
1574
|
+
"""
|
|
1575
|
+
@summary 查询优惠券模板详情
|
|
1576
|
+
|
|
1577
|
+
@param request: GetCouponTemplateDetailRequest
|
|
1578
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1579
|
+
@return: GetCouponTemplateDetailResponse
|
|
1580
|
+
"""
|
|
1581
|
+
UtilClient.validate_model(request)
|
|
1582
|
+
query = {}
|
|
1583
|
+
if not UtilClient.is_unset(request.template_id):
|
|
1584
|
+
query['TemplateId'] = request.template_id
|
|
1585
|
+
req = open_api_models.OpenApiRequest(
|
|
1586
|
+
query=OpenApiUtilClient.query(query)
|
|
1587
|
+
)
|
|
1588
|
+
params = open_api_models.Params(
|
|
1589
|
+
action='GetCouponTemplateDetail',
|
|
1590
|
+
version='2022-12-16',
|
|
1591
|
+
protocol='HTTPS',
|
|
1592
|
+
pathname='/',
|
|
1593
|
+
method='POST',
|
|
1594
|
+
auth_type='AK',
|
|
1595
|
+
style='RPC',
|
|
1596
|
+
req_body_type='formData',
|
|
1597
|
+
body_type='json'
|
|
1598
|
+
)
|
|
1599
|
+
return TeaCore.from_map(
|
|
1600
|
+
agency_20221216_models.GetCouponTemplateDetailResponse(),
|
|
1601
|
+
await self.call_api_async(params, req, runtime)
|
|
1602
|
+
)
|
|
1603
|
+
|
|
1604
|
+
def get_coupon_template_detail(
|
|
1605
|
+
self,
|
|
1606
|
+
request: agency_20221216_models.GetCouponTemplateDetailRequest,
|
|
1607
|
+
) -> agency_20221216_models.GetCouponTemplateDetailResponse:
|
|
1608
|
+
"""
|
|
1609
|
+
@summary 查询优惠券模板详情
|
|
1610
|
+
|
|
1611
|
+
@param request: GetCouponTemplateDetailRequest
|
|
1612
|
+
@return: GetCouponTemplateDetailResponse
|
|
1613
|
+
"""
|
|
1614
|
+
runtime = util_models.RuntimeOptions()
|
|
1615
|
+
return self.get_coupon_template_detail_with_options(request, runtime)
|
|
1616
|
+
|
|
1617
|
+
async def get_coupon_template_detail_async(
|
|
1618
|
+
self,
|
|
1619
|
+
request: agency_20221216_models.GetCouponTemplateDetailRequest,
|
|
1620
|
+
) -> agency_20221216_models.GetCouponTemplateDetailResponse:
|
|
1621
|
+
"""
|
|
1622
|
+
@summary 查询优惠券模板详情
|
|
1623
|
+
|
|
1624
|
+
@param request: GetCouponTemplateDetailRequest
|
|
1625
|
+
@return: GetCouponTemplateDetailResponse
|
|
1626
|
+
"""
|
|
1627
|
+
runtime = util_models.RuntimeOptions()
|
|
1628
|
+
return await self.get_coupon_template_detail_with_options_async(request, runtime)
|
|
1629
|
+
|
|
1230
1630
|
def get_coupondeduct_product_code_with_options(
|
|
1231
1631
|
self,
|
|
1232
1632
|
request: agency_20221216_models.GetCoupondeductProductCodeRequest,
|