Class: TencentCloud::Ocr::V20181119::TollInvoiceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::TollInvoiceInfo
- Defined in:
- lib/v20181119/models.rb
Overview
过路过桥费字段信息
Instance Attribute Summary collapse
-
#Name ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。.
-
#Rect ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。.
-
#Value ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, value = nil, rect = nil) ⇒ TollInvoiceInfo
constructor
A new instance of TollInvoiceInfo.
Constructor Details
#initialize(name = nil, value = nil, rect = nil) ⇒ TollInvoiceInfo
Returns a new instance of TollInvoiceInfo.
12370 12371 12372 12373 12374 |
# File 'lib/v20181119/models.rb', line 12370 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
12368 12369 12370 |
# File 'lib/v20181119/models.rb', line 12368 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
12368 12369 12370 |
# File 'lib/v20181119/models.rb', line 12368 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
12368 12369 12370 |
# File 'lib/v20181119/models.rb', line 12368 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
12376 12377 12378 12379 12380 12381 12382 12383 |
# File 'lib/v20181119/models.rb', line 12376 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |