Class: TencentCloud::Ocr::V20181119::VatInvoiceVerifyResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VatInvoiceVerifyResponse
- Defined in:
- lib/v20181119/models.rb
Overview
VatInvoiceVerify返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(invoice = nil, vehicleinvoiceinfo = nil, usedvehicleinvoiceinfo = nil, requestid = nil) ⇒ VatInvoiceVerifyResponse
constructor
A new instance of VatInvoiceVerifyResponse.
Constructor Details
#initialize(invoice = nil, vehicleinvoiceinfo = nil, usedvehicleinvoiceinfo = nil, requestid = nil) ⇒ VatInvoiceVerifyResponse
Returns a new instance of VatInvoiceVerifyResponse.
14132 14133 14134 14135 14136 14137 |
# File 'lib/v20181119/models.rb', line 14132 def initialize(invoice=nil, vehicleinvoiceinfo=nil, usedvehicleinvoiceinfo=nil, requestid=nil) @Invoice = invoice @VehicleInvoiceInfo = vehicleinvoiceinfo @UsedVehicleInvoiceInfo = usedvehicleinvoiceinfo @RequestId = requestid end |
Instance Attribute Details
#Invoice ⇒ Object
14130 14131 14132 |
# File 'lib/v20181119/models.rb', line 14130 def Invoice @Invoice end |
#RequestId ⇒ Object
14130 14131 14132 |
# File 'lib/v20181119/models.rb', line 14130 def RequestId @RequestId end |
#UsedVehicleInvoiceInfo ⇒ Object
14130 14131 14132 |
# File 'lib/v20181119/models.rb', line 14130 def UsedVehicleInvoiceInfo @UsedVehicleInvoiceInfo end |
#VehicleInvoiceInfo ⇒ Object
14130 14131 14132 |
# File 'lib/v20181119/models.rb', line 14130 def VehicleInvoiceInfo @VehicleInvoiceInfo end |
Instance Method Details
#deserialize(params) ⇒ Object
14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 |
# File 'lib/v20181119/models.rb', line 14139 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 @RequestId = params['RequestId'] end |