Class: TencentCloud::Ocr::V20181119::VerifyOfdVatInvoiceOCRRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::VerifyOfdVatInvoiceOCRRequest
- Defined in:
- lib/v20181119/models.rb
Overview
VerifyOfdVatInvoiceOCR请求参数结构体
Instance Attribute Summary collapse
-
#OfdFileBase64 ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。.
-
#OfdFileUrl ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。.
-
#OfdPageNumber ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(ofdfileurl = nil, ofdfilebase64 = nil, ofdpagenumber = nil) ⇒ VerifyOfdVatInvoiceOCRRequest
constructor
A new instance of VerifyOfdVatInvoiceOCRRequest.
Constructor Details
#initialize(ofdfileurl = nil, ofdfilebase64 = nil, ofdpagenumber = nil) ⇒ VerifyOfdVatInvoiceOCRRequest
Returns a new instance of VerifyOfdVatInvoiceOCRRequest.
14544 14545 14546 14547 14548 |
# File 'lib/v20181119/models.rb', line 14544 def initialize(ofdfileurl=nil, ofdfilebase64=nil, ofdpagenumber=nil) @OfdFileUrl = ofdfileurl @OfdFileBase64 = ofdfilebase64 @OfdPageNumber = ofdpagenumber end |
Instance Attribute Details
#OfdFileBase64 ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
14542 14543 14544 |
# File 'lib/v20181119/models.rb', line 14542 def OfdFileBase64 @OfdFileBase64 end |
#OfdFileUrl ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
14542 14543 14544 |
# File 'lib/v20181119/models.rb', line 14542 def OfdFileUrl @OfdFileUrl end |
#OfdPageNumber ⇒ Object
OfdFileUrl 和 OfdFileBase64 必传其一,若两者都传,只解析OfdFileBase64。
14542 14543 14544 |
# File 'lib/v20181119/models.rb', line 14542 def OfdPageNumber @OfdPageNumber end |
Instance Method Details
#deserialize(params) ⇒ Object
14550 14551 14552 14553 14554 |
# File 'lib/v20181119/models.rb', line 14550 def deserialize(params) @OfdFileUrl = params['OfdFileUrl'] @OfdFileBase64 = params['OfdFileBase64'] @OfdPageNumber = params['OfdPageNumber'] end |