Class: TencentCloud::Ocr::V20181119::VatInvoiceRoll
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceRoll
- Defined in:
- lib/v20181119/models.rb
Overview
增值税普通发票(卷票)
Instance Attribute Summary collapse
- #Buyer ⇒ Object
- #BuyerTaxID ⇒ Object
- #Category ⇒ Object
- #CheckCode ⇒ Object
- #City ⇒ Object
- #Code ⇒ Object
- #CompanySealContent ⇒ Object
- #CompanySealMark ⇒ Object
- #Date ⇒ Object
- #Kind ⇒ Object
- #Number ⇒ Object
- #NumberConfirm ⇒ Object
- #Province ⇒ Object
- #QRCodeMark ⇒ Object
- #Seller ⇒ Object
- #SellerTaxID ⇒ Object
- #ServiceName ⇒ Object
- #TaxSealContent ⇒ Object
- #Title ⇒ Object
- #Total ⇒ Object
- #TotalCn ⇒ Object
- #VatRollItems ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, code = nil, number = nil, numberconfirm = nil, date = nil, checkcode = nil, seller = nil, sellertaxid = nil, buyer = nil, buyertaxid = nil, category = nil, total = nil, totalcn = nil, kind = nil, province = nil, city = nil, companysealmark = nil, qrcodemark = nil, servicename = nil, companysealcontent = nil, taxsealcontent = nil, vatrollitems = nil) ⇒ VatInvoiceRoll
constructor
A new instance of VatInvoiceRoll.
Constructor Details
#initialize(title = nil, code = nil, number = nil, numberconfirm = nil, date = nil, checkcode = nil, seller = nil, sellertaxid = nil, buyer = nil, buyertaxid = nil, category = nil, total = nil, totalcn = nil, kind = nil, province = nil, city = nil, companysealmark = nil, qrcodemark = nil, servicename = nil, companysealcontent = nil, taxsealcontent = nil, vatrollitems = nil) ⇒ VatInvoiceRoll
Returns a new instance of VatInvoiceRoll.
14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 |
# File 'lib/v20181119/models.rb', line 14469 def initialize(title=nil, code=nil, number=nil, numberconfirm=nil, date=nil, checkcode=nil, seller=nil, sellertaxid=nil, buyer=nil, buyertaxid=nil, category=nil, total=nil, totalcn=nil, kind=nil, province=nil, city=nil, companysealmark=nil, qrcodemark=nil, servicename=nil, companysealcontent=nil, taxsealcontent=nil, vatrollitems=nil) @Title = title @Code = code @Number = number @NumberConfirm = numberconfirm @Date = date @CheckCode = checkcode @Seller = seller @SellerTaxID = sellertaxid @Buyer = buyer @BuyerTaxID = buyertaxid @Category = category @Total = total @TotalCn = totalcn @Kind = kind @Province = province @City = city @CompanySealMark = companysealmark @QRCodeMark = qrcodemark @ServiceName = servicename @CompanySealContent = companysealcontent @TaxSealContent = taxsealcontent @VatRollItems = vatrollitems end |
Instance Attribute Details
#Buyer ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def BuyerTaxID @BuyerTaxID end |
#Category ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Category @Category end |
#CheckCode ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def CheckCode @CheckCode end |
#City ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def City @City end |
#Code ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Code @Code end |
#CompanySealContent ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def CompanySealContent @CompanySealContent end |
#CompanySealMark ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def CompanySealMark @CompanySealMark end |
#Date ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Date @Date end |
#Kind ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Kind @Kind end |
#Number ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Number @Number end |
#NumberConfirm ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def NumberConfirm @NumberConfirm end |
#Province ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Province @Province end |
#QRCodeMark ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def QRCodeMark @QRCodeMark end |
#Seller ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Seller @Seller end |
#SellerTaxID ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def SellerTaxID @SellerTaxID end |
#ServiceName ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def ServiceName @ServiceName end |
#TaxSealContent ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def TaxSealContent @TaxSealContent end |
#Title ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Title @Title end |
#Total ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def Total @Total end |
#TotalCn ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def TotalCn @TotalCn end |
#VatRollItems ⇒ Object
14467 14468 14469 |
# File 'lib/v20181119/models.rb', line 14467 def VatRollItems @VatRollItems end |
Instance Method Details
#deserialize(params) ⇒ Object
14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 |
# File 'lib/v20181119/models.rb', line 14494 def deserialize(params) @Title = params['Title'] @Code = params['Code'] @Number = params['Number'] @NumberConfirm = params['NumberConfirm'] @Date = params['Date'] @CheckCode = params['CheckCode'] @Seller = params['Seller'] @SellerTaxID = params['SellerTaxID'] @Buyer = params['Buyer'] @BuyerTaxID = params['BuyerTaxID'] @Category = params['Category'] @Total = params['Total'] @TotalCn = params['TotalCn'] @Kind = params['Kind'] @Province = params['Province'] @City = params['City'] @CompanySealMark = params['CompanySealMark'] @QRCodeMark = params['QRCodeMark'] @ServiceName = params['ServiceName'] @CompanySealContent = params['CompanySealContent'] @TaxSealContent = params['TaxSealContent'] unless params['VatRollItems'].nil? @VatRollItems = [] params['VatRollItems'].each do |i| vatrollitem_tmp = VatRollItem.new vatrollitem_tmp.deserialize(i) @VatRollItems << vatrollitem_tmp end end end |