Class: TencentCloud::Ocr::V20181119::OtherInvoiceItem

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

Overview

OtherInvoiceItem

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ OtherInvoiceItem

Returns a new instance of OtherInvoiceItem.



6551
6552
6553
6554
# File 'lib/v20181119/models.rb', line 6551

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    票面key值

  • Value:

    票面value值



6549
6550
6551
# File 'lib/v20181119/models.rb', line 6549

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    票面key值

  • Value:

    票面value值



6549
6550
6551
# File 'lib/v20181119/models.rb', line 6549

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



6556
6557
6558
6559
# File 'lib/v20181119/models.rb', line 6556

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
end