class TencentCloud::Partners::V20180321::AgentDealElem
描述代理商代付的订单信息
def deserialize(params)
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
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)
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