Class: TencentCloud::Ocr::V20181119::MedicalInvoice

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

Overview

医疗票据信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(title = nil, code = nil, number = nil, total = nil, totalcn = nil, date = nil, checkcode = nil, place = nil, reviewer = nil) ⇒ MedicalInvoice

Returns a new instance of MedicalInvoice.



5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
# File 'lib/v20181119/models.rb', line 5764

def initialize(title=nil, code=nil, number=nil, total=nil, totalcn=nil, date=nil, checkcode=nil, place=nil, reviewer=nil)
  @Title = title
  @Code = code
  @Number = number
  @Total = total
  @TotalCn = totalcn
  @Date = date
  @CheckCode = checkcode
  @Place = place
  @Reviewer = reviewer
end

Instance Attribute Details

#CheckCodeObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def CheckCode
  @CheckCode
end

#CodeObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Code
  @Code
end

#DateObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Date
  @Date
end

#NumberObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Number
  @Number
end

#PlaceObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Place
  @Place
end

#ReviewerObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Reviewer
  @Reviewer
end

#TitleObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Title
  @Title
end

#TotalObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def Total
  @Total
end

#TotalCnObject

Parameters:

  • Title:

    发票名称

  • Code:

    发票代码

  • Number:

    发票号码

  • Total:

    价税合计(小写)

  • TotalCn:

    价税合计(大写)

  • Date:

    开票日期

  • CheckCode:

    校验码

  • Place:

    发票属地

  • Reviewer:

    复核人



5762
5763
5764
# File 'lib/v20181119/models.rb', line 5762

def TotalCn
  @TotalCn
end

Instance Method Details

#deserialize(params) ⇒ Object



5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
# File 'lib/v20181119/models.rb', line 5776

def deserialize(params)
  @Title = params['Title']
  @Code = params['Code']
  @Number = params['Number']
  @Total = params['Total']
  @TotalCn = params['TotalCn']
  @Date = params['Date']
  @CheckCode = params['CheckCode']
  @Place = params['Place']
  @Reviewer = params['Reviewer']
end