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.



7053
7054
7055
7056
7057
7058
7059
7060
# File 'lib/v20181119/models.rb', line 7053

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:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def ItemID
  @ItemID
end

#NameObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def Name
  @Name
end

#QuantityObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def Quantity
  @Quantity
end

#StandardObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def Standard
  @Standard
end

#TotalObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def Total
  @Total
end

#UnitObject

Parameters:

  • ItemID:

    项目编码

  • Name:

    项目名称

  • Unit:

    单位

  • Quantity:

    数量

  • Standard:

    标准

  • Total:

    金额



7051
7052
7053
# File 'lib/v20181119/models.rb', line 7051

def Unit
  @Unit
end

Instance Method Details

#deserialize(params) ⇒ Object



7062
7063
7064
7065
7066
7067
7068
7069
# File 'lib/v20181119/models.rb', line 7062

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