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
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
#Name ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
12605 12606 12607 |
# File 'lib/v20181119/models.rb', line 12605 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
12605 12606 12607 |
# File 'lib/v20181119/models.rb', line 12605 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
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 |