tencentcloud-sdk-mna 3.0.768 → 3.0.770

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210119/models.rb +12 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cd2820f747a82cb2f26dfdd717b148e84fa9a83
4
- data.tar.gz: a3393f6a8c170e316ab78e121d6314776d375f81
3
+ metadata.gz: b4eab886828260fd378e3d3ecf38d3102f4e1358
4
+ data.tar.gz: 55676e4c57d8291873c3ba2b2deffbc8e4650247
5
5
  SHA512:
6
- metadata.gz: bc96de61b4d4267091ac80c95eb414df49760cd60eea4eecebac3bbfe4feed8d7d593d418bcd79b8c035394c7db53b790e88010fe2b317aa02a9aa6d687f0d42
7
- data.tar.gz: f2746681331391b52c4d1493826a997fbb88e2a9497b8ffa36f1d900fa23862bc51cf03be0b72a44de41e6f9050b738b72cf4add1a6130dff590fa5cd78d7c76
6
+ metadata.gz: 2bc2e4a0847ef71ea35e3b018a03f0eb347a46abf45e39a7645baab648f32fa4b722a5009dcdabfd0c9e6b575a1c7decbb80e5478c8c0558a71031196e027374
7
+ data.tar.gz: dbcf4641e7715c0c98af9066749a8cff309dff9b1c3da41f2bf8aad6f3c558b3b95e691a613c3038881eb72eb0208663037fabb2464f56f737f94c5f32b3873a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.768
1
+ 3.0.770
@@ -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.768
4
+ version: 3.0.770
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-22 00:00:00.000000000 Z
11
+ date: 2024-02-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common