Class: TencentCloud::Trp::V20210515::CreateCorporationOrderRequest

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

Overview

CreateCorporationOrder请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(corpname = nil, owner = nil, codequota = nil, expiretime = nil, amount = nil, corpid = nil, contactperson = nil, contactnumber = nil, remark = nil) ⇒ CreateCorporationOrderRequest

Returns a new instance of CreateCorporationOrderRequest.



759
760
761
762
763
764
765
766
767
768
769
# File 'lib/v20210515/models.rb', line 759

def initialize(corpname=nil, owner=nil, codequota=nil, expiretime=nil, amount=nil, corpid=nil, contactperson=nil, contactnumber=nil, remark=nil)
  @CorpName = corpname
  @Owner = owner
  @CodeQuota = codequota
  @ExpireTime = expiretime
  @Amount = amount
  @CorpId = corpid
  @ContactPerson = contactperson
  @ContactNumber = contactnumber
  @Remark = remark
end

Instance Attribute Details

#AmountObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def Amount
  @Amount
end

#CodeQuotaObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def CodeQuota
  @CodeQuota
end

#ContactNumberObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def ContactNumber
  @ContactNumber
end

#ContactPersonObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def ContactPerson
  @ContactPerson
end

#CorpIdObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def CorpId
  @CorpId
end

#CorpNameObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def CorpName
  @CorpName
end

#ExpireTimeObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def ExpireTime
  @ExpireTime
end

#OwnerObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def Owner
  @Owner
end

#RemarkObject

Parameters:

  • CorpName:

    企业名称

  • Owner:

    所有者ID

  • CodeQuota:

    溯源码额度

  • ExpireTime:

    额度过期时间

  • Amount:

    金额

  • CorpId:

    企业ID

  • ContactPerson:

    联系人

  • ContactNumber:

    联系电话

  • Remark:

    备注



757
758
759
# File 'lib/v20210515/models.rb', line 757

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



771
772
773
774
775
776
777
778
779
780
781
# File 'lib/v20210515/models.rb', line 771

def deserialize(params)
  @CorpName = params['CorpName']
  @Owner = params['Owner']
  @CodeQuota = params['CodeQuota']
  @ExpireTime = params['ExpireTime']
  @Amount = params['Amount']
  @CorpId = params['CorpId']
  @ContactPerson = params['ContactPerson']
  @ContactNumber = params['ContactNumber']
  @Remark = params['Remark']
end