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.
14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 |
# File 'lib/v20181119/models.rb', line 14238 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
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def BuyerTaxID @BuyerTaxID end |
#Category ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Category @Category end |
#CheckCode ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def CheckCode @CheckCode end |
#City ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def City @City end |
#Code ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Code @Code end |
#CompanySealContent ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def CompanySealContent @CompanySealContent end |
#CompanySealMark ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def CompanySealMark @CompanySealMark end |
#Date ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Date @Date end |
#Kind ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Kind @Kind end |
#Number ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Number @Number end |
#NumberConfirm ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def NumberConfirm @NumberConfirm end |
#Province ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Province @Province end |
#QRCodeMark ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def QRCodeMark @QRCodeMark end |
#Seller ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Seller @Seller end |
#SellerTaxID ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def SellerTaxID @SellerTaxID end |
#ServiceName ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def ServiceName @ServiceName end |
#TaxSealContent ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def TaxSealContent @TaxSealContent end |
#Title ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Title @Title end |
#Total ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def Total @Total end |
#TotalCn ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def TotalCn @TotalCn end |
#VatRollItems ⇒ Object
14236 14237 14238 |
# File 'lib/v20181119/models.rb', line 14236 def VatRollItems @VatRollItems end |
Instance Method Details
#deserialize(params) ⇒ Object
14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 |
# File 'lib/v20181119/models.rb', line 14263 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 |