Class: TencentCloud::Cpdp::V20190820::CloseOrderRequest

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

Overview

CloseOrder请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(midasappid = nil, userid = nil, midassecretid = nil, midassignature = nil, outtradeno = nil, transactionid = nil, midasenvironment = nil) ⇒ CloseOrderRequest

Returns a new instance of CloseOrderRequest.



3885
3886
3887
3888
3889
3890
3891
3892
3893
# File 'lib/v20190820/models.rb', line 3885

def initialize(midasappid=nil, userid=nil, midassecretid=nil, midassignature=nil, outtradeno=nil, transactionid=nil, midasenvironment=nil)
  @MidasAppId = midasappid
  @UserId = userid
  @MidasSecretId = midassecretid
  @MidasSignature = midassignature
  @OutTradeNo = outtradeno
  @TransactionId = transactionid
  @MidasEnvironment = midasenvironment
end

Instance Attribute Details

#MidasAppIdObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def MidasAppId
  @MidasAppId
end

#MidasEnvironmentObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def MidasEnvironment
  @MidasEnvironment
end

#MidasSecretIdObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def MidasSecretId
  @MidasSecretId
end

#MidasSignatureObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def MidasSignature
  @MidasSignature
end

#OutTradeNoObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def OutTradeNo
  @OutTradeNo
end

#TransactionIdObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def TransactionId
  @TransactionId
end

#UserIdObject

release: 现网环境 sandbox: 沙箱环境 development: 开发环境 缺省: release

Parameters:

  • MidasAppId:

    聚鑫分配的支付主MidasAppId

  • UserId:

    用户ID,长度不小于5位, 仅支持字母和数字的组合

  • MidasSecretId:

    聚鑫分配的安全ID

  • MidasSignature:

    按照聚鑫安全密钥计算的签名

  • OutTradeNo:

    业务订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • TransactionId:

    聚鑫订单号,OutTradeNo , TransactionId二选一,不能都为空,优先使用 OutTradeNo

  • MidasEnvironment:

    环境名:



3883
3884
3885
# File 'lib/v20190820/models.rb', line 3883

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



3895
3896
3897
3898
3899
3900
3901
3902
3903
# File 'lib/v20190820/models.rb', line 3895

def deserialize(params)
  @MidasAppId = params['MidasAppId']
  @UserId = params['UserId']
  @MidasSecretId = params['MidasSecretId']
  @MidasSignature = params['MidasSignature']
  @OutTradeNo = params['OutTradeNo']
  @TransactionId = params['TransactionId']
  @MidasEnvironment = params['MidasEnvironment']
end