Class: TencentCloud::Ocr::V20181119::TollInvoiceInfo

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

Overview

过路过桥费字段信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil, rect = nil) ⇒ TollInvoiceInfo



12607
12608
12609
12610
12611
# File 'lib/v20181119/models.rb', line 12607

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

Instance Attribute Details

#NameObject

发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。



12605
12606
12607
# File 'lib/v20181119/models.rb', line 12605

def Name
  @Name
end

#RectObject

发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。



12605
12606
12607
# File 'lib/v20181119/models.rb', line 12605

def Rect
  @Rect
end

#ValueObject

发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。



12605
12606
12607
# File 'lib/v20181119/models.rb', line 12605

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



12613
12614
12615
12616
12617
12618
12619
12620
# File 'lib/v20181119/models.rb', line 12613

def deserialize(params)
  @Name = params['Name']
  @Value = params['Value']
  unless params['Rect'].nil?
    @Rect = Rect.new
    @Rect.deserialize(params['Rect'])
  end
end