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.



7232
7233
7234
7235
7236
7237
7238
7239
# File 'lib/v20181119/models.rb', line 7232

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:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def ItemID
  @ItemID
end

#NameObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def Name
  @Name
end

#QuantityObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def Quantity
  @Quantity
end

#StandardObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def Standard
  @Standard
end

#TotalObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def Total
  @Total
end

#UnitObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7230
7231
7232
# File 'lib/v20181119/models.rb', line 7230

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



7241
7242
7243
7244
7245
7246
7247
7248
# File 'lib/v20181119/models.rb', line 7241

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