Class: TencentCloud::Ocr::V20181119::TollInvoice

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

过路过桥费发票

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title = nil, code = nil, number = nil, total = nil, kind = nil, date = nil, time = nil, entrance = nil, exit = nil, highwaymark = nil, qrcodemark = nil) ⇒ TollInvoice

Returns a new instance of TollInvoice.



11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
# File 'lib/v20181119/models.rb', line 11405

def initialize(title=nil, code=nil, number=nil, total=nil, kind=nil, date=nil, time=nil, entrance=nil, exit=nil, highwaymark=nil, qrcodemark=nil)
  @Title = title
  @Code = code
  @Number = number
  @Total = total
  @Kind = kind
  @Date = date
  @Time = time
  @Entrance = entrance
  @Exit = exit
  @HighwayMark = highwaymark
  @QRCodeMark = qrcodemark
end

Instance Attribute Details

#CodeObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Code
  @Code
end

#DateObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Date
  @Date
end

#EntranceObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Entrance
  @Entrance
end

#ExitObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Exit
  @Exit
end

#HighwayMarkObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def HighwayMark
  @HighwayMark
end

#KindObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Kind
  @Kind
end

#NumberObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Number
  @Number
end

#QRCodeMarkObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def QRCodeMark
  @QRCodeMark
end

#TimeObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Time
  @Time
end

#TitleObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Title
  @Title
end

#TotalObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • Kind:

    发票消费类型

  • Date:

    日期

  • Time:

    时间

  • Entrance:

    入口

  • Exit:

    出口

  • HighwayMark:

    高速标志(0:没有,1:有)

  • QRCodeMark:

    是否存在二维码(1:有,0:无)



11403
11404
11405
# File 'lib/v20181119/models.rb', line 11403

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
# File 'lib/v20181119/models.rb', line 11419

def deserialize(params)
  @Title = params['Title']
  @Code = params['Code']
  @Number = params['Number']
  @Total = params['Total']
  @Kind = params['Kind']
  @Date = params['Date']
  @Time = params['Time']
  @Entrance = params['Entrance']
  @Exit = params['Exit']
  @HighwayMark = params['HighwayMark']
  @QRCodeMark = params['QRCodeMark']
end