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.
13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 |
# File 'lib/v20181119/models.rb', line 13868 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
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def BuyerTaxID @BuyerTaxID end |
#Category ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Category @Category end |
#CheckCode ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def CheckCode @CheckCode end |
#City ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def City @City end |
#Code ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Code @Code end |
#CompanySealContent ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def CompanySealContent @CompanySealContent end |
#CompanySealMark ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def CompanySealMark @CompanySealMark end |
#Date ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Date @Date end |
#Kind ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Kind @Kind end |
#Number ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Number @Number end |
#NumberConfirm ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def NumberConfirm @NumberConfirm end |
#Province ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Province @Province end |
#QRCodeMark ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def QRCodeMark @QRCodeMark end |
#Seller ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Seller @Seller end |
#SellerTaxID ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def SellerTaxID @SellerTaxID end |
#ServiceName ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def ServiceName @ServiceName end |
#TaxSealContent ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def TaxSealContent @TaxSealContent end |
#Title ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Title @Title end |
#Total ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def Total @Total end |
#TotalCn ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def TotalCn @TotalCn end |
#VatRollItems ⇒ Object
13866 13867 13868 |
# File 'lib/v20181119/models.rb', line 13866 def VatRollItems @VatRollItems end |
Instance Method Details
#deserialize(params) ⇒ Object
13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 |
# File 'lib/v20181119/models.rb', line 13893 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 |