Class: TencentCloud::Cpdp::V20190820::RefundRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cpdp::V20190820::RefundRequest
- Defined in:
- lib/v20190820/models.rb
Overview
Refund请求参数结构体
Instance Attribute Summary collapse
-
#MchRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#MidasAppId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#MidasEnvironment ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#MidasSecretId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#MidasSignature ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#OutTradeNo ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#PlatformRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#RefundId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#SubOrderRefundList ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#TotalRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#TransactionId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
-
#UserId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, refundid = nil, midasappid = nil, totalrefundamt = nil, midassecretid = nil, midassignature = nil, outtradeno = nil, mchrefundamt = nil, transactionid = nil, platformrefundamt = nil, suborderrefundlist = nil, midasenvironment = nil) ⇒ RefundRequest
constructor
A new instance of RefundRequest.
Constructor Details
#initialize(userid = nil, refundid = nil, midasappid = nil, totalrefundamt = nil, midassecretid = nil, midassignature = nil, outtradeno = nil, mchrefundamt = nil, transactionid = nil, platformrefundamt = nil, suborderrefundlist = nil, midasenvironment = nil) ⇒ RefundRequest
Returns a new instance of RefundRequest.
24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 |
# File 'lib/v20190820/models.rb', line 24589 def initialize(userid=nil, refundid=nil, midasappid=nil, totalrefundamt=nil, midassecretid=nil, midassignature=nil, outtradeno=nil, mchrefundamt=nil, transactionid=nil, platformrefundamt=nil, suborderrefundlist=nil, midasenvironment=nil) @UserId = userid @RefundId = refundid @MidasAppId = midasappid @TotalRefundAmt = totalrefundamt @MidasSecretId = midassecretid @MidasSignature = midassignature @OutTradeNo = outtradeno @MchRefundAmt = mchrefundamt @TransactionId = transactionid @PlatformRefundAmt = platformrefundamt @SubOrderRefundList = suborderrefundlist @MidasEnvironment = midasenvironment end |
Instance Attribute Details
#MchRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def MchRefundAmt @MchRefundAmt end |
#MidasAppId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def MidasAppId @MidasAppId end |
#MidasEnvironment ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def MidasEnvironment @MidasEnvironment end |
#MidasSecretId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def MidasSecretId @MidasSecretId end |
#MidasSignature ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def MidasSignature @MidasSignature end |
#OutTradeNo ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def OutTradeNo @OutTradeNo end |
#PlatformRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def PlatformRefundAmt @PlatformRefundAmt end |
#RefundId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def RefundId @RefundId end |
#SubOrderRefundList ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def SubOrderRefundList @SubOrderRefundList end |
#TotalRefundAmt ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def TotalRefundAmt @TotalRefundAmt end |
#TransactionId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def TransactionId @TransactionId end |
#UserId ⇒ Object
release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release
24587 24588 24589 |
# File 'lib/v20190820/models.rb', line 24587 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 |
# File 'lib/v20190820/models.rb', line 24604 def deserialize(params) @UserId = params['UserId'] @RefundId = params['RefundId'] @MidasAppId = params['MidasAppId'] @TotalRefundAmt = params['TotalRefundAmt'] @MidasSecretId = params['MidasSecretId'] @MidasSignature = params['MidasSignature'] @OutTradeNo = params['OutTradeNo'] @MchRefundAmt = params['MchRefundAmt'] @TransactionId = params['TransactionId'] @PlatformRefundAmt = params['PlatformRefundAmt'] unless params['SubOrderRefundList'].nil? @SubOrderRefundList = [] params['SubOrderRefundList'].each do |i| refundoutsuborderrefundlist_tmp = RefundOutSubOrderRefundList.new refundoutsuborderrefundlist_tmp.deserialize(i) @SubOrderRefundList << refundoutsuborderrefundlist_tmp end end @MidasEnvironment = params['MidasEnvironment'] end |