Class: TencentCloud::Ocr::V20181119::VatInvoiceVerifyNewResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceVerifyNewResponse
- Defined in:
- lib/v20181119/models.rb
Overview
VatInvoiceVerifyNew返回参数结构体
Instance Attribute Summary collapse
- #ElectronicAirTransport ⇒ Object
- #ElectronicTrainTicket ⇒ Object
- #FinancialBill ⇒ Object
- #Invoice ⇒ Object
- #PassInvoiceInfoList ⇒ Object
- #RequestId ⇒ Object
- #UsedVehicleInvoiceInfo ⇒ Object
- #VehicleInvoiceInfo ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invoice = nil, vehicleinvoiceinfo = nil, usedvehicleinvoiceinfo = nil, passinvoiceinfolist = nil, electronictrainticket = nil, electronicairtransport = nil, financialbill = nil, requestid = nil) ⇒ VatInvoiceVerifyNewResponse
constructor
A new instance of VatInvoiceVerifyNewResponse.
Constructor Details
#initialize(invoice = nil, vehicleinvoiceinfo = nil, usedvehicleinvoiceinfo = nil, passinvoiceinfolist = nil, electronictrainticket = nil, electronicairtransport = nil, financialbill = nil, requestid = nil) ⇒ VatInvoiceVerifyNewResponse
Returns a new instance of VatInvoiceVerifyNewResponse.
14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 |
# File 'lib/v20181119/models.rb', line 14031 def initialize(invoice=nil, vehicleinvoiceinfo=nil, usedvehicleinvoiceinfo=nil, passinvoiceinfolist=nil, electronictrainticket=nil, electronicairtransport=nil, financialbill=nil, requestid=nil) @Invoice = invoice @VehicleInvoiceInfo = vehicleinvoiceinfo @UsedVehicleInvoiceInfo = usedvehicleinvoiceinfo @PassInvoiceInfoList = passinvoiceinfolist @ElectronicTrainTicket = electronictrainticket @ElectronicAirTransport = electronicairtransport @FinancialBill = financialbill @RequestId = requestid end |
Instance Attribute Details
#ElectronicAirTransport ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def ElectronicAirTransport @ElectronicAirTransport end |
#ElectronicTrainTicket ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def ElectronicTrainTicket @ElectronicTrainTicket end |
#FinancialBill ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def FinancialBill @FinancialBill end |
#Invoice ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def Invoice @Invoice end |
#PassInvoiceInfoList ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def PassInvoiceInfoList @PassInvoiceInfoList end |
#RequestId ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def RequestId @RequestId end |
#UsedVehicleInvoiceInfo ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def UsedVehicleInvoiceInfo @UsedVehicleInvoiceInfo end |
#VehicleInvoiceInfo ⇒ Object
14029 14030 14031 |
# File 'lib/v20181119/models.rb', line 14029 def VehicleInvoiceInfo @VehicleInvoiceInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 |
# File 'lib/v20181119/models.rb', line 14042 def deserialize(params) unless params['Invoice'].nil? @Invoice = VatInvoice.new @Invoice.deserialize(params['Invoice']) end unless params['VehicleInvoiceInfo'].nil? @VehicleInvoiceInfo = VehicleInvoiceInfo.new @VehicleInvoiceInfo.deserialize(params['VehicleInvoiceInfo']) end unless params['UsedVehicleInvoiceInfo'].nil? @UsedVehicleInvoiceInfo = UsedVehicleInvoiceInfo.new @UsedVehicleInvoiceInfo.deserialize(params['UsedVehicleInvoiceInfo']) end unless params['PassInvoiceInfoList'].nil? @PassInvoiceInfoList = [] params['PassInvoiceInfoList'].each do |i| passinvoiceinfo_tmp = PassInvoiceInfo.new passinvoiceinfo_tmp.deserialize(i) @PassInvoiceInfoList << passinvoiceinfo_tmp end end unless params['ElectronicTrainTicket'].nil? @ElectronicTrainTicket = ElectronicTrainTicket.new @ElectronicTrainTicket.deserialize(params['ElectronicTrainTicket']) end unless params['ElectronicAirTransport'].nil? @ElectronicAirTransport = ElectronicAirTransport.new @ElectronicAirTransport.deserialize(params['ElectronicAirTransport']) end unless params['FinancialBill'].nil? @FinancialBill = FinancialBill.new @FinancialBill.deserialize(params['FinancialBill']) end @RequestId = params['RequestId'] end |