lib/v20180321/models.rb in tencentcloud-sdk-partners-3.0.591 vs lib/v20180321/models.rb in tencentcloud-sdk-partners-3.0.592

- old
+ new

@@ -221,168 +221,10 @@ @ClientName = params['ClientName'] end end # 描述代理商代付的订单信息 - class AgentDealElem < TencentCloud::Common::AbstractModel - # @param DealId: 订单自增 ID【请勿依赖该字段作为唯一标识】 - # @type DealId: String - # @param DealName: 订单号【订单唯一键】 - # @type DealName: String - # @param GoodsCategoryId: 商品类型 ID - # @type GoodsCategoryId: String - # @param OwnerUin: 订单所有者 - # @type OwnerUin: String - # @param AppId: 订单所有者对应 appId - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type AppId: String - # @param GoodsNum: 商品数量 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type GoodsNum: String - # @param GoodsPrice: 价格详情 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type GoodsPrice: :class:`Tencentcloud::Partners.v20180321.models.DealGoodsPriceElem` - # @param Creater: 下单人 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type Creater: String - # @param CreatTime: 下单时间 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type CreatTime: String - # @param PayEndTime: 支付结束时间 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type PayEndTime: String - # @param BillId: 扣费流水号 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type BillId: String - # @param Payer: 支付人 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type Payer: String - # @param DealStatus: 订单状态,中文描述 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type DealStatus: String - # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中) - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type Status: String - # @param GoodsName: 产品名称 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type GoodsName: String - # @param ClientRemark: 客户备注 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ClientRemark: String - # @param ActionType: 订单操作类型,purchase(新购),renew(续费),modify(配置变更) - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ActionType: String - # @param VoucherDecline: 代金券抵扣金额,单位分 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type VoucherDecline: String - # @param BigDealId: 大订单号 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type BigDealId: String - # @param ClientType: 客户类型(new:自拓;old:官网;assign:指派;direct:直销;direct_newopp:直销(新商机)) - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ClientType: String - # @param ProjectType: 项目类型(self:自拓;repeat:直销;platform:官网合作) - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ProjectType: String - # @param SalesUin: 业务员账号ID - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type SalesUin: String - # @param PayerMode: 支付方式,0:自付;1:代付 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type PayerMode: String - # @param ActivityId: 活动ID - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ActivityId: String - # @param OverdueTime: 订单过期时间 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type OverdueTime: String - # @param ProductInfo: 产品详情 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type ProductInfo: Array - # @param PaymentMethod: 付款方式 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type PaymentMethod: String - # @param UpdateTime: 订单更新时间 - # 注意:此字段可能返回 null,表示取不到有效值。 - # @type UpdateTime: String - - attr_accessor :DealId, :DealName, :GoodsCategoryId, :OwnerUin, :AppId, :GoodsNum, :GoodsPrice, :Creater, :CreatTime, :PayEndTime, :BillId, :Payer, :DealStatus, :Status, :GoodsName, :ClientRemark, :ActionType, :VoucherDecline, :BigDealId, :ClientType, :ProjectType, :SalesUin, :PayerMode, :ActivityId, :OverdueTime, :ProductInfo, :PaymentMethod, :UpdateTime - - def initialize(dealid=nil, dealname=nil, goodscategoryid=nil, owneruin=nil, appid=nil, goodsnum=nil, goodsprice=nil, creater=nil, creattime=nil, payendtime=nil, billid=nil, payer=nil, dealstatus=nil, status=nil, goodsname=nil, clientremark=nil, actiontype=nil, voucherdecline=nil, bigdealid=nil, clienttype=nil, projecttype=nil, salesuin=nil, payermode=nil, activityid=nil, overduetime=nil, productinfo=nil, paymentmethod=nil, updatetime=nil) - @DealId = dealid - @DealName = dealname - @GoodsCategoryId = goodscategoryid - @OwnerUin = owneruin - @AppId = appid - @GoodsNum = goodsnum - @GoodsPrice = goodsprice - @Creater = creater - @CreatTime = creattime - @PayEndTime = payendtime - @BillId = billid - @Payer = payer - @DealStatus = dealstatus - @Status = status - @GoodsName = goodsname - @ClientRemark = clientremark - @ActionType = actiontype - @VoucherDecline = voucherdecline - @BigDealId = bigdealid - @ClientType = clienttype - @ProjectType = projecttype - @SalesUin = salesuin - @PayerMode = payermode - @ActivityId = activityid - @OverdueTime = overduetime - @ProductInfo = productinfo - @PaymentMethod = paymentmethod - @UpdateTime = updatetime - end - - def deserialize(params) - @DealId = params['DealId'] - @DealName = params['DealName'] - @GoodsCategoryId = params['GoodsCategoryId'] - @OwnerUin = params['OwnerUin'] - @AppId = params['AppId'] - @GoodsNum = params['GoodsNum'] - unless params['GoodsPrice'].nil? - @GoodsPrice = DealGoodsPriceElem.new - @GoodsPrice.deserialize(params['GoodsPrice']) - end - @Creater = params['Creater'] - @CreatTime = params['CreatTime'] - @PayEndTime = params['PayEndTime'] - @BillId = params['BillId'] - @Payer = params['Payer'] - @DealStatus = params['DealStatus'] - @Status = params['Status'] - @GoodsName = params['GoodsName'] - @ClientRemark = params['ClientRemark'] - @ActionType = params['ActionType'] - @VoucherDecline = params['VoucherDecline'] - @BigDealId = params['BigDealId'] - @ClientType = params['ClientType'] - @ProjectType = params['ProjectType'] - @SalesUin = params['SalesUin'] - @PayerMode = params['PayerMode'] - @ActivityId = params['ActivityId'] - @OverdueTime = params['OverdueTime'] - unless params['ProductInfo'].nil? - @ProductInfo = [] - params['ProductInfo'].each do |i| - productinfoelem_tmp = ProductInfoElem.new - productinfoelem_tmp.deserialize(i) - @ProductInfo << productinfoelem_tmp - end - end - @PaymentMethod = params['PaymentMethod'] - @UpdateTime = params['UpdateTime'] - end - end - - # 描述代理商代付的订单信息 class AgentDealNewElem < TencentCloud::Common::AbstractModel # @param DealId: 订单自增 ID【请勿依赖该字段作为唯一标识】 # @type DealId: String # @param DealName: 订单号【订单唯一键】 # @type DealName: String @@ -784,30 +626,10 @@ @RequestId = params['RequestId'] end end # 订单价格详情 - class DealGoodsPriceElem < TencentCloud::Common::AbstractModel - # @param RealTotalCost: 实付金额(单位:分) - # @type RealTotalCost: Integer - # @param OriginalTotalCost: 订单实际金额(不含折扣,单位:分) - # @type OriginalTotalCost: Integer - - attr_accessor :RealTotalCost, :OriginalTotalCost - - def initialize(realtotalcost=nil, originaltotalcost=nil) - @RealTotalCost = realtotalcost - @OriginalTotalCost = originaltotalcost - end - - def deserialize(params) - @RealTotalCost = params['RealTotalCost'] - @OriginalTotalCost = params['OriginalTotalCost'] - end - end - - # 订单价格详情 class DealGoodsPriceNewElem < TencentCloud::Common::AbstractModel # @param RealTotalCost: 实付金额(单位:分) # @type RealTotalCost: Integer # @param OriginalTotalCost: 原始金额(不含折扣,单位:分) # @type OriginalTotalCost: Integer @@ -1195,164 +1017,10 @@ @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end - # DescribeAgentDealsCache请求参数结构体 - class DescribeAgentDealsCacheRequest < TencentCloud::Common::AbstractModel - # @param Offset: 偏移量 - # @type Offset: Integer - # @param Limit: 限制数目 最大200 - # @type Limit: Integer - # @param CreatTimeRangeStart: 下单时间范围起始点【请保持时间范围最大90天】 - # @type CreatTimeRangeStart: String - # @param CreatTimeRangeEnd: 下单时间范围终止点【请保持时间范围最大90天】 - # @type CreatTimeRangeEnd: String - # @param Order: 0:下单时间降序;其他:下单时间升序 - # @type Order: Integer - # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中) - # @type Status: Integer - # @param OwnerUins: 下单人账号ID列表 - # @type OwnerUins: Array - # @param DealNames: 订单号列表 - # @type DealNames: Array - # @param PayerMode: 支付方式,0:自付;1:代付 - # @type PayerMode: Integer - - attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames, :PayerMode - - def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil, payermode=nil) - @Offset = offset - @Limit = limit - @CreatTimeRangeStart = creattimerangestart - @CreatTimeRangeEnd = creattimerangeend - @Order = order - @Status = status - @OwnerUins = owneruins - @DealNames = dealnames - @PayerMode = payermode - end - - def deserialize(params) - @Offset = params['Offset'] - @Limit = params['Limit'] - @CreatTimeRangeStart = params['CreatTimeRangeStart'] - @CreatTimeRangeEnd = params['CreatTimeRangeEnd'] - @Order = params['Order'] - @Status = params['Status'] - @OwnerUins = params['OwnerUins'] - @DealNames = params['DealNames'] - @PayerMode = params['PayerMode'] - end - end - - # DescribeAgentDealsCache返回参数结构体 - class DescribeAgentDealsCacheResponse < TencentCloud::Common::AbstractModel - # @param AgentDealSet: 订单数组 - # @type AgentDealSet: Array - # @param TotalCount: 符合条件的订单总数量 - # @type TotalCount: Integer - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :AgentDealSet, :TotalCount, :RequestId - - def initialize(agentdealset=nil, totalcount=nil, requestid=nil) - @AgentDealSet = agentdealset - @TotalCount = totalcount - @RequestId = requestid - end - - def deserialize(params) - unless params['AgentDealSet'].nil? - @AgentDealSet = [] - params['AgentDealSet'].each do |i| - agentdealelem_tmp = AgentDealElem.new - agentdealelem_tmp.deserialize(i) - @AgentDealSet << agentdealelem_tmp - end - end - @TotalCount = params['TotalCount'] - @RequestId = params['RequestId'] - end - end - - # DescribeAgentPayDeals请求参数结构体 - class DescribeAgentPayDealsRequest < TencentCloud::Common::AbstractModel - # @param Offset: 偏移量 - # @type Offset: Integer - # @param Limit: 限制数目 最大100 - # @type Limit: Integer - # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间) - # @type CreatTimeRangeStart: String - # @param CreatTimeRangeEnd: 下单时间范围终止点 - # @type CreatTimeRangeEnd: String - # @param Order: 0:下单时间降序;其他:下单时间升序 - # @type Order: Integer - # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中) - # @type Status: Integer - # @param OwnerUins: 下单人账号ID列表 - # @type OwnerUins: Array - # @param DealNames: 订单号列表 - # @type DealNames: Array - - attr_accessor :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :OwnerUins, :DealNames - - def initialize(offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, owneruins=nil, dealnames=nil) - @Offset = offset - @Limit = limit - @CreatTimeRangeStart = creattimerangestart - @CreatTimeRangeEnd = creattimerangeend - @Order = order - @Status = status - @OwnerUins = owneruins - @DealNames = dealnames - end - - def deserialize(params) - @Offset = params['Offset'] - @Limit = params['Limit'] - @CreatTimeRangeStart = params['CreatTimeRangeStart'] - @CreatTimeRangeEnd = params['CreatTimeRangeEnd'] - @Order = params['Order'] - @Status = params['Status'] - @OwnerUins = params['OwnerUins'] - @DealNames = params['DealNames'] - end - end - - # DescribeAgentPayDeals返回参数结构体 - class DescribeAgentPayDealsResponse < TencentCloud::Common::AbstractModel - # @param AgentPayDealSet: 订单数组 - # @type AgentPayDealSet: Array - # @param TotalCount: 符合条件的订单总数量 - # @type TotalCount: Integer - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :AgentPayDealSet, :TotalCount, :RequestId - - def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil) - @AgentPayDealSet = agentpaydealset - @TotalCount = totalcount - @RequestId = requestid - end - - def deserialize(params) - unless params['AgentPayDealSet'].nil? - @AgentPayDealSet = [] - params['AgentPayDealSet'].each do |i| - agentdealelem_tmp = AgentDealElem.new - agentdealelem_tmp.deserialize(i) - @AgentPayDealSet << agentdealelem_tmp - end - end - @TotalCount = params['TotalCount'] - @RequestId = params['RequestId'] - end - end - # DescribeAgentPayDealsV2请求参数结构体 class DescribeAgentPayDealsV2Request < TencentCloud::Common::AbstractModel # @param Offset: 偏移量 # @type Offset: Integer # @param Limit: 限制数目 最大100 @@ -1428,85 +1096,10 @@ @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end - # DescribeAgentSelfPayDeals请求参数结构体 - class DescribeAgentSelfPayDealsRequest < TencentCloud::Common::AbstractModel - # @param OwnerUin: 下单人账号ID - # @type OwnerUin: String - # @param Offset: 偏移量 - # @type Offset: Integer - # @param Limit: 限制数目 最大100 - # @type Limit: Integer - # @param CreatTimeRangeStart: 下单时间范围起始点(不传时会默认查15天内订单,传值时需要传15天内的起始时间) - # @type CreatTimeRangeStart: String - # @param CreatTimeRangeEnd: 下单时间范围终止点 - # @type CreatTimeRangeEnd: String - # @param Order: 0:下单时间降序;其他:下单时间升序 - # @type Order: Integer - # @param Status: 订单的状态(1:未支付;2:已支付;3:发货中;4:已发货;5:发货失败;6:已退款;7:已关单;8:订单过期;9:订单已失效;10:产品已失效;11:代付拒绝;12:支付中) - # @type Status: Integer - # @param DealNames: 订单号列表 - # @type DealNames: Array - - attr_accessor :OwnerUin, :Offset, :Limit, :CreatTimeRangeStart, :CreatTimeRangeEnd, :Order, :Status, :DealNames - - def initialize(owneruin=nil, offset=nil, limit=nil, creattimerangestart=nil, creattimerangeend=nil, order=nil, status=nil, dealnames=nil) - @OwnerUin = owneruin - @Offset = offset - @Limit = limit - @CreatTimeRangeStart = creattimerangestart - @CreatTimeRangeEnd = creattimerangeend - @Order = order - @Status = status - @DealNames = dealnames - end - - def deserialize(params) - @OwnerUin = params['OwnerUin'] - @Offset = params['Offset'] - @Limit = params['Limit'] - @CreatTimeRangeStart = params['CreatTimeRangeStart'] - @CreatTimeRangeEnd = params['CreatTimeRangeEnd'] - @Order = params['Order'] - @Status = params['Status'] - @DealNames = params['DealNames'] - end - end - - # DescribeAgentSelfPayDeals返回参数结构体 - class DescribeAgentSelfPayDealsResponse < TencentCloud::Common::AbstractModel - # @param AgentPayDealSet: 订单数组 - # @type AgentPayDealSet: Array - # @param TotalCount: 符合条件的订单总数量 - # @type TotalCount: Integer - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :AgentPayDealSet, :TotalCount, :RequestId - - def initialize(agentpaydealset=nil, totalcount=nil, requestid=nil) - @AgentPayDealSet = agentpaydealset - @TotalCount = totalcount - @RequestId = requestid - end - - def deserialize(params) - unless params['AgentPayDealSet'].nil? - @AgentPayDealSet = [] - params['AgentPayDealSet'].each do |i| - agentdealelem_tmp = AgentDealElem.new - agentdealelem_tmp.deserialize(i) - @AgentPayDealSet << agentdealelem_tmp - end - end - @TotalCount = params['TotalCount'] - @RequestId = params['RequestId'] - end - end - # DescribeAgentSelfPayDealsV2请求参数结构体 class DescribeAgentSelfPayDealsV2Request < TencentCloud::Common::AbstractModel # @param OwnerUin: 下单人账号ID # @type OwnerUin: String # @param Offset: 偏移量 @@ -1601,49 +1194,9 @@ end # DescribeClientBalanceNew返回参数结构体 class DescribeClientBalanceNewResponse < TencentCloud::Common::AbstractModel # @param Balance: 账户可用余额,单位分 (可用余额 = 现金余额 + 赠送金余额 - 欠费金额 - 冻结金额) - # @type Balance: Integer - # @param Cash: 账户现金余额,单位分 - # @type Cash: Integer - # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 - # @type RequestId: String - - attr_accessor :Balance, :Cash, :RequestId - - def initialize(balance=nil, cash=nil, requestid=nil) - @Balance = balance - @Cash = cash - @RequestId = requestid - end - - def deserialize(params) - @Balance = params['Balance'] - @Cash = params['Cash'] - @RequestId = params['RequestId'] - end - end - - # DescribeClientBalance请求参数结构体 - class DescribeClientBalanceRequest < TencentCloud::Common::AbstractModel - # @param ClientUin: 客户(代客)账号ID - # @type ClientUin: String - - attr_accessor :ClientUin - - def initialize(clientuin=nil) - @ClientUin = clientuin - end - - def deserialize(params) - @ClientUin = params['ClientUin'] - end - end - - # DescribeClientBalance返回参数结构体 - class DescribeClientBalanceResponse < TencentCloud::Common::AbstractModel - # @param Balance: 账户可用余额,单位分 (可用余额 = 现金余额 - 冻结金额) 【注:该数据准确性存疑,请切换至DescribeClientBalanceNew取值】 # @type Balance: Integer # @param Cash: 账户现金余额,单位分 # @type Cash: Integer # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String