tencentcloud-sdk-ocr 3.0.731 → 3.0.732
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20181119/models.rb +323 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc132e81154e9a5f630f71d7562a1edbba9afc38
|
4
|
+
data.tar.gz: 0546ce2d2cd61925aef85a79fa69bf103491c794
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2860e297a4cf1ab3ba405e0b9feb0d199b6cf72300a48ae8282ea15524c718e8ff2887ed8e316a94068cd6b827d8ea437a55e3b80788b394b165b5ed69c641b
|
7
|
+
data.tar.gz: cf79ecd92b2ae3f12ef48ec80af093f7099163de4b1fa89ccf608f45bcf96d5666e65d259759e8b79b009c6052a823c847c0a630cad19e1203141bfc632784b6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.732
|
data/lib/v20181119/models.rb
CHANGED
@@ -1762,6 +1762,164 @@ module TencentCloud
|
|
1762
1762
|
end
|
1763
1763
|
end
|
1764
1764
|
|
1765
|
+
# 全电发票(航空运输电子客票行程单)
|
1766
|
+
class ElectronicAirTransport < TencentCloud::Common::AbstractModel
|
1767
|
+
# @param Code: 发票代码
|
1768
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1769
|
+
# @type Code: String
|
1770
|
+
# @param Number: 发票号码
|
1771
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1772
|
+
# @type Number: String
|
1773
|
+
# @param Date: 开票日期
|
1774
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1775
|
+
# @type Date: String
|
1776
|
+
# @param Amount: 金额
|
1777
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1778
|
+
# @type Amount: String
|
1779
|
+
# @param CheckCode: 校验码
|
1780
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1781
|
+
# @type CheckCode: String
|
1782
|
+
# @param Total: 价税合计
|
1783
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1784
|
+
# @type Total: String
|
1785
|
+
# @param DeductionMark: 抵扣标志
|
1786
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1787
|
+
# @type DeductionMark: String
|
1788
|
+
# @param StateCode: 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
1789
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1790
|
+
# @type StateCode: String
|
1791
|
+
# @param BuyerTaxCode: 购方识别号
|
1792
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1793
|
+
# @type BuyerTaxCode: String
|
1794
|
+
# @param BuyerName: 购方名称
|
1795
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1796
|
+
# @type BuyerName: String
|
1797
|
+
# @param Tax: 合计税额
|
1798
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1799
|
+
# @type Tax: String
|
1800
|
+
# @param DomesticInternationalMark: 国内国际标识
|
1801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1802
|
+
# @type DomesticInternationalMark: String
|
1803
|
+
# @param PassengerName: 旅客姓名
|
1804
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1805
|
+
# @type PassengerName: String
|
1806
|
+
# @param PassengerNo: 有效身份证件号码
|
1807
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1808
|
+
# @type PassengerNo: String
|
1809
|
+
# @param ElectronicNumber: 电子客票号码
|
1810
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1811
|
+
# @type ElectronicNumber: String
|
1812
|
+
# @param ElectronicAirTransportDetails: 全电发票(航空运输电子客票行程单)详细信息
|
1813
|
+
|
1814
|
+
|
1815
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1816
|
+
# @type ElectronicAirTransportDetails: Array
|
1817
|
+
|
1818
|
+
attr_accessor :Code, :Number, :Date, :Amount, :CheckCode, :Total, :DeductionMark, :StateCode, :BuyerTaxCode, :BuyerName, :Tax, :DomesticInternationalMark, :PassengerName, :PassengerNo, :ElectronicNumber, :ElectronicAirTransportDetails
|
1819
|
+
|
1820
|
+
def initialize(code=nil, number=nil, date=nil, amount=nil, checkcode=nil, total=nil, deductionmark=nil, statecode=nil, buyertaxcode=nil, buyername=nil, tax=nil, domesticinternationalmark=nil, passengername=nil, passengerno=nil, electronicnumber=nil, electronicairtransportdetails=nil)
|
1821
|
+
@Code = code
|
1822
|
+
@Number = number
|
1823
|
+
@Date = date
|
1824
|
+
@Amount = amount
|
1825
|
+
@CheckCode = checkcode
|
1826
|
+
@Total = total
|
1827
|
+
@DeductionMark = deductionmark
|
1828
|
+
@StateCode = statecode
|
1829
|
+
@BuyerTaxCode = buyertaxcode
|
1830
|
+
@BuyerName = buyername
|
1831
|
+
@Tax = tax
|
1832
|
+
@DomesticInternationalMark = domesticinternationalmark
|
1833
|
+
@PassengerName = passengername
|
1834
|
+
@PassengerNo = passengerno
|
1835
|
+
@ElectronicNumber = electronicnumber
|
1836
|
+
@ElectronicAirTransportDetails = electronicairtransportdetails
|
1837
|
+
end
|
1838
|
+
|
1839
|
+
def deserialize(params)
|
1840
|
+
@Code = params['Code']
|
1841
|
+
@Number = params['Number']
|
1842
|
+
@Date = params['Date']
|
1843
|
+
@Amount = params['Amount']
|
1844
|
+
@CheckCode = params['CheckCode']
|
1845
|
+
@Total = params['Total']
|
1846
|
+
@DeductionMark = params['DeductionMark']
|
1847
|
+
@StateCode = params['StateCode']
|
1848
|
+
@BuyerTaxCode = params['BuyerTaxCode']
|
1849
|
+
@BuyerName = params['BuyerName']
|
1850
|
+
@Tax = params['Tax']
|
1851
|
+
@DomesticInternationalMark = params['DomesticInternationalMark']
|
1852
|
+
@PassengerName = params['PassengerName']
|
1853
|
+
@PassengerNo = params['PassengerNo']
|
1854
|
+
@ElectronicNumber = params['ElectronicNumber']
|
1855
|
+
unless params['ElectronicAirTransportDetails'].nil?
|
1856
|
+
@ElectronicAirTransportDetails = []
|
1857
|
+
params['ElectronicAirTransportDetails'].each do |i|
|
1858
|
+
electronicairtransportdetail_tmp = ElectronicAirTransportDetail.new
|
1859
|
+
electronicairtransportdetail_tmp.deserialize(i)
|
1860
|
+
@ElectronicAirTransportDetails << electronicairtransportdetail_tmp
|
1861
|
+
end
|
1862
|
+
end
|
1863
|
+
end
|
1864
|
+
end
|
1865
|
+
|
1866
|
+
# 全电发票(航空运输电子客票行程单)详细信息
|
1867
|
+
class ElectronicAirTransportDetail < TencentCloud::Common::AbstractModel
|
1868
|
+
# @param FlightSegment: 航段序号
|
1869
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1870
|
+
# @type FlightSegment: String
|
1871
|
+
# @param StationGetOn: 始发站
|
1872
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1873
|
+
# @type StationGetOn: String
|
1874
|
+
# @param StationGetOff: 目的站
|
1875
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1876
|
+
# @type StationGetOff: String
|
1877
|
+
# @param Carrier: 承运人
|
1878
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1879
|
+
# @type Carrier: String
|
1880
|
+
# @param FlightNumber: 航班号
|
1881
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1882
|
+
# @type FlightNumber: String
|
1883
|
+
# @param SeatLevel: 座位等级
|
1884
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1885
|
+
# @type SeatLevel: String
|
1886
|
+
# @param FlightDate: 承运日期
|
1887
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1888
|
+
# @type FlightDate: String
|
1889
|
+
# @param DepartureTime: 起飞时间
|
1890
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1891
|
+
# @type DepartureTime: String
|
1892
|
+
# @param FareBasis: 客票级别/客票类别
|
1893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1894
|
+
# @type FareBasis: String
|
1895
|
+
|
1896
|
+
attr_accessor :FlightSegment, :StationGetOn, :StationGetOff, :Carrier, :FlightNumber, :SeatLevel, :FlightDate, :DepartureTime, :FareBasis
|
1897
|
+
|
1898
|
+
def initialize(flightsegment=nil, stationgeton=nil, stationgetoff=nil, carrier=nil, flightnumber=nil, seatlevel=nil, flightdate=nil, departuretime=nil, farebasis=nil)
|
1899
|
+
@FlightSegment = flightsegment
|
1900
|
+
@StationGetOn = stationgeton
|
1901
|
+
@StationGetOff = stationgetoff
|
1902
|
+
@Carrier = carrier
|
1903
|
+
@FlightNumber = flightnumber
|
1904
|
+
@SeatLevel = seatlevel
|
1905
|
+
@FlightDate = flightdate
|
1906
|
+
@DepartureTime = departuretime
|
1907
|
+
@FareBasis = farebasis
|
1908
|
+
end
|
1909
|
+
|
1910
|
+
def deserialize(params)
|
1911
|
+
@FlightSegment = params['FlightSegment']
|
1912
|
+
@StationGetOn = params['StationGetOn']
|
1913
|
+
@StationGetOff = params['StationGetOff']
|
1914
|
+
@Carrier = params['Carrier']
|
1915
|
+
@FlightNumber = params['FlightNumber']
|
1916
|
+
@SeatLevel = params['SeatLevel']
|
1917
|
+
@FlightDate = params['FlightDate']
|
1918
|
+
@DepartureTime = params['DepartureTime']
|
1919
|
+
@FareBasis = params['FareBasis']
|
1920
|
+
end
|
1921
|
+
end
|
1922
|
+
|
1765
1923
|
# 电子发票(机票行程单)
|
1766
1924
|
class ElectronicFlightTicketFull < TencentCloud::Common::AbstractModel
|
1767
1925
|
# @param UserName: 旅客姓名
|
@@ -1873,6 +2031,138 @@ module TencentCloud
|
|
1873
2031
|
end
|
1874
2032
|
end
|
1875
2033
|
|
2034
|
+
# 全电发票(铁路电子客票)
|
2035
|
+
class ElectronicTrainTicket < TencentCloud::Common::AbstractModel
|
2036
|
+
# @param BuyerName: 购方名称
|
2037
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2038
|
+
# @type BuyerName: String
|
2039
|
+
# @param BuyerTaxCode: 购方识别号
|
2040
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2041
|
+
# @type BuyerTaxCode: String
|
2042
|
+
# @param Number: 发票号码
|
2043
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2044
|
+
# @type Number: String
|
2045
|
+
# @param Date: 开票日期
|
2046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2047
|
+
# @type Date: String
|
2048
|
+
# @param TotalCN: 价税合计(中文大写)
|
2049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2050
|
+
# @type TotalCN: String
|
2051
|
+
# @param Tax: 税额
|
2052
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2053
|
+
# @type Tax: String
|
2054
|
+
# @param ServiceType: 业务类型,0:退票,1:售票
|
2055
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2056
|
+
# @type ServiceType: String
|
2057
|
+
# @param TimeGetOn: 出发时间
|
2058
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2059
|
+
# @type TimeGetOn: String
|
2060
|
+
# @param TrainNumber: 车次
|
2061
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2062
|
+
# @type TrainNumber: String
|
2063
|
+
# @param Code: 发票代码
|
2064
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2065
|
+
# @type Code: String
|
2066
|
+
# @param SeatType: 席别
|
2067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2068
|
+
# @type SeatType: String
|
2069
|
+
# @param DateGetOn: 乘车日期
|
2070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2071
|
+
# @type DateGetOn: String
|
2072
|
+
# @param TrainCabin: 车厢
|
2073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2074
|
+
# @type TrainCabin: String
|
2075
|
+
# @param StationGetOn: 出发站
|
2076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2077
|
+
# @type StationGetOn: String
|
2078
|
+
# @param ElectronicNumber: 电子客票号
|
2079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2080
|
+
# @type ElectronicNumber: String
|
2081
|
+
# @param PassengerName: 姓名
|
2082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2083
|
+
# @type PassengerName: String
|
2084
|
+
# @param PassengerNo: 证件号
|
2085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2086
|
+
# @type PassengerNo: String
|
2087
|
+
# @param Amount: 金额
|
2088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2089
|
+
# @type Amount: String
|
2090
|
+
# @param StationGetOff: 到达站
|
2091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2092
|
+
# @type StationGetOff: String
|
2093
|
+
# @param TaxRate: 税率
|
2094
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2095
|
+
# @type TaxRate: String
|
2096
|
+
# @param Seat: 席位
|
2097
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2098
|
+
# @type Seat: String
|
2099
|
+
# @param Total: 价税合计
|
2100
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2101
|
+
# @type Total: String
|
2102
|
+
# @param CheckCode: 校验码
|
2103
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2104
|
+
# @type CheckCode: String
|
2105
|
+
# @param StateCode: 发票状态代码,0正常 1 未更新 2作废 3已红冲
|
2106
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2107
|
+
# @type StateCode: String
|
2108
|
+
|
2109
|
+
attr_accessor :BuyerName, :BuyerTaxCode, :Number, :Date, :TotalCN, :Tax, :ServiceType, :TimeGetOn, :TrainNumber, :Code, :SeatType, :DateGetOn, :TrainCabin, :StationGetOn, :ElectronicNumber, :PassengerName, :PassengerNo, :Amount, :StationGetOff, :TaxRate, :Seat, :Total, :CheckCode, :StateCode
|
2110
|
+
|
2111
|
+
def initialize(buyername=nil, buyertaxcode=nil, number=nil, date=nil, totalcn=nil, tax=nil, servicetype=nil, timegeton=nil, trainnumber=nil, code=nil, seattype=nil, dategeton=nil, traincabin=nil, stationgeton=nil, electronicnumber=nil, passengername=nil, passengerno=nil, amount=nil, stationgetoff=nil, taxrate=nil, seat=nil, total=nil, checkcode=nil, statecode=nil)
|
2112
|
+
@BuyerName = buyername
|
2113
|
+
@BuyerTaxCode = buyertaxcode
|
2114
|
+
@Number = number
|
2115
|
+
@Date = date
|
2116
|
+
@TotalCN = totalcn
|
2117
|
+
@Tax = tax
|
2118
|
+
@ServiceType = servicetype
|
2119
|
+
@TimeGetOn = timegeton
|
2120
|
+
@TrainNumber = trainnumber
|
2121
|
+
@Code = code
|
2122
|
+
@SeatType = seattype
|
2123
|
+
@DateGetOn = dategeton
|
2124
|
+
@TrainCabin = traincabin
|
2125
|
+
@StationGetOn = stationgeton
|
2126
|
+
@ElectronicNumber = electronicnumber
|
2127
|
+
@PassengerName = passengername
|
2128
|
+
@PassengerNo = passengerno
|
2129
|
+
@Amount = amount
|
2130
|
+
@StationGetOff = stationgetoff
|
2131
|
+
@TaxRate = taxrate
|
2132
|
+
@Seat = seat
|
2133
|
+
@Total = total
|
2134
|
+
@CheckCode = checkcode
|
2135
|
+
@StateCode = statecode
|
2136
|
+
end
|
2137
|
+
|
2138
|
+
def deserialize(params)
|
2139
|
+
@BuyerName = params['BuyerName']
|
2140
|
+
@BuyerTaxCode = params['BuyerTaxCode']
|
2141
|
+
@Number = params['Number']
|
2142
|
+
@Date = params['Date']
|
2143
|
+
@TotalCN = params['TotalCN']
|
2144
|
+
@Tax = params['Tax']
|
2145
|
+
@ServiceType = params['ServiceType']
|
2146
|
+
@TimeGetOn = params['TimeGetOn']
|
2147
|
+
@TrainNumber = params['TrainNumber']
|
2148
|
+
@Code = params['Code']
|
2149
|
+
@SeatType = params['SeatType']
|
2150
|
+
@DateGetOn = params['DateGetOn']
|
2151
|
+
@TrainCabin = params['TrainCabin']
|
2152
|
+
@StationGetOn = params['StationGetOn']
|
2153
|
+
@ElectronicNumber = params['ElectronicNumber']
|
2154
|
+
@PassengerName = params['PassengerName']
|
2155
|
+
@PassengerNo = params['PassengerNo']
|
2156
|
+
@Amount = params['Amount']
|
2157
|
+
@StationGetOff = params['StationGetOff']
|
2158
|
+
@TaxRate = params['TaxRate']
|
2159
|
+
@Seat = params['Seat']
|
2160
|
+
@Total = params['Total']
|
2161
|
+
@CheckCode = params['CheckCode']
|
2162
|
+
@StateCode = params['StateCode']
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
|
1876
2166
|
# 电子发票(火车票)
|
1877
2167
|
class ElectronicTrainTicketFull < TencentCloud::Common::AbstractModel
|
1878
2168
|
# @param TypeOfVoucher: 电子发票类型
|
@@ -10752,7 +11042,7 @@ module TencentCloud
|
|
10752
11042
|
end
|
10753
11043
|
end
|
10754
11044
|
|
10755
|
-
#
|
11045
|
+
# 增值税发票、购车发票、全电发票的基础要素字段信息。
|
10756
11046
|
class VatInvoice < TencentCloud::Common::AbstractModel
|
10757
11047
|
# @param Code: 发票代码
|
10758
11048
|
# @type Code: String
|
@@ -10761,12 +11051,16 @@ module TencentCloud
|
|
10761
11051
|
# @param Date: 开票日期
|
10762
11052
|
# @type Date: String
|
10763
11053
|
# @param BuyerName: 购方抬头
|
11054
|
+
# 通用机打发票类型时不返回
|
10764
11055
|
# @type BuyerName: String
|
10765
11056
|
# @param BuyerTaxCode: 购方税号
|
11057
|
+
# 通用机打发票类型时不返回
|
10766
11058
|
# @type BuyerTaxCode: String
|
10767
11059
|
# @param BuyerAddressPhone: 购方地址电话
|
11060
|
+
# 通用机打发票类型做不返回
|
10768
11061
|
# @type BuyerAddressPhone: String
|
10769
11062
|
# @param BuyerBankAccount: 购方银行账号
|
11063
|
+
# 通用机打发票类型时不返回
|
10770
11064
|
# @type BuyerBankAccount: String
|
10771
11065
|
# @param SellerName: 销方名称
|
10772
11066
|
# @type SellerName: String
|
@@ -10792,7 +11086,11 @@ module TencentCloud
|
|
10792
11086
|
# 15:二手车销售统一发票,
|
10793
11087
|
# 32:深圳区块链发票,
|
10794
11088
|
# 102:通用机打电子发票
|
11089
|
+
# 61:电子发票(航空运输电子客票行程单)
|
11090
|
+
# 83:电子发票(铁路电子发票)
|
10795
11091
|
# @type Type: String
|
11092
|
+
# @param ElectronicType: 具体的全电发票类型:01: 全电专用发票;02:全电普通发票;03:全电火车票;04:全电机票行程单
|
11093
|
+
# @type ElectronicType: String
|
10796
11094
|
# @param CheckCode: 检验码
|
10797
11095
|
# @type CheckCode: String
|
10798
11096
|
# @param IsAbandoned: 是否作废(红冲)是否作废(红冲)
|
@@ -10829,9 +11127,9 @@ module TencentCloud
|
|
10829
11127
|
# @param SellerAgentTaxID: 代开销售方税号
|
10830
11128
|
# @type SellerAgentTaxID: String
|
10831
11129
|
|
10832
|
-
attr_accessor :Code, :Number, :Date, :BuyerName, :BuyerTaxCode, :BuyerAddressPhone, :BuyerBankAccount, :SellerName, :SellerTaxCode, :SellerAddressPhone, :SellerBankAccount, :Remark, :MachineNo, :Type, :CheckCode, :IsAbandoned, :HasSellerList, :SellerListTitle, :SellerListTax, :AmountWithoutTax, :TaxAmount, :AmountWithTax, :Items, :TaxBureau, :TrafficFreeFlag, :RedLetterInvoiceMark, :IssuingTypeMark, :SellerAgentName, :SellerAgentTaxID
|
11130
|
+
attr_accessor :Code, :Number, :Date, :BuyerName, :BuyerTaxCode, :BuyerAddressPhone, :BuyerBankAccount, :SellerName, :SellerTaxCode, :SellerAddressPhone, :SellerBankAccount, :Remark, :MachineNo, :Type, :ElectronicType, :CheckCode, :IsAbandoned, :HasSellerList, :SellerListTitle, :SellerListTax, :AmountWithoutTax, :TaxAmount, :AmountWithTax, :Items, :TaxBureau, :TrafficFreeFlag, :RedLetterInvoiceMark, :IssuingTypeMark, :SellerAgentName, :SellerAgentTaxID
|
10833
11131
|
|
10834
|
-
def initialize(code=nil, number=nil, date=nil, buyername=nil, buyertaxcode=nil, buyeraddressphone=nil, buyerbankaccount=nil, sellername=nil, sellertaxcode=nil, selleraddressphone=nil, sellerbankaccount=nil, remark=nil, machineno=nil, type=nil, checkcode=nil, isabandoned=nil, hassellerlist=nil, sellerlisttitle=nil, sellerlisttax=nil, amountwithouttax=nil, taxamount=nil, amountwithtax=nil, items=nil, taxbureau=nil, trafficfreeflag=nil, redletterinvoicemark=nil, issuingtypemark=nil, selleragentname=nil, selleragenttaxid=nil)
|
11132
|
+
def initialize(code=nil, number=nil, date=nil, buyername=nil, buyertaxcode=nil, buyeraddressphone=nil, buyerbankaccount=nil, sellername=nil, sellertaxcode=nil, selleraddressphone=nil, sellerbankaccount=nil, remark=nil, machineno=nil, type=nil, electronictype=nil, checkcode=nil, isabandoned=nil, hassellerlist=nil, sellerlisttitle=nil, sellerlisttax=nil, amountwithouttax=nil, taxamount=nil, amountwithtax=nil, items=nil, taxbureau=nil, trafficfreeflag=nil, redletterinvoicemark=nil, issuingtypemark=nil, selleragentname=nil, selleragenttaxid=nil)
|
10835
11133
|
@Code = code
|
10836
11134
|
@Number = number
|
10837
11135
|
@Date = date
|
@@ -10846,6 +11144,7 @@ module TencentCloud
|
|
10846
11144
|
@Remark = remark
|
10847
11145
|
@MachineNo = machineno
|
10848
11146
|
@Type = type
|
11147
|
+
@ElectronicType = electronictype
|
10849
11148
|
@CheckCode = checkcode
|
10850
11149
|
@IsAbandoned = isabandoned
|
10851
11150
|
@HasSellerList = hassellerlist
|
@@ -10878,6 +11177,7 @@ module TencentCloud
|
|
10878
11177
|
@Remark = params['Remark']
|
10879
11178
|
@MachineNo = params['MachineNo']
|
10880
11179
|
@Type = params['Type']
|
11180
|
+
@ElectronicType = params['ElectronicType']
|
10881
11181
|
@CheckCode = params['CheckCode']
|
10882
11182
|
@IsAbandoned = params['IsAbandoned']
|
10883
11183
|
@HasSellerList = params['HasSellerList']
|
@@ -11564,24 +11864,30 @@ module TencentCloud
|
|
11564
11864
|
|
11565
11865
|
# VatInvoiceVerifyNew返回参数结构体
|
11566
11866
|
class VatInvoiceVerifyNewResponse < TencentCloud::Common::AbstractModel
|
11567
|
-
# @param Invoice:
|
11867
|
+
# @param Invoice: 增值税发票、购车发票、全电发票的基础要素字段信息。
|
11568
11868
|
# @type Invoice: :class:`Tencentcloud::Ocr.v20181119.models.VatInvoice`
|
11569
|
-
# @param VehicleInvoiceInfo:
|
11869
|
+
# @param VehicleInvoiceInfo: 机动车销售统一发票详细字段信息。
|
11570
11870
|
# @type VehicleInvoiceInfo: :class:`Tencentcloud::Ocr.v20181119.models.VehicleInvoiceInfo`
|
11571
|
-
# @param UsedVehicleInvoiceInfo:
|
11871
|
+
# @param UsedVehicleInvoiceInfo: 二手车销售统一发票详细字段信息。
|
11572
11872
|
# @type UsedVehicleInvoiceInfo: :class:`Tencentcloud::Ocr.v20181119.models.UsedVehicleInvoiceInfo`
|
11573
|
-
# @param PassInvoiceInfoList:
|
11873
|
+
# @param PassInvoiceInfoList: 通行费发票详细字段信息。
|
11574
11874
|
# @type PassInvoiceInfoList: Array
|
11875
|
+
# @param ElectronicTrainTicket: 全电发票(铁路电子客票)详细字段信息。
|
11876
|
+
# @type ElectronicTrainTicket: :class:`Tencentcloud::Ocr.v20181119.models.ElectronicTrainTicket`
|
11877
|
+
# @param ElectronicAirTransport: 全电发票(航空运输电子客票行程单)详细字段信息。
|
11878
|
+
# @type ElectronicAirTransport: :class:`Tencentcloud::Ocr.v20181119.models.ElectronicAirTransport`
|
11575
11879
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11576
11880
|
# @type RequestId: String
|
11577
11881
|
|
11578
|
-
attr_accessor :Invoice, :VehicleInvoiceInfo, :UsedVehicleInvoiceInfo, :PassInvoiceInfoList, :RequestId
|
11882
|
+
attr_accessor :Invoice, :VehicleInvoiceInfo, :UsedVehicleInvoiceInfo, :PassInvoiceInfoList, :ElectronicTrainTicket, :ElectronicAirTransport, :RequestId
|
11579
11883
|
|
11580
|
-
def initialize(invoice=nil, vehicleinvoiceinfo=nil, usedvehicleinvoiceinfo=nil, passinvoiceinfolist=nil, requestid=nil)
|
11884
|
+
def initialize(invoice=nil, vehicleinvoiceinfo=nil, usedvehicleinvoiceinfo=nil, passinvoiceinfolist=nil, electronictrainticket=nil, electronicairtransport=nil, requestid=nil)
|
11581
11885
|
@Invoice = invoice
|
11582
11886
|
@VehicleInvoiceInfo = vehicleinvoiceinfo
|
11583
11887
|
@UsedVehicleInvoiceInfo = usedvehicleinvoiceinfo
|
11584
11888
|
@PassInvoiceInfoList = passinvoiceinfolist
|
11889
|
+
@ElectronicTrainTicket = electronictrainticket
|
11890
|
+
@ElectronicAirTransport = electronicairtransport
|
11585
11891
|
@RequestId = requestid
|
11586
11892
|
end
|
11587
11893
|
|
@@ -11606,6 +11912,14 @@ module TencentCloud
|
|
11606
11912
|
@PassInvoiceInfoList << passinvoiceinfo_tmp
|
11607
11913
|
end
|
11608
11914
|
end
|
11915
|
+
unless params['ElectronicTrainTicket'].nil?
|
11916
|
+
@ElectronicTrainTicket = ElectronicTrainTicket.new
|
11917
|
+
@ElectronicTrainTicket.deserialize(params['ElectronicTrainTicket'])
|
11918
|
+
end
|
11919
|
+
unless params['ElectronicAirTransport'].nil?
|
11920
|
+
@ElectronicAirTransport = ElectronicAirTransport.new
|
11921
|
+
@ElectronicAirTransport.deserialize(params['ElectronicAirTransport'])
|
11922
|
+
end
|
11609
11923
|
@RequestId = params['RequestId']
|
11610
11924
|
end
|
11611
11925
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ocr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.732
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|