Class: TencentCloud::Ocr::V20181119::TaxiInvoiceOCRResponse

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

Overview

TaxiInvoiceOCR返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(invoicenum = nil, invoicecode = nil, date = nil, fare = nil, getontime = nil, getofftime = nil, distance = nil, location = nil, platenumber = nil, invoicetype = nil, province = nil, city = nil, requestid = nil) ⇒ TaxiInvoiceOCRResponse

Returns a new instance of TaxiInvoiceOCRResponse.



11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
# File 'lib/v20181119/models.rb', line 11721

def initialize(invoicenum=nil, invoicecode=nil, date=nil, fare=nil, getontime=nil, getofftime=nil, distance=nil, location=nil, platenumber=nil, invoicetype=nil, province=nil, city=nil, requestid=nil)
  @InvoiceNum = invoicenum
  @InvoiceCode = invoicecode
  @Date = date
  @Fare = fare
  @GetOnTime = getontime
  @GetOffTime = getofftime
  @Distance = distance
  @Location = location
  @PlateNumber = platenumber
  @InvoiceType = invoicetype
  @Province = province
  @City = city
  @RequestId = requestid
end

Instance Attribute Details

#CityObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def City
  @City
end

#DateObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def Date
  @Date
end

#DistanceObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def Distance
  @Distance
end

#FareObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def Fare
  @Fare
end

#GetOffTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def GetOffTime
  @GetOffTime
end

#GetOnTimeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def GetOnTime
  @GetOnTime
end

#InvoiceCodeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def InvoiceCode
  @InvoiceCode
end

#InvoiceNumObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def InvoiceNum
  @InvoiceNum
end

#InvoiceTypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def InvoiceType
  @InvoiceType
end

#LocationObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def Location
  @Location
end

#PlateNumberObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def PlateNumber
  @PlateNumber
end

#ProvinceObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def Province
  @Province
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • InvoiceNum:

    发票号码

  • InvoiceCode:

    发票代码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



11719
11720
11721
# File 'lib/v20181119/models.rb', line 11719

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
# File 'lib/v20181119/models.rb', line 11737

def deserialize(params)
  @InvoiceNum = params['InvoiceNum']
  @InvoiceCode = params['InvoiceCode']
  @Date = params['Date']
  @Fare = params['Fare']
  @GetOnTime = params['GetOnTime']
  @GetOffTime = params['GetOffTime']
  @Distance = params['Distance']
  @Location = params['Location']
  @PlateNumber = params['PlateNumber']
  @InvoiceType = params['InvoiceType']
  @Province = params['Province']
  @City = params['City']
  @RequestId = params['RequestId']
end