Class: TencentCloud::Ocr::V20181119::ShipInvoiceInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::ShipInvoiceInfo
- 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) ⇒ ShipInvoiceInfo
constructor
A new instance of ShipInvoiceInfo.
Constructor Details
#initialize(name = nil, value = nil, rect = nil) ⇒ ShipInvoiceInfo
Returns a new instance of ShipInvoiceInfo.
10340 10341 10342 10343 10344 |
# File 'lib/v20181119/models.rb', line 10340 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
10338 10339 10340 |
# File 'lib/v20181119/models.rb', line 10338 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
10338 10339 10340 |
# File 'lib/v20181119/models.rb', line 10338 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
10338 10339 10340 |
# File 'lib/v20181119/models.rb', line 10338 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
10346 10347 10348 10349 10350 10351 10352 10353 |
# File 'lib/v20181119/models.rb', line 10346 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |