Class: TencentCloud::Ocr::V20181119::NonTaxIncomeBill
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::NonTaxIncomeBill
- Defined in:
- lib/v20181119/models.rb
Overview
非税收入
Instance Attribute Summary collapse
- #Buyer ⇒ Object
- #BuyerTaxID ⇒ Object
- #CheckCode ⇒ Object
- #Code ⇒ Object
- #CurrencyCode ⇒ Object
- #Date ⇒ Object
- #NonTaxItems ⇒ Object
- #Number ⇒ Object
- #Operator ⇒ Object
- #OtherInfo ⇒ Object
- #PayerAccount ⇒ Object
- #PayerBank ⇒ Object
- #PaymentCode ⇒ Object
- #QRCodeMark ⇒ Object
- #Receiver ⇒ Object
- #ReceiverAccount ⇒ Object
- #ReceiverBank ⇒ Object
- #ReceiveUnitCode ⇒ Object
- #Remark ⇒ Object
- #Reviewer ⇒ Object
- #Seller ⇒ Object
- #SellerCompany ⇒ Object
- #Title ⇒ Object
- #Total ⇒ Object
- #TotalCn ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(title = nil, number = nil, code = nil, checkcode = nil, date = nil, total = nil, totalcn = nil, buyer = nil, buyertaxid = nil, seller = nil, sellercompany = nil, remark = nil, currencycode = nil, reviewer = nil, qrcodemark = nil, otherinfo = nil, paymentcode = nil, receiveunitcode = nil, receiver = nil, operator = nil, payeraccount = nil, payerbank = nil, receiveraccount = nil, receiverbank = nil, nontaxitems = nil) ⇒ NonTaxIncomeBill
constructor
A new instance of NonTaxIncomeBill.
Constructor Details
#initialize(title = nil, number = nil, code = nil, checkcode = nil, date = nil, total = nil, totalcn = nil, buyer = nil, buyertaxid = nil, seller = nil, sellercompany = nil, remark = nil, currencycode = nil, reviewer = nil, qrcodemark = nil, otherinfo = nil, paymentcode = nil, receiveunitcode = nil, receiver = nil, operator = nil, payeraccount = nil, payerbank = nil, receiveraccount = nil, receiverbank = nil, nontaxitems = nil) ⇒ NonTaxIncomeBill
Returns a new instance of NonTaxIncomeBill.
6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 |
# File 'lib/v20181119/models.rb', line 6312 def initialize(title=nil, number=nil, code=nil, checkcode=nil, date=nil, total=nil, totalcn=nil, buyer=nil, buyertaxid=nil, seller=nil, sellercompany=nil, remark=nil, currencycode=nil, reviewer=nil, qrcodemark=nil, otherinfo=nil, paymentcode=nil, receiveunitcode=nil, receiver=nil, operator=nil, payeraccount=nil, payerbank=nil, receiveraccount=nil, receiverbank=nil, nontaxitems=nil) @Title = title @Number = number @Code = code @CheckCode = checkcode @Date = date @Total = total @TotalCn = totalcn @Buyer = buyer @BuyerTaxID = buyertaxid @Seller = seller @SellerCompany = sellercompany @Remark = remark @CurrencyCode = currencycode @Reviewer = reviewer @QRCodeMark = qrcodemark @OtherInfo = otherinfo @PaymentCode = paymentcode @ReceiveUnitCode = receiveunitcode @Receiver = receiver @Operator = operator @PayerAccount = payeraccount @PayerBank = payerbank @ReceiverAccount = receiveraccount @ReceiverBank = receiverbank @NonTaxItems = nontaxitems end |
Instance Attribute Details
#Buyer ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Buyer @Buyer end |
#BuyerTaxID ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def BuyerTaxID @BuyerTaxID end |
#CheckCode ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def CheckCode @CheckCode end |
#Code ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Code @Code end |
#CurrencyCode ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def CurrencyCode @CurrencyCode end |
#Date ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Date @Date end |
#NonTaxItems ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def NonTaxItems @NonTaxItems end |
#Number ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Number @Number end |
#Operator ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Operator @Operator end |
#OtherInfo ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def OtherInfo @OtherInfo end |
#PayerAccount ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def PayerAccount @PayerAccount end |
#PayerBank ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def PayerBank @PayerBank end |
#PaymentCode ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def PaymentCode @PaymentCode end |
#QRCodeMark ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def QRCodeMark @QRCodeMark end |
#Receiver ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Receiver @Receiver end |
#ReceiverAccount ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def ReceiverAccount @ReceiverAccount end |
#ReceiverBank ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def ReceiverBank @ReceiverBank end |
#ReceiveUnitCode ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def ReceiveUnitCode @ReceiveUnitCode end |
#Remark ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Remark @Remark end |
#Reviewer ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Reviewer @Reviewer end |
#Seller ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Seller @Seller end |
#SellerCompany ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def SellerCompany @SellerCompany end |
#Title ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Title @Title end |
#Total ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def Total @Total end |
#TotalCn ⇒ Object
6310 6311 6312 |
# File 'lib/v20181119/models.rb', line 6310 def TotalCn @TotalCn end |
Instance Method Details
#deserialize(params) ⇒ Object
6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 |
# File 'lib/v20181119/models.rb', line 6340 def deserialize(params) @Title = params['Title'] @Number = params['Number'] @Code = params['Code'] @CheckCode = params['CheckCode'] @Date = params['Date'] @Total = params['Total'] @TotalCn = params['TotalCn'] @Buyer = params['Buyer'] @BuyerTaxID = params['BuyerTaxID'] @Seller = params['Seller'] @SellerCompany = params['SellerCompany'] @Remark = params['Remark'] @CurrencyCode = params['CurrencyCode'] @Reviewer = params['Reviewer'] @QRCodeMark = params['QRCodeMark'] @OtherInfo = params['OtherInfo'] @PaymentCode = params['PaymentCode'] @ReceiveUnitCode = params['ReceiveUnitCode'] @Receiver = params['Receiver'] @Operator = params['Operator'] @PayerAccount = params['PayerAccount'] @PayerBank = params['PayerBank'] @ReceiverAccount = params['ReceiverAccount'] @ReceiverBank = params['ReceiverBank'] unless params['NonTaxItems'].nil? @NonTaxItems = [] params['NonTaxItems'].each do |i| nontaxitem_tmp = NonTaxItem.new nontaxitem_tmp.deserialize(i) @NonTaxItems << nontaxitem_tmp end end end |