Class: TencentCloud::Ocr::V20181119::VerifyOfdVatInvoiceOCRResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VerifyOfdVatInvoiceOCRResponse
- Defined in:
- lib/v20181119/models.rb
Overview
VerifyOfdVatInvoiceOCR返回参数结构体
Instance Attribute Summary collapse
-
#AirTicketInfo ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Buyer ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Checker ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#GoodsInfos ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#InvoiceCheckCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#InvoiceClerk ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#InvoiceCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#InvoiceNumber ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#InvoiceTitle ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#IssueDate ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#MachineNumber ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Note ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Payee ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#RailwayTicketInfo ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#RequestId ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Seller ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#TaxControlCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#TaxExclusiveTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#TaxInclusiveTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#TaxTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
-
#Type ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单).
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, invoicecode = nil, invoicenumber = nil, issuedate = nil, invoicecheckcode = nil, machinenumber = nil, taxcontrolcode = nil, buyer = nil, seller = nil, taxinclusivetotalamount = nil, invoiceclerk = nil, payee = nil, checker = nil, taxtotalamount = nil, taxexclusivetotalamount = nil, note = nil, goodsinfos = nil, airticketinfo = nil, railwayticketinfo = nil, invoicetitle = nil, requestid = nil) ⇒ VerifyOfdVatInvoiceOCRResponse
constructor
A new instance of VerifyOfdVatInvoiceOCRResponse.
Constructor Details
#initialize(type = nil, invoicecode = nil, invoicenumber = nil, issuedate = nil, invoicecheckcode = nil, machinenumber = nil, taxcontrolcode = nil, buyer = nil, seller = nil, taxinclusivetotalamount = nil, invoiceclerk = nil, payee = nil, checker = nil, taxtotalamount = nil, taxexclusivetotalamount = nil, note = nil, goodsinfos = nil, airticketinfo = nil, railwayticketinfo = nil, invoicetitle = nil, requestid = nil) ⇒ VerifyOfdVatInvoiceOCRResponse
Returns a new instance of VerifyOfdVatInvoiceOCRResponse.
14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 |
# File 'lib/v20181119/models.rb', line 14973 def initialize(type=nil, invoicecode=nil, invoicenumber=nil, issuedate=nil, invoicecheckcode=nil, machinenumber=nil, taxcontrolcode=nil, buyer=nil, seller=nil, taxinclusivetotalamount=nil, invoiceclerk=nil, payee=nil, checker=nil, taxtotalamount=nil, taxexclusivetotalamount=nil, note=nil, goodsinfos=nil, airticketinfo=nil, railwayticketinfo=nil, invoicetitle=nil, requestid=nil) @Type = type @InvoiceCode = invoicecode @InvoiceNumber = invoicenumber @IssueDate = issuedate @InvoiceCheckCode = invoicecheckcode @MachineNumber = machinenumber @TaxControlCode = taxcontrolcode @Buyer = buyer @Seller = seller @TaxInclusiveTotalAmount = taxinclusivetotalamount @InvoiceClerk = invoiceclerk @Payee = payee @Checker = checker @TaxTotalAmount = taxtotalamount @TaxExclusiveTotalAmount = taxexclusivetotalamount @Note = note @GoodsInfos = goodsinfos @AirTicketInfo = airticketinfo @RailwayTicketInfo = railwayticketinfo @InvoiceTitle = invoicetitle @RequestId = requestid end |
Instance Attribute Details
#AirTicketInfo ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def AirTicketInfo @AirTicketInfo end |
#Buyer ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Buyer @Buyer end |
#Checker ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Checker @Checker end |
#GoodsInfos ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def GoodsInfos @GoodsInfos end |
#InvoiceCheckCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def InvoiceCheckCode @InvoiceCheckCode end |
#InvoiceClerk ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def InvoiceClerk @InvoiceClerk end |
#InvoiceCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def InvoiceCode @InvoiceCode end |
#InvoiceNumber ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def InvoiceNumber @InvoiceNumber end |
#InvoiceTitle ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def InvoiceTitle @InvoiceTitle end |
#IssueDate ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def IssueDate @IssueDate end |
#MachineNumber ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def MachineNumber @MachineNumber end |
#Note ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Note @Note end |
#Payee ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Payee @Payee end |
#RailwayTicketInfo ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def RailwayTicketInfo @RailwayTicketInfo end |
#RequestId ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def RequestId @RequestId end |
#Seller ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Seller @Seller end |
#TaxControlCode ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def TaxControlCode @TaxControlCode end |
#TaxExclusiveTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def TaxExclusiveTotalAmount @TaxExclusiveTotalAmount end |
#TaxInclusiveTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def TaxInclusiveTotalAmount @TaxInclusiveTotalAmount end |
#TaxTotalAmount ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def TaxTotalAmount @TaxTotalAmount end |
#Type ⇒ Object
026:增值税电子普通发票 028:增值税电子专用发票 010:电子发票(普通发票) 020:电子发票(增值税专用发票) 030:电子发票(铁路电子客票) 040:电子发票(航空运输电子客票行程单)
14971 14972 14973 |
# File 'lib/v20181119/models.rb', line 14971 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 |
# File 'lib/v20181119/models.rb', line 14997 def deserialize(params) @Type = params['Type'] @InvoiceCode = params['InvoiceCode'] @InvoiceNumber = params['InvoiceNumber'] @IssueDate = params['IssueDate'] @InvoiceCheckCode = params['InvoiceCheckCode'] @MachineNumber = params['MachineNumber'] @TaxControlCode = params['TaxControlCode'] unless params['Buyer'].nil? @Buyer = VatInvoiceUserInfo.new @Buyer.deserialize(params['Buyer']) end unless params['Seller'].nil? @Seller = VatInvoiceUserInfo.new @Seller.deserialize(params['Seller']) end @TaxInclusiveTotalAmount = params['TaxInclusiveTotalAmount'] @InvoiceClerk = params['InvoiceClerk'] @Payee = params['Payee'] @Checker = params['Checker'] @TaxTotalAmount = params['TaxTotalAmount'] @TaxExclusiveTotalAmount = params['TaxExclusiveTotalAmount'] @Note = params['Note'] unless params['GoodsInfos'].nil? @GoodsInfos = [] params['GoodsInfos'].each do |i| vatinvoicegoodsinfo_tmp = VatInvoiceGoodsInfo.new vatinvoicegoodsinfo_tmp.deserialize(i) @GoodsInfos << vatinvoicegoodsinfo_tmp end end unless params['AirTicketInfo'].nil? @AirTicketInfo = AirTicketInfo.new @AirTicketInfo.deserialize(params['AirTicketInfo']) end unless params['RailwayTicketInfo'].nil? @RailwayTicketInfo = RailwayTicketInfo.new @RailwayTicketInfo.deserialize(params['RailwayTicketInfo']) end @InvoiceTitle = params['InvoiceTitle'] @RequestId = params['RequestId'] end |