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.
11446 11447 11448 11449 11450 |
# File 'lib/v20181119/models.rb', line 11446 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
11444 11445 11446 |
# File 'lib/v20181119/models.rb', line 11444 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
11444 11445 11446 |
# File 'lib/v20181119/models.rb', line 11444 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、金额、入口、出口、时间、发票消费类型、高速标志。
11444 11445 11446 |
# File 'lib/v20181119/models.rb', line 11444 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
11452 11453 11454 11455 11456 11457 11458 11459 |
# File 'lib/v20181119/models.rb', line 11452 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |