Class: TencentCloud::Cpdp::V20190820::QueryContractPayFeeResult

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190820/models.rb

Overview

支付方式费率及自定义表单项

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pay = nil, extrainput = nil, payfee = nil) ⇒ QueryContractPayFeeResult

Returns a new instance of QueryContractPayFeeResult.



16227
16228
16229
16230
16231
# File 'lib/v20190820/models.rb', line 16227

def initialize(pay=nil, extrainput=nil, payfee=nil)
  @Pay = pay
  @ExtraInput = extrainput
  @PayFee = payfee
end

Instance Attribute Details

#ExtraInputObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Pay:

    pay支付方式json数据

  • ExtraInput:

    合同扩展自定义字段

  • PayFee:

    pay_fee支付方式行业分类费率json数据



16225
16226
16227
# File 'lib/v20190820/models.rb', line 16225

def ExtraInput
  @ExtraInput
end

#PayObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Pay:

    pay支付方式json数据

  • ExtraInput:

    合同扩展自定义字段

  • PayFee:

    pay_fee支付方式行业分类费率json数据



16225
16226
16227
# File 'lib/v20190820/models.rb', line 16225

def Pay
  @Pay
end

#PayFeeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Pay:

    pay支付方式json数据

  • ExtraInput:

    合同扩展自定义字段

  • PayFee:

    pay_fee支付方式行业分类费率json数据



16225
16226
16227
# File 'lib/v20190820/models.rb', line 16225

def PayFee
  @PayFee
end

Instance Method Details

#deserialize(params) ⇒ Object



16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
# File 'lib/v20190820/models.rb', line 16233

def deserialize(params)
  unless params['Pay'].nil?
    @Pay = PayDataResult.new
    @Pay.deserialize(params['Pay'])
  end
  @ExtraInput = params['ExtraInput']
  unless params['PayFee'].nil?
    @PayFee = []
    params['PayFee'].each do |i|
      payfeedataresult_tmp = PayFeeDataResult.new
      payfeedataresult_tmp.deserialize(i)
      @PayFee << payfeedataresult_tmp
    end
  end
end