tencentcloud-sdk-mna 3.0.767 → 3.0.769
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210119/models.rb +12 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1304f7ac45d3d0b8d3b0be03f9794fc935d9e60e
|
4
|
+
data.tar.gz: 8b71d2b79f76f4678cbc0af644ced33f176156fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfea11f7dd49cdba29b478ff4fb34c7f064b9f514f65bea5a001116aa7b6efd156fbc86eba9366916f5173570e15c91636a9b780494d91567c6b69ba59f6d7eb
|
7
|
+
data.tar.gz: 2bc7feed28ab2b05d8df19d8e5be523a6e864769dddbcef3bab6db4bbd60dd05ff6a52b99a594c55f3dd3bade6f25ef1b056ff8cd51e1d92e0cecd6232efa348
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.769
|
data/lib/v20210119/models.rb
CHANGED
@@ -1755,14 +1755,22 @@ module TencentCloud
|
|
1755
1755
|
# @type AutoRenewFlag: Boolean
|
1756
1756
|
# @param PackageRegion: 区域标识,0:国内,1:国外
|
1757
1757
|
# @type PackageRegion: Integer
|
1758
|
+
# @param AutoVoucher: 是否自动选择代金券,默认false。
|
1759
|
+
# 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
1760
|
+
# @type AutoVoucher: Boolean
|
1761
|
+
# @param VoucherIds: 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
|
1762
|
+
# 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
1763
|
+
# @type VoucherIds: Array
|
1758
1764
|
|
1759
|
-
attr_accessor :PackageType, :DeviceList, :AutoRenewFlag, :PackageRegion
|
1765
|
+
attr_accessor :PackageType, :DeviceList, :AutoRenewFlag, :PackageRegion, :AutoVoucher, :VoucherIds
|
1760
1766
|
|
1761
|
-
def initialize(packagetype=nil, devicelist=nil, autorenewflag=nil, packageregion=nil)
|
1767
|
+
def initialize(packagetype=nil, devicelist=nil, autorenewflag=nil, packageregion=nil, autovoucher=nil, voucherids=nil)
|
1762
1768
|
@PackageType = packagetype
|
1763
1769
|
@DeviceList = devicelist
|
1764
1770
|
@AutoRenewFlag = autorenewflag
|
1765
1771
|
@PackageRegion = packageregion
|
1772
|
+
@AutoVoucher = autovoucher
|
1773
|
+
@VoucherIds = voucherids
|
1766
1774
|
end
|
1767
1775
|
|
1768
1776
|
def deserialize(params)
|
@@ -1770,6 +1778,8 @@ module TencentCloud
|
|
1770
1778
|
@DeviceList = params['DeviceList']
|
1771
1779
|
@AutoRenewFlag = params['AutoRenewFlag']
|
1772
1780
|
@PackageRegion = params['PackageRegion']
|
1781
|
+
@AutoVoucher = params['AutoVoucher']
|
1782
|
+
@VoucherIds = params['VoucherIds']
|
1773
1783
|
end
|
1774
1784
|
end
|
1775
1785
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-mna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.769
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|