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.



10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
# File 'lib/v20181119/models.rb', line 10608

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。



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def City
  @City
end

#DateObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def Date
  @Date
end

#DistanceObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def Distance
  @Distance
end

#FareObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def Fare
  @Fare
end

#GetOffTimeObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def GetOffTime
  @GetOffTime
end

#GetOnTimeObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def GetOnTime
  @GetOnTime
end

#InvoiceCodeObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def InvoiceCode
  @InvoiceCode
end

#InvoiceNumObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def InvoiceNum
  @InvoiceNum
end

#InvoiceTypeObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def InvoiceType
  @InvoiceType
end

#LocationObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def Location
  @Location
end

#PlateNumberObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def PlateNumber
  @PlateNumber
end

#ProvinceObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def Province
  @Province
end

#RequestIdObject

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

Parameters:

  • InvoiceNum:

    发票代码

  • InvoiceCode:

    发票号码

  • Date:

    日期

  • Fare:

    金额

  • GetOnTime:

    上车时间

  • GetOffTime:

    下车时间

  • Distance:

    里程

  • Location:

    发票所在地

  • PlateNumber:

    车牌号

  • InvoiceType:

    发票消费类型

  • Province:

  • City:

  • RequestId:

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



10606
10607
10608
# File 'lib/v20181119/models.rb', line 10606

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
# File 'lib/v20181119/models.rb', line 10624

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