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.
9574 9575 9576 9577 9578 |
# File 'lib/v20181119/models.rb', line 9574 def initialize(name=nil, value=nil, rect=nil) @Name = name @Value = value @Rect = rect end |
Instance Attribute Details
#Name ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
9572 9573 9574 |
# File 'lib/v20181119/models.rb', line 9572 def Name @Name end |
#Rect ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
9572 9573 9574 |
# File 'lib/v20181119/models.rb', line 9572 def Rect @Rect end |
#Value ⇒ Object
发票代码、发票号码、日期、票价、始发地、目的地、姓名、时间、发票消费类型、省、市、币种。
9572 9573 9574 |
# File 'lib/v20181119/models.rb', line 9572 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
9580 9581 9582 9583 9584 9585 9586 9587 |
# File 'lib/v20181119/models.rb', line 9580 def deserialize(params) @Name = params['Name'] @Value = params['Value'] unless params['Rect'].nil? @Rect = Rect.new @Rect.deserialize(params['Rect']) end end |