Class: TencentCloud::Cpdp::V20190820::OrderItem

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(amounthastax = nil, discount = nil, name = nil, models = nil, total = nil, unit = nil, status = nil, price = nil, taxcode = nil) ⇒ OrderItem

Returns a new instance of OrderItem.



13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
# File 'lib/v20190820/models.rb', line 13369

def initialize(amounthastax=nil, discount=nil, name=nil, models=nil, total=nil, unit=nil, status=nil, price=nil, taxcode=nil)
  @AmountHasTax = amounthastax
  @Discount = discount
  @Name = name
  @Models = models
  @Total = total
  @Unit = unit
  @Status = status
  @Price = price
  @TaxCode = taxcode
end

Instance Attribute Details

#AmountHasTaxObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def AmountHasTax
  @AmountHasTax
end

#DiscountObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Discount
  @Discount
end

#ModelsObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Models
  @Models
end

#NameObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Name
  @Name
end

#PriceObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Price
  @Price
end

#StatusObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Status
  @Status
end

#TaxCodeObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def TaxCode
  @TaxCode
end

#TotalObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Total
  @Total
end

#UnitObject

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

Parameters:

  • AmountHasTax:

    明细金额

  • Discount:

    优惠金额

  • Name:

    商品名称

  • Models:

    型号

  • Total:

    数量

  • Unit:

    数量单位

  • Status:

    默认“0”

  • Price:

    单价

  • TaxCode:

    商品编码



13367
13368
13369
# File 'lib/v20190820/models.rb', line 13367

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
# File 'lib/v20190820/models.rb', line 13381

def deserialize(params)
  @AmountHasTax = params['AmountHasTax']
  @Discount = params['Discount']
  @Name = params['Name']
  @Models = params['Models']
  @Total = params['Total']
  @Unit = params['Unit']
  @Status = params['Status']
  @Price = params['Price']
  @TaxCode = params['TaxCode']
end