tencentcloud-sdk-mna 3.0.768 → 3.0.769

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: 1304f7ac45d3d0b8d3b0be03f9794fc935d9e60e
4
+ data.tar.gz: 8b71d2b79f76f4678cbc0af644ced33f176156fb
5
5
  SHA512:
6
- metadata.gz: bc96de61b4d4267091ac80c95eb414df49760cd60eea4eecebac3bbfe4feed8d7d593d418bcd79b8c035394c7db53b790e88010fe2b317aa02a9aa6d687f0d42
7
- data.tar.gz: f2746681331391b52c4d1493826a997fbb88e2a9497b8ffa36f1d900fa23862bc51cf03be0b72a44de41e6f9050b738b72cf4add1a6130dff590fa5cd78d7c76
6
+ metadata.gz: dfea11f7dd49cdba29b478ff4fb34c7f064b9f514f65bea5a001116aa7b6efd156fbc86eba9366916f5173570e15c91636a9b780494d91567c6b69ba59f6d7eb
7
+ data.tar.gz: 2bc7feed28ab2b05d8df19d8e5be523a6e864769dddbcef3bab6db4bbd60dd05ff6a52b99a594c55f3dd3bade6f25ef1b056ff8cd51e1d92e0cecd6232efa348
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.768
1
+ 3.0.769
@@ -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.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-22 00:00:00.000000000 Z
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