class TencentCloud::Ocr::V20181119::VerifyOfdVatInvoiceOCRResponse
VerifyOfdVatInvoiceOCR返回参数结构体
def deserialize(params)
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 @RequestId = params['RequestId'] end
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, requestid=nil)
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, 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 @RequestId = requestid end