Class: TencentCloud::Ocr::V20181119::NonTaxItem

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

Overview

非税收入条目

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(itemid = nil, name = nil, unit = nil, quantity = nil, standard = nil, total = nil) ⇒ NonTaxItem

Returns a new instance of NonTaxItem.



6393
6394
6395
6396
6397
6398
6399
6400
# File 'lib/v20181119/models.rb', line 6393

def initialize(itemid=nil, name=nil, unit=nil, quantity=nil, standard=nil, total=nil)
  @ItemID = itemid
  @Name = name
  @Unit = unit
  @Quantity = quantity
  @Standard = standard
  @Total = total
end

Instance Attribute Details

#ItemIDObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def ItemID
  @ItemID
end

#NameObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def Name
  @Name
end

#QuantityObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def Quantity
  @Quantity
end

#StandardObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def Standard
  @Standard
end

#TotalObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def Total
  @Total
end

#UnitObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



6391
6392
6393
# File 'lib/v20181119/models.rb', line 6391

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



6402
6403
6404
6405
6406
6407
6408
6409
# File 'lib/v20181119/models.rb', line 6402

def deserialize(params)
  @ItemID = params['ItemID']
  @Name = params['Name']
  @Unit = params['Unit']
  @Quantity = params['Quantity']
  @Standard = params['Standard']
  @Total = params['Total']
end