Class: TencentCloud::Ocr::V20181119::BusInvoiceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::BusInvoiceInfo
- 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) ⇒ BusInvoiceInfo
constructor
A new instance of BusInvoiceInfo.
Constructor Details
#initialize(name = nil, value = nil, rect = nil) ⇒ BusInvoiceInfo
Returns a new instance of BusInvoiceInfo.
959 960 961 962 963 |
# File 'lib/v20181119/models.rb', line 959 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
957 958 959 |
# File 'lib/v20181119/models.rb', line 957 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
957 958 959 |
# File 'lib/v20181119/models.rb', line 957 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
957 958 959 |
# File 'lib/v20181119/models.rb', line 957 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
965 966 967 968 969 970 971 972 |
# File 'lib/v20181119/models.rb', line 965 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |