Class: TencentCloud::Ocr::V20181119::VatInvoiceVerifyNewRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20181119/models.rb

Overview

VatInvoiceVerifyNew请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(invoiceno = nil, invoicedate = nil, invoicecode = nil, invoicekind = nil, checkcode = nil, amount = nil, regioncode = nil, sellertaxcode = nil, enablecommonelectronic = nil, enabletodayinvoice = nil) ⇒ VatInvoiceVerifyNewRequest

Returns a new instance of VatInvoiceVerifyNewRequest.



13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
# File 'lib/v20181119/models.rb', line 13983

def initialize(invoiceno=nil, invoicedate=nil, invoicecode=nil, invoicekind=nil, checkcode=nil, amount=nil, regioncode=nil, sellertaxcode=nil, enablecommonelectronic=nil, enabletodayinvoice=nil)
  @InvoiceNo = invoiceno
  @InvoiceDate = invoicedate
  @InvoiceCode = invoicecode
  @InvoiceKind = invoicekind
  @CheckCode = checkcode
  @Amount = amount
  @RegionCode = regioncode
  @SellerTaxCode = sellertaxcode
  @EnableCommonElectronic = enablecommonelectronic
  @EnableTodayInvoice = enabletodayinvoice
end

Instance Attribute Details

#AmountObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def Amount
  @Amount
end

#CheckCodeObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def CheckCode
  @CheckCode
end

#EnableCommonElectronicObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def EnableCommonElectronic
  @EnableCommonElectronic
end

#EnableTodayInvoiceObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def EnableTodayInvoice
  @EnableTodayInvoice
end

#InvoiceCodeObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def InvoiceCode
  @InvoiceCode
end

#InvoiceDateObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def InvoiceDate
  @InvoiceDate
end

#InvoiceKindObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def InvoiceKind
  @InvoiceKind
end

#InvoiceNoObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def InvoiceNo
  @InvoiceNo
end

#RegionCodeObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def RegionCode
  @RegionCode
end

#SellerTaxCodeObject

请注意,发票从开具到录入税局需要一定的时间来更新和验证发票信息,打开后仅支持查验已成功录入到税局中的发票。



13981
13982
13983
# File 'lib/v20181119/models.rb', line 13981

def SellerTaxCode
  @SellerTaxCode
end

Instance Method Details

#deserialize(params) ⇒ Object



13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
# File 'lib/v20181119/models.rb', line 13996

def deserialize(params)
  @InvoiceNo = params['InvoiceNo']
  @InvoiceDate = params['InvoiceDate']
  @InvoiceCode = params['InvoiceCode']
  @InvoiceKind = params['InvoiceKind']
  @CheckCode = params['CheckCode']
  @Amount = params['Amount']
  @RegionCode = params['RegionCode']
  @SellerTaxCode = params['SellerTaxCode']
  @EnableCommonElectronic = params['EnableCommonElectronic']
  @EnableTodayInvoice = params['EnableTodayInvoice']
end