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.
879 880 881 882 883 |
# File 'lib/v20181119/models.rb', line 879 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
877 878 879 |
# File 'lib/v20181119/models.rb', line 877 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
877 878 879 |
# File 'lib/v20181119/models.rb', line 877 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、身份证号、省、市、开票日期、乘车地点、检票口、客票类型、车型、座位号、车次。
877 878 879 |
# File 'lib/v20181119/models.rb', line 877 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
885 886 887 888 889 890 891 892 |
# File 'lib/v20181119/models.rb', line 885 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |