Class: TencentCloud::Cpdp::V20190820::CreateRedInvoiceV2Response
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::CreateRedInvoiceV2Response
- Defined in:
- lib/v20190820/models.rb
Overview
CreateRedInvoiceV2返回参数结构体
Instance Attribute Summary collapse
-
#ErrCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ErrMessage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(result = nil, errcode = nil, errmessage = nil, requestid = nil) ⇒ CreateRedInvoiceV2Response
constructor
A new instance of CreateRedInvoiceV2Response.
Constructor Details
#initialize(result = nil, errcode = nil, errmessage = nil, requestid = nil) ⇒ CreateRedInvoiceV2Response
Returns a new instance of CreateRedInvoiceV2Response.
8923 8924 8925 8926 8927 8928 |
# File 'lib/v20190820/models.rb', line 8923 def initialize(result=nil, errcode=nil, =nil, requestid=nil) @Result = result @ErrCode = errcode @ErrMessage = @RequestId = requestid end |
Instance Attribute Details
#ErrCode ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8921 8922 8923 |
# File 'lib/v20190820/models.rb', line 8921 def ErrCode @ErrCode end |
#ErrMessage ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8921 8922 8923 |
# File 'lib/v20190820/models.rb', line 8921 def ErrMessage @ErrMessage end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8921 8922 8923 |
# File 'lib/v20190820/models.rb', line 8921 def RequestId @RequestId end |
#Result ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8921 8922 8923 |
# File 'lib/v20190820/models.rb', line 8921 def Result @Result end |
Instance Method Details
#deserialize(params) ⇒ Object
8930 8931 8932 8933 8934 8935 8936 8937 8938 |
# File 'lib/v20190820/models.rb', line 8930 def deserialize(params) unless params['Result'].nil? @Result = CreateRedInvoiceResultV2.new @Result.deserialize(params['Result']) end @ErrCode = params['ErrCode'] @ErrMessage = params['ErrMessage'] @RequestId = params['RequestId'] end |