model

package
v0.0.30-rc Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountBalanceV2

type AccountBalanceV2 struct {
	// |参数名称:账户标识。| |参数约束及描述:账户标识。|
	AccountId string `json:"account_id"`
	// |参数名称:账户类型:1:余额2:信用5:奖励7:保证金8:可拨款| |参数的约束及描述:账户类型:1:余额2:信用5:奖励7:保证金8:可拨款|
	AccountType int32 `json:"account_type"`
	// |参数名称:余额。| |参数的约束及描述:余额。|
	Amount float64 `json:"amount"`
	// |参数名称:币种。当前固定为CNY。| |参数约束及描述:币种。当前固定为CNY。|
	Currency string `json:"currency"`
	// |参数名称:专款专用余额。| |参数的约束及描述:专款专用余额。|
	DesignatedAmount *float64 `json:"designated_amount,omitempty"`
	// |参数名称:总信用额度。只有账户类型是2:信用的时候才有该字段| |参数的约束及描述:总信用额度。只有账户类型是2:信用的时候才有该字段|
	CreditAmount *float64 `json:"credit_amount,omitempty"`
	// |参数名称:度量单位。1:元。| |参数的约束及描述:度量单位。1:元。|
	MeasureId int32 `json:"measure_id"`
	// |参数名称:备注。| |参数约束及描述:备注。|
	Memo *string `json:"memo,omitempty"`
}

func (AccountBalanceV2) String

func (o AccountBalanceV2) String() string

type AccountBalanceV3

type AccountBalanceV3 struct {
	// |参数名称:账户标识。| |参数约束及描述:账户标识。|
	AccountId string `json:"account_id"`
	// |参数名称:账户类型:1:余额2:信用5:奖励7:保证金8:可拨款| |参数的约束及描述:账户类型:1:余额2:信用5:奖励7:保证金8:可拨款|
	AccountType int32 `json:"account_type"`
	// |参数名称:余额。| |参数的约束及描述:余额。|
	Amount float32 `json:"amount"`
	// |参数名称:币种。当前固定为CNY。| |参数约束及描述:币种。当前固定为CNY。|
	Currency string `json:"currency"`
	// |参数名称:专款专用余额。| |参数的约束及描述:专款专用余额。|
	DesignatedAmount float32 `json:"designated_amount,omitempty"`
	// |参数名称:总信用额度。只有账户类型是2:信用的时候才有该字段| |参数的约束及描述:总信用额度。只有账户类型是2:信用的时候才有该字段|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:度量单位。1:元。| |参数的约束及描述:度量单位。1:元。|
	MeasureId int32 `json:"measure_id"`
}

func (AccountBalanceV3) String

func (o AccountBalanceV3) String() string

type AccountManager

type AccountManager struct {
	// |参数名称:客户经理登录名称。| |参数约束及描述:客户经理登录名称。最大长度128,必填|
	AccountName *string `json:"account_name,omitempty"`
}

func (AccountManager) String

func (o AccountManager) String() string

type AddPostalReq

type AddPostalReq struct {
	// |参数名称:收件人姓名| |参数约束及描述:收件人姓名|
	Recipient string `json:"recipient"`
	// |参数名称:省/自治区/直辖市。例如:江苏,不要写成:江苏省| |参数约束及描述:省/自治区/直辖市。例如:江苏,不要写成:江苏省|
	Province string `json:"province"`
	// |参数名称:市/区。例如:南京。| |参数约束及描述:市/区。例如:南京。|
	City string `json:"city"`
	// |参数名称:区。例如:雨花。| |参数约束及描述:区。例如:雨花。|
	District string `json:"district"`
	// |参数名称:邮寄详细地址。| |参数约束及描述:邮寄详细地址。|
	Address string `json:"address"`
	// |参数名称:邮编| |参数约束及描述:邮编|
	Zipcode *string `json:"zipcode,omitempty"`
	// |参数名称:手机号码,不带国家码| |参数约束及描述:手机号码,不带国家码|
	MobilePhone string `json:"mobile_phone"`
	// |参数名称:是否默认地址| |参数约束及描述:是否默认地址,默认为0。1:默认地址0:非默认地址|
	IsDefault *int32 `json:"is_default,omitempty"`
}

func (AddPostalReq) String

func (o AddPostalReq) String() string

type AdjustAccountReq

type AdjustAccountReq struct {
	// |参数名称:合作伙伴关联的客户的客户ID。| |参数约束及描述:合作伙伴关联的客户的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:授信金额。单位为元不能为负数,精确到小数点后两位。| |参数的约束及描述:授信金额。单位为元不能为负数,精确到小数点后两位。|
	Amount float32 `json:"amount"`
	// |参数名称:二级经销商ID。| |参数约束及描述:二级经销商ID,如果一级经销商要给二级经销商的子客户设置折扣,需要携带这个字段。|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (AdjustAccountReq) String

func (o AdjustAccountReq) String() string

type AdjustCouponQuotasReq

type AdjustCouponQuotasReq struct {
	// |参数名称:优惠券额度ID。| |参数约束及描述:优惠券额度ID。|
	QuotaId string `json:"quota_id"`
	// |参数名称:二级分销商伙伴id列表。最大100条| |参数约束以及描述:二级分销商伙伴id列表。最大100条|
	IndirectPartnerIds []string `json:"indirect_partner_ids"`
	// |参数名称:额度值。保留小数点后2位| |参数的约束及描述:额度值。保留小数点后2位|
	QuotaAmount float32 `json:"quota_amount"`
}

func (AdjustCouponQuotasReq) String

func (o AdjustCouponQuotasReq) String() string

type AdjustRecordV2

type AdjustRecordV2 struct {
	// |参数名称:合作伙伴关联的客户的客户ID。| |参数约束及描述:合作伙伴关联的客户的客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:合作伙伴关联的客户的客户名。| |参数约束及描述:合作伙伴关联的客户的客户名。|
	CustomerName *string `json:"customer_name,omitempty"`
	// |参数名称:调账类型。0:授信1:回收2:解绑回收| |参数约束及描述:调账类型。0:授信1:回收2:解绑回收|
	OperationType *string `json:"operation_type,omitempty"`
	// |参数名称:调账/回收总额。| |参数的约束及描述:调账/回收总额。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:币种。当前固定为CNY。| |参数约束及描述:币种。当前固定为CNY。|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:使用场景。| |参数约束及描述:使用场景。|
	ApplyScene *string `json:"apply_scene,omitempty"`
	// |参数名称:调账时间。UTC时间,格式为:2016-03-28T14:45:38Z| |参数约束及描述:调账时间。UTC时间,格式为:2016-03-28T14:45:38Z|
	OperationTime *string `json:"operation_time,omitempty"`
	// |参数名称:度量单位。1:元| |参数的约束及描述:度量单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:事务ID,只有在调用3-向客户账户拨款或4-回收客户账户余额接口时,响应消息中返回的该记录存在事务ID“trans_id”字段,这个地方才可能有值。| |参数约束及描述:事务ID,只有在调用3-向客户账户拨款或4-回收客户账户余额接口时,响应消息中返回的该记录存在事务ID“trans_id”字段,这个地方才可能有值。|
	TransId *string `json:"trans_id,omitempty"`
}

func (AdjustRecordV2) String

func (o AdjustRecordV2) String() string

type AdjustToIndirectPartnerReq

type AdjustToIndirectPartnerReq struct {
	// |参数名称:合作伙伴关联的二级经销商伙伴ID。| |参数约束及描述:必填,最大长度64,合作伙伴关联的二级经销商伙伴ID。|
	IndirectPartnerId string `json:"indirect_partner_id"`
	// |参数名称:授信金额。单位为元不能为负数,精确到小数点后两位。| |参数的约束及描述:授信金额。单位为元不能为负数,精确到小数点后两位。|
	Amount float32 `json:"amount"`
}

func (AdjustToIndirectPartnerReq) String

type AgentPayInfo

type AgentPayInfo struct {
	// |参数名称:是否代付. 0, 租户自己支付;1,合作伙伴代付。如果是待支付状态,这个地方是表明是否申请了代付人支付,如果是已支付状态,是表明是不是由代付人支付。| |参数的约束及描述:支付类型. 0, 租户自己支付;1,合作伙伴代付。|
	IsAgentPay *int32 `json:"is_agent_pay,omitempty"`
	// |参数名称:代付人,当payingType=1的时候有值| |参数约束及描述:代付人,当payingType=1的时候有值|
	PayingAgentId *string `json:"paying_agent_id,omitempty"`
}

func (AgentPayInfo) String

func (o AgentPayInfo) String() string

type AmountInfomation

type AmountInfomation struct {
	// |参数名称:费用项。| |参数约束及描述: 费用项。|
	Discounts *[]DiscountEntry `json:"discounts,omitempty"`
	// |参数名称:现金券金额。| |参数的约束及描述:现金券金额。|
	FlexipurchaseCouponAmount *float64 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:代金券金额。| |参数的约束及描述:代金券金额。|
	CouponAmount *float64 `json:"coupon_amount,omitempty"`
	// |参数名称:储值卡金额。| |参数的约束及描述:储值卡金额。|
	StoredCardAmount *float64 `json:"stored_card_amount,omitempty"`
}

func (AmountInfomation) String

func (o AmountInfomation) String() string

type AmountInfomationV2

type AmountInfomationV2 struct {
	// |参数名称:费用项。具体请参见表 DiscountItemV2。| |参数约束以及描述:费用项。具体请参见表 DiscountItemV2。|
	Discounts *[]DiscountItemV2 `json:"discounts,omitempty"`
	// |参数名称:现金券金额,预留。| |参数的约束及描述:现金券金额,预留。|
	FlexipurchaseCouponAmount *float64 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:代金券金额。| |参数的约束及描述:代金券金额。|
	CouponAmount *float64 `json:"coupon_amount,omitempty"`
	// |参数名称:储值卡金额,预留。| |参数的约束及描述:储值卡金额,预留。|
	StoredCardAmount *float64 `json:"stored_card_amount,omitempty"`
	// |参数名称:手续费(仅退订订单存在)。| |参数的约束及描述:手续费(仅退订订单存在)。|
	CommissionAmount *float64 `json:"commission_amount,omitempty"`
	// |参数名称:消费金额(仅退订订单存在)。| |参数的约束及描述:消费金额(仅退订订单存在)。|
	ConsumedAmount *float64 `json:"consumed_amount,omitempty"`
}

func (AmountInfomationV2) String

func (o AmountInfomationV2) String() string

type ApplyEnterpriseRealnameAuthsReq

type ApplyEnterpriseRealnameAuthsReq struct {
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:认证方案。1:企业证件扫描| |参数的约束及描述:认证方案。1:企业证件扫描|
	IdentifyType int32 `json:"identify_type"`
	// |参数名称:企业证件类型:0:企业营业执照1:事业单位法人证书2:社会团体法人登记证书3:行政执法主体资格证4:组织机构代码证99:其他| |参数的约束及描述:企业证件类型:0:企业营业执照1:事业单位法人证书2:社会团体法人登记证书3:行政执法主体资格证4:组织机构代码证99:其他|
	CertificateType *int32 `json:"certificate_type,omitempty"`
	// |参数名称:企业证件认证时证件附件的文件URL。附件地址必须按照顺序填写,先填写企业证件的附件,如果请求中填写了企业人员信息,再填写企业人员的身份证附件。企业证件顺序为:第1张企业证件照附件,企业人员的证件顺序为:第1张个人身份证的人像面第2张个人身份证的国徽面以营业执照举例,假设存在法人的情况下,第1张上传的是营业执照扫描件abc.023,第2张是法人的身份证人像面照片def004,第3张是法人的国徽面照片gh007,那么上传顺序需要是:abc023def004gh007文件名称区分大小写附件地址必须按照顺序填写,先填写企业证件的附件,如果请求中填写了企业人员信息,再填写企业人员的身份证附件。企业证件顺序为:第1张企业证件照正面,第2张企业证件照反面,个人证件顺序为:第1张个人身份证的人像面第2张个人身份证的国徽面假设不存在法人的情况下,第1张上传的是企业证件正面扫描件abc.023,第2张上传的是企业证件反面扫描件def004,那么上传顺序需要是:abc023def004文件名称区分大小写证件附件目前仅仅支持jpg、jpeg、bmp、png、gif、pdf格式,单个文件最大不超过10M。这个URL是相对URL,不需要包含桶名和download目录,只要包含download目录下的子目录和对应文件名称即可。举例如下:如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/abc023.jpg,该字段填写abc023.jpg;如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/test/abc023.jpg,该字段填写test/abc023.jpg。| |参数约束以及描述:企业证件认证时证件附件的文件URL。附件地址必须按照顺序填写,先填写企业证件的附件,如果请求中填写了企业人员信息,再填写企业人员的身份证附件。企业证件顺序为:第1张企业证件照附件,企业人员的证件顺序为:第1张个人身份证的人像面第2张个人身份证的国徽面以营业执照举例,假设存在法人的情况下,第1张上传的是营业执照扫描件abc.023,第2张是法人的身份证人像面照片def004,第3张是法人的国徽面照片gh007,那么上传顺序需要是:abc023def004gh007文件名称区分大小写附件地址必须按照顺序填写,先填写企业证件的附件,如果请求中填写了企业人员信息,再填写企业人员的身份证附件。企业证件顺序为:第1张企业证件照正面,第2张企业证件照反面,个人证件顺序为:第1张个人身份证的人像面第2张个人身份证的国徽面假设不存在法人的情况下,第1张上传的是企业证件正面扫描件abc.023,第2张上传的是企业证件反面扫描件def004,那么上传顺序需要是:abc023def004文件名称区分大小写证件附件目前仅仅支持jpg、jpeg、bmp、png、gif、pdf格式,单个文件最大不超过10M。这个URL是相对URL,不需要包含桶名和download目录,只要包含download目录下的子目录和对应文件名称即可。举例如下:如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/abc023.jpg,该字段填写abc023.jpg;如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/test/abc023.jpg,该字段填写test/abc023.jpg。|
	VerifiedFileUrl []string `json:"verified_file_url"`
	// |参数名称:单位名称。不能全是数字、特殊字符、空格。| |参数约束及描述:单位名称。不能全是数字、特殊字符、空格。|
	CorpName string `json:"corp_name"`
	// |参数名称:单位证件号码。| |参数约束及描述:单位证件号码。|
	VerifiedNumber string `json:"verified_number"`
	// |参数名称:实名认证填写的注册国家。国家的两位字母简码。例如:注册国家为“中国”请填写“CN”。| |参数约束及描述:实名认证填写的注册国家。国家的两位字母简码。例如:注册国家为“中国”请填写“CN”。|
	RegCountry *string `json:"reg_country,omitempty"`
	// |参数名称:实名认证企业注册地址。| |参数约束及描述:实名认证企业注册地址。|
	RegAddress *string `json:"reg_address,omitempty"`
	// |参数名称:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值| |参数约束及描述:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值|
	XaccountType     string               `json:"xaccount_type"`
	EnterprisePerson *EnterprisePersonNew `json:"enterprise_person,omitempty"`
}

func (ApplyEnterpriseRealnameAuthsReq) String

type ApplyIndividualRealnameAuthsReq

type ApplyIndividualRealnameAuthsReq struct {
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:认证方案:0:个人证件认证4:个人银行卡认证。这种方式下,仅仅需要上传一张个人扫脸的图片附件即可。| |参数的约束及描述:认证方案:0:个人证件认证4:个人银行卡认证。这种方式下,仅仅需要上传一张个人扫脸的图片附件即可。|
	IdentifyType int32 `json:"identify_type"`
	// |参数名称:证件类型:0:身份证,上传的附件为3张,第1张是身份证人像面,第2张是身份证国徽面,第3张是个人手持身份证人像面;3:护照,上传的附件为3张,第1张是护照个人资料页,第2张是,护照入境盖章页,第3张是手持护照个人资料页;3:护照,上传的附件为2张,第1张是护照个人资料页,第2张是手持护照个人资料页;5:港澳通行证,上传的附件为3张,第1张是港澳居民来往内地通行证正面(人像面),第2张是港澳居民来往内地通行证反面,第3张是手持港澳居民来往内地通行证人像面;6:台湾通行证,上传的附件为3张,第1张是台湾居民来往大陆通行证正面(人像面),第2张是台湾居民来往大陆通行证反面,第3张是手持台湾居民来往大陆通行证人像面;7:海外驾照,上传的附件为2张,第1张是中国以外驾照正面照片(人像面),第2张是手持中国以外驾照人像面照片;9:港澳居民居住证,上传的附件为3张,第1张是港澳居民居住证人像面,第2张是,港澳居民居住证国徽面,第3张是手持港澳居民居住证人像面照片;10:台湾居民居住证,上传的附件为3张,第1张是台湾居民居住证人像面,第2张是台湾居民居住证国徽面,第3张是手持台湾居民居住证人像面照片。当identifyType=0的时候,该字段需要填写,否则忽略该字段的取值。| |参数的约束及描述:证件类型:0:身份证,上传的附件为3张,第1张是身份证人像面,第2张是身份证国徽面,第3张是个人手持身份证人像面;3:护照,上传的附件为3张,第1张是护照个人资料页,第2张是,护照入境盖章页,第3张是手持护照个人资料页;3:护照,上传的附件为2张,第1张是护照个人资料页,第2张是手持护照个人资料页;5:港澳通行证,上传的附件为3张,第1张是港澳居民来往内地通行证正面(人像面),第2张是港澳居民来往内地通行证反面,第3张是手持港澳居民来往内地通行证人像面;6:台湾通行证,上传的附件为3张,第1张是台湾居民来往大陆通行证正面(人像面),第2张是台湾居民来往大陆通行证反面,第3张是手持台湾居民来往大陆通行证人像面;7:海外驾照,上传的附件为2张,第1张是中国以外驾照正面照片(人像面),第2张是手持中国以外驾照人像面照片;9:港澳居民居住证,上传的附件为3张,第1张是港澳居民居住证人像面,第2张是,港澳居民居住证国徽面,第3张是手持港澳居民居住证人像面照片;10:台湾居民居住证,上传的附件为3张,第1张是台湾居民居住证人像面,第2张是台湾居民居住证国徽面,第3张是手持台湾居民居住证人像面照片。当identifyType=0的时候,该字段需要填写,否则忽略该字段的取值。|
	VerifiedType *int32 `json:"verified_type,omitempty"`
	// |参数名称:个人证件认证时证件附件的文件URL,该URL地址必须按照顺序填写。以身份证举例,譬如身份证人像面文件名称是abc023,国徽面是def004,个人手持身份证人像面是gh007,那么这个地方需要按照abc023def004gh007的顺序填写URL(文件名称区分大小写)。以护照举例,譬如护照个人资料页文件名称是abc023,手持护照个人资料页是def004,那么这个地方需要按照abc023def004的顺序填写URL(文件名称区分大小写)。证件附件目前仅仅支持jpg、jpeg、bmp、png、gif、pdf格式,单个文件最大不超过10M。这个URL是相对URL,不需要包含桶名和download目录,只要包含download目录下的子目录和对应文件名称即可。举例如下:如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/abc023.jpg,该字段填写abc023.jpg;如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/test/abc023.jpg,该字段填写test/abc023.jpg。| |参数约束以及描述:个人证件认证时证件附件的文件URL,该URL地址必须按照顺序填写。以身份证举例,譬如身份证人像面文件名称是abc023,国徽面是def004,个人手持身份证人像面是gh007,那么这个地方需要按照abc023def004gh007的顺序填写URL(文件名称区分大小写)。以护照举例,譬如护照个人资料页文件名称是abc023,手持护照个人资料页是def004,那么这个地方需要按照abc023def004的顺序填写URL(文件名称区分大小写)。证件附件目前仅仅支持jpg、jpeg、bmp、png、gif、pdf格式,单个文件最大不超过10M。这个URL是相对URL,不需要包含桶名和download目录,只要包含download目录下的子目录和对应文件名称即可。举例如下:如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/abc023.jpg,该字段填写abc023.jpg;如果上传的证件附件在桶中的位置是:https://bucketname.obs.Endpoint.myhuaweicloud.com/download/test/abc023.jpg,该字段填写test/abc023.jpg。|
	VerifiedFileUrl []string `json:"verified_file_url"`
	// |参数名称:姓名。| |参数约束及描述:姓名。|
	Name string `json:"name"`
	// |参数名称:证件号码。| |参数约束及描述:证件号码。|
	VerifiedNumber string `json:"verified_number"`
	// |参数名称:变更类型:-1:首次实名认证| |参数的约束及描述:变更类型:-1:首次实名认证|
	ChangeType *int32 `json:"change_type,omitempty"`
	// |参数名称:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值如何获取xaccountType的取值。| |参数约束及描述:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值如何获取xaccountType的取值。|
	XaccountType string          `json:"xaccount_type"`
	BankCardInfo *BankCardInfoV2 `json:"bank_card_info,omitempty"`
}

func (ApplyIndividualRealnameAuthsReq) String

type AutoRenewalResourcesRequest

type AutoRenewalResourcesRequest struct {
	ResourceId string `json:"resource_id"`
}

Request Object

func (AutoRenewalResourcesRequest) String

type AutoRenewalResourcesResponse

type AutoRenewalResourcesResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (AutoRenewalResourcesResponse) String

type BalanceTypeDeductSumV2

type BalanceTypeDeductSumV2 struct {
	// |参数名称:账户类型。BALANCE_TYPE_DEBIT:余额BALANCE_TYPE_CREDIT:信用BALANCE_TYPE_BONUS:奖励BALANCE_TYPE_COUPON:代金券BALANCE_TYPE_RCASH_COUPON 现金券。BALANCE_TYPE_STORED_VALUE_CARD:储值卡消费| |参数约束及描述:账户类型。BALANCE_TYPE_DEBIT:余额BALANCE_TYPE_CREDIT:信用BALANCE_TYPE_BONUS:奖励BALANCE_TYPE_COUPON:代金券BALANCE_TYPE_RCASH_COUPON 现金券。BALANCE_TYPE_STORED_VALUE_CARD:储值卡消费|
	BalanceType *string `json:"balance_type,omitempty"`
	// |参数名称:金额。对于billType=1或者2的账单,该金额为负值。| |参数的约束及描述:金额。对于billType=1或者2的账单,该金额为负值。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:费用类型。0:正常;1:退订;2:华为核销。| |参数约束及描述:费用类型。0:正常;1:退订;2:华为核销。|
	BillType *string `json:"bill_type,omitempty"`
}

func (BalanceTypeDeductSumV2) String

func (o BalanceTypeDeductSumV2) String() string

type BankCardInfoV2

type BankCardInfoV2 struct {
	// |参数名称:银行卡账号。当identifyType为4时,不能为空。银行账号输入规则:^[0-9a-zA-Z],可以包含特殊横杠(-)字符。| |参数约束及描述:银行卡账号。当identifyType为4时,不能为空。银行账号输入规则:^[0-9a-zA-Z],可以包含特殊横杠(-)字符。|
	BankAccount string `json:"bank_account"`
	// |参数名称:国家/区号码。例如:0086:中国大陆区号码。| |参数约束及描述:国家/区号码。例如:0086:中国大陆区号码。|
	Areacode string `json:"areacode"`
	// |参数名称:手机号码。| |参数约束及描述:手机号码。|
	Mobile string `json:"mobile"`
	// |参数名称:验证码。| |参数约束及描述:验证码。|
	VerificationCode string `json:"verification_code"`
}

func (BankCardInfoV2) String

func (o BankCardInfoV2) String() string

type BatchSetSubCustomerDiscountRequest

type BatchSetSubCustomerDiscountRequest struct {
	Body *SetPartnerDiscountsReq `json:"body,omitempty"`
}

Request Object

func (BatchSetSubCustomerDiscountRequest) String

type BatchSetSubCustomerDiscountResponse

type BatchSetSubCustomerDiscountResponse struct {
	// |参数名称:错误的客户列表和错误信息| |参数约束以及描述:错误的客户列表和错误信息|
	ErrorDetails   *[]ErrorDetail `json:"error_details,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (BatchSetSubCustomerDiscountResponse) String

type BillSumInfoV2

type BillSumInfoV2 struct {
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型。|
	CloudServiceType *string `json:"cloud_service_type,omitempty"`
	// |参数名称:费用类型。0:消费;1:退订;2:华为核销。| |参数约束及描述:费用类型。0:消费;1:退订;2:华为核销。|
	BillType *string `json:"bill_type,omitempty"`
	// |参数名称:消费类型。1:包周期;3: 按需。| |参数约束及描述:消费类型。1:包周期;3: 按需。|
	ChargeMode *string `json:"charge_mode,omitempty"`
	// |参数名称:消费的金额,即从客户账户实际扣除的金额。对于billType=1或者2的账单,该金额为负值。| |参数的约束及描述:消费的金额,即从客户账户实际扣除的金额。对于billType=1或者2的账单,该金额为负值。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:欠费金额,指从客户账户扣费的时候,客户账户金额不足,欠费的金额,华为核销或者退订的时候没有该字段。| |参数的约束及描述:欠费金额,指从客户账户扣费的时候,客户账户金额不足,欠费的金额,华为核销或者退订的时候没有该字段。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:核销欠款,华为核销或者退订的时候没有该字段。| |参数的约束及描述:核销欠款,华为核销或者退订的时候没有该字段。|
	AdjustmentAmount float32 `json:"adjustment_amount,omitempty"`
	// |参数名称:折扣金额,华为核销或者退订的时候没有该字段。| |参数的约束及描述:折扣金额,华为核销或者退订的时候没有该字段。|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:金额单位。1:元;2:角;3:分| |参数的约束及描述:金额单位。1:元;2:角;3:分|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:按不同账户消费类型和付费方式区分的支付总金额。具体请参见表 BalanceTypeDeductSum。| |参数约束以及描述:按不同账户消费类型和付费方式区分的支付总金额。具体请参见表 BalanceTypeDeductSum。|
	AccountDetails *[]BalanceTypeDeductSumV2 `json:"account_details,omitempty"`
	// |参数名称:资源类型编码| |参数约束及描述:资源类型编码|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
}

func (BillSumInfoV2) String

func (o BillSumInfoV2) String() string

type BillSumRecordInfoV2

type BillSumRecordInfoV2 struct {
	// |参数名称:账期,格式为YYYY-MM| |参数约束及描述:账期,格式为YYYY-MM|
	BillCycle *string `json:"bill_cycle,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:计费模式1:包周期;3:按需;10:预留实例| |参数约束及描述:计费模式1:包周期;3:按需;10:预留实例|
	ChargingMode *int32 `json:"charging_mode,omitempty"`
	// |参数名称:官网价| |参数的约束及描述:官网价|
	OfficialAmount float32 `json:"official_amount,omitempty"`
	// |参数名称:折扣金额| |参数的约束及描述:折扣金额|
	OfficialDiscountAmount float32 `json:"official_discount_amount,omitempty"`
	// |参数名称:抹零金额| |参数的约束及描述:抹零金额|
	TruncatedAmount float32 `json:"truncated_amount,omitempty"`
	// |参数名称:应付金额,应付金额 = 官网价-折扣金额-抹零金额| |参数的约束及描述:应付金额,应付金额 = 官网价-折扣金额-抹零金额|
	ConsumeAmount float32 `json:"consume_amount,omitempty"`
	// |参数名称:代金券金额。| |参数的约束及描述:代金券金额。|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券金额,预留。| |参数的约束及描述:现金券金额,预留。|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡金额,预留。| |参数的约束及描述:储值卡金额,预留。|
	StoredValueCardAmount float32 `json:"stored_value_card_amount,omitempty"`
	// |参数名称:欠费金额,即从客户账户扣费的时候,客户账户金额不足,欠费的金额。| |参数的约束及描述:欠费金额,即从客户账户扣费的时候,客户账户金额不足,欠费的金额。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:欠费核销金额| |参数的约束及描述:欠费核销金额|
	WriteoffAmount float32 `json:"writeoff_amount,omitempty"`
	// |参数名称:现金账户金额。| |参数的约束及描述:现金账户金额。|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用账户金额。| |参数的约束及描述:信用账户金额。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:金额单位。1:元| |参数的约束及描述:金额单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:消费类型:1:消费2:退款3:调账| |参数的约束及描述:消费类型:1:消费2:退款3:调账|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:消费的客户账号ID。| |参数约束及描述:如果是查询自己,这个地方是自身的ID; 如果是查询某个企业子客户,这个地方是企业子客户ID如果是查询以及下面的所有子客户,这个地方是消费的实际客户ID; 如果是企业主自身消费,为企业主ID,如果这条消费记录是某个企业子客户的消费,这个地方的ID是企业子账号ID。|
	CustomerId *string `json:"customer_id,omitempty"`
}

func (BillSumRecordInfoV2) String

func (o BillSumRecordInfoV2) String() string

type CancelAutoRenewalResourcesRequest

type CancelAutoRenewalResourcesRequest struct {
	ResourceId string `json:"resource_id"`
}

Request Object

func (CancelAutoRenewalResourcesRequest) String

type CancelAutoRenewalResourcesResponse

type CancelAutoRenewalResourcesResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelAutoRenewalResourcesResponse) String

type CancelCustomerOrderReq

type CancelCustomerOrderReq struct {
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId string `json:"order_id"`
}

func (CancelCustomerOrderReq) String

func (o CancelCustomerOrderReq) String() string

type CancelCustomerOrderRequest

type CancelCustomerOrderRequest struct {
	Body *CancelCustomerOrderReq `json:"body,omitempty"`
}

Request Object

func (CancelCustomerOrderRequest) String

type CancelCustomerOrderResponse

type CancelCustomerOrderResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CancelCustomerOrderResponse) String

type CancelResourcesSubscriptionRequest

type CancelResourcesSubscriptionRequest struct {
	Body *UnsubscribeResourcesReq `json:"body,omitempty"`
}

Request Object

func (CancelResourcesSubscriptionRequest) String

type CancelResourcesSubscriptionResponse

type CancelResourcesSubscriptionResponse struct {
	// |参数名称:退订资源生成的订单ID的列表。| |参数约束以及描述:续订资源生成的订单ID的列表。|
	OrderIds       *[]string `json:"order_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CancelResourcesSubscriptionResponse) String

type ChangeEnterpriseRealnameAuthenticationRequest

type ChangeEnterpriseRealnameAuthenticationRequest struct {
	Body *ChangeEnterpriseRealnameAuthsReq `json:"body,omitempty"`
}

Request Object

func (ChangeEnterpriseRealnameAuthenticationRequest) String

type ChangeEnterpriseRealnameAuthenticationResponse

type ChangeEnterpriseRealnameAuthenticationResponse struct {
	// |参数名称:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要| |参数的约束及描述:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要|
	IsReview       *int32 `json:"is_review,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ChangeEnterpriseRealnameAuthenticationResponse) String

type ChangeEnterpriseRealnameAuthsReq

type ChangeEnterpriseRealnameAuthsReq struct {
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:认证方案。1:企业证件扫描| |参数的约束及描述:认证方案。1:企业证件扫描|
	IdentifyType int32 `json:"identify_type"`
	// |参数名称:企业证件类型:0:企业营业执照1:事业单位法人证书2:社会团体法人登记证书3:行政执法主体资格证4:组织机构代码证99:其他| |参数的约束及描述:企业证件类型:0:企业营业执照1:事业单位法人证书2:社会团体法人登记证书3:行政执法主体资格证4:组织机构代码证99:其他|
	CertificateType *int32 `json:"certificate_type,omitempty"`
	// |参数名称:企业证件认证时证件附件的文件URL。
	VerifiedFileUrl []string `json:"verified_file_url"`
	// |参数名称:单位名称。不能全是数字、特殊字符、空格。| |参数约束及描述:单位名称。不能全是数字、特殊字符、空格。|
	CorpName string `json:"corp_name"`
	// |参数名称:单位证件号码。| |参数约束及描述:单位证件号码。|
	VerifiedNumber string `json:"verified_number"`
	// |参数名称:实名认证填写的注册国家。国家的两位字母简码。例如:注册国家为“中国”请填写“CN”。| |参数约束及描述:实名认证填写的注册国家。国家的两位字母简码。例如:注册国家为“中国”请填写“CN”。|
	RegCountry *string `json:"reg_country,omitempty"`
	// |参数名称:实名认证企业注册地址。| |参数约束及描述:实名认证企业注册地址。|
	RegAddress *string `json:"reg_address,omitempty"`
	// |参数名称:变更类型:1:个人变企业| |参数的约束及描述:变更类型:1:个人变企业|
	ChangeType int32 `json:"change_type"`
	// |参数名称:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值| |参数约束及描述:华为分给合作伙伴的平台标识。该标识的具体值由华为分配。获取方法请参见如何获取xaccountType的取值|
	XaccountType     string               `json:"xaccount_type"`
	EnterprisePerson *EnterprisePersonNew `json:"enterprise_person,omitempty"`
}

func (ChangeEnterpriseRealnameAuthsReq) String

type CheckSubcustomerUserReq

type CheckSubcustomerUserReq struct {
	// |参数名称:该字段内容可填为:“email”、“mobile”或“name”| |参数的约束及描述:该参数必填,且只允许字符串|
	SearchType string `json:"search_type"`
	// |参数名称:手机、邮箱或用户名| |参数的约束及描述:该参数必填,且只允许字符串,手机包括国家码,以00开头,格式:00XX-XXXXXXXX。目前手机号仅仅支持以86为国家码|
	SearchValue string `json:"search_value"`
}

func (CheckSubcustomerUserReq) String

func (o CheckSubcustomerUserReq) String() string

type CheckUserIdentityRequest

type CheckUserIdentityRequest struct {
	Body *CheckSubcustomerUserReq `json:"body,omitempty"`
}

Request Object

func (CheckUserIdentityRequest) String

func (o CheckUserIdentityRequest) String() string

type CheckUserIdentityResponse

type CheckUserIdentityResponse struct {
	// |参数名称:返回码| |参数的约束及描述:该参数必填,且只允许字符串|
	ErrorCode *string `json:"error_code,omitempty"`
	// |参数名称:返回码描述| |参数的约束及描述:该参数必填,且只允许字符串|
	ErrorMsg *string `json:"error_msg,omitempty"`
	// |参数名称:是否可以继续注册| |参数的约束及描述:该参数非必填,且只允许字符串,available: 该登录名称/手机号/邮箱可以继续注册,used_by_user: 该登录名称/手机号/邮箱不可以继续注册|
	CheckResult    *string `json:"check_result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CheckUserIdentityResponse) String

func (o CheckUserIdentityResponse) String() string

type City

type City struct {
	// |参数名称:城市的编码。| |参数约束及描述:城市的编码。|
	Code string `json:"code"`
	// |参数名称:城市的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文。| |参数约束及描述:城市的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文。|
	Name string `json:"name"`
}

func (City) String

func (o City) String() string

type Conversion

type Conversion struct {
	// |参数名称:度量单位| |参数的约束及描述:度量单位|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:转换的度量单位| |参数的约束及描述:转换的度量单位|
	RefMeasureId *int32 `json:"ref_measure_id,omitempty"`
	// |参数名称:转换比率| |参数的约束及描述:转换比率|
	ConversionRatio *int64 `json:"conversion_ratio,omitempty"`
	// |参数名称:度量类型| |参数的约束及描述:度量类型|
	MeasureType *int32 `json:"measure_type,omitempty"`
}

func (Conversion) String

func (o Conversion) String() string

type County

type County struct {
	// |参数名称:区县的编码。| |参数约束及描述:区县的编码。|
	Code string `json:"code"`
	// |参数名称:区县的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文。| |参数约束及描述:区县的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文。|
	Name string `json:"name"`
}

func (County) String

func (o County) String() string

type CouponInfoV2

type CouponInfoV2 struct {
	// |参数名称:优惠券实例ID。| |参数约束及描述:优惠券实例ID。|
	CouponId *string `json:"coupon_id,omitempty"`
	// |参数名称:优惠券编码。| |参数约束及描述:优惠券编码。|
	CouponCode *string `json:"coupon_code,omitempty"`
	// |参数名称:优惠券状态:2:待使用。| |参数的约束及描述:优惠券状态:2:待使用。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:优惠券类型:301:代金券;302:现金券。| |参数的约束及描述:优惠券类型:301:代金券;302:现金券。|
	CouponType *int32 `json:"coupon_type,omitempty"`
	// |参数名称:面额单位:1:元。| |参数的约束及描述:面额单位:1:元。|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:优惠券金额。| |参数的约束及描述:优惠券金额。|
	FaceValue *float64 `json:"face_value,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-dTHH:mm:ssZ,如2019-05-06T08:05:01Z。| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-dTHH:mm:ssZ,如2019-05-06T08:05:01Z。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:促销计划名称。| |参数约束及描述:促销计划名称。|
	PlanName *string `json:"plan_name,omitempty"`
	// |参数名称:促销计划描述。| |参数约束及描述:促销计划描述。|
	PlanDesc *string `json:"plan_desc,omitempty"`
	// |参数名称:优惠券限制。具体请参见表 LimitInfo。| |参数约束以及描述:优惠券限制。具体请参见表 LimitInfo。|
	UseLimits *[]LimitInfoV2 `json:"use_limits,omitempty"`
	// |参数名称:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。| |参数约束及描述:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。|
	ActiveTime *string `json:"active_time,omitempty"`
	// |参数名称:上一次使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。| |参数约束及描述:上一次使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。|
	LastUsedTime *string `json:"last_used_time,omitempty"`
	// |参数名称:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。| |参数约束及描述:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如2019-05-06T08:05:01Z。|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:优惠券版本。1:老版本(原本分为三种:代金券/折扣券/奖金券);2:新版本(只有代金券)。| |参数的约束及描述:优惠券版本。1:老版本(原本分为三种:代金券/折扣券/奖金券);2:新版本(只有代金券)。|
	CouponVersion *int32 `json:"coupon_version,omitempty"`
	// |参数名称:余额。| |参数约束及描述: 余额。|
	Balance *float64 `json:"balance,omitempty"`
	// |参数名称:使用优惠券的订单ID,表示正在有另外一张订单正在使用这个优惠券。正在锁定的时候,只有锁定优惠券的订单才能使用这个优惠券,其他订单不能使用该优惠券。| |参数约束及描述:使用优惠券的订单ID,表示正在有另外一张订单正在使用这个优惠券。正在锁定的时候,只有锁定优惠券的订单才能使用这个优惠券,其他订单不能使用该优惠券。|
	UsedByOrderId *string `json:"used_by_order_id,omitempty"`
	// |参数名称:优惠券用途。| |参数约束及描述:优惠券用途。|
	CouponUsage *string `json:"coupon_usage,omitempty"`
}

func (CouponInfoV2) String

func (o CouponInfoV2) String() string

type CouponQuotaV2

type CouponQuotaV2 struct {
	// |参数名称:额度ID。| |参数约束及描述:额度ID。|
	QuotaId *string `json:"quota_id,omitempty"`
	// |参数名称:额度类型:0:代金券额度;| |参数的约束及描述:额度类型:0:代金券额度;|
	QuotaType *int32 `json:"quota_type,omitempty"`
	// |参数名称:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:最后一次更新时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:最后一次更新时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	LastUpdateTime *string `json:"last_update_time,omitempty"`
	// |参数名称:代金券额度的值,精确到小数点后2位。| |参数的约束及描述:代金券额度的值,精确到小数点后2位。|
	QuotaValue float32 `json:"quota_value,omitempty"`
	// |参数名称:状态:0:正常;3:失效(过期失效和人工设置失效);4:额度调整中(伙伴可以查看该额度,但不能使用该额度发放代金券)。5:冻结6:回收| |参数的约束及描述:状态:0:正常;3:失效(过期失效和人工设置失效);4:额度调整中(伙伴可以查看该额度,但不能使用该额度发放代金券)。5:冻结6:回收|
	QuotaStatus *int32 `json:"quota_status,omitempty"`
	// |参数名称:剩余的代金券额度,精确到小数点后2位。| |参数的约束及描述:剩余的代金券额度,精确到小数点后2位。|
	Balance float32 `json:"balance,omitempty"`
	// |参数名称:面额单位。1:元。| |参数的约束及描述:面额单位。1:元。|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。当前仅有CNY。| |参数约束及描述:币种。当前仅有CNY。|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:额度上的限制属性| |参数约束以及描述:额度上的限制属性|
	LimitInfos *[]QuotaLimitInfo `json:"limit_infos,omitempty"`
}

func (CouponQuotaV2) String

func (o CouponQuotaV2) String() string

type CouponRecordV2

type CouponRecordV2 struct {
	// |参数名称:唯一ID。| |参数约束及描述:唯一ID。|
	Id *string `json:"id,omitempty"`
	// |参数名称:操作类型:1:发放;2:手动回收;3:解绑自动回收| |参数约束及描述:操作类型:1:发放;2:手动回收;3:解绑自动回收|
	OperationType *string `json:"operation_type,omitempty"`
	// |参数名称:额度ID。| |参数约束及描述:额度ID。|
	QuotaId *string `json:"quota_id,omitempty"`
	// |参数名称:操作类型:1:发放;2:手动回收;3:解绑自动回收。| |参数的约束及描述:操作类型:1:发放;2:手动回收;3:解绑自动回收。|
	QuotaType *int32 `json:"quota_type,omitempty"`
	// |参数名称:代金券ID。| |参数约束及描述:代金券ID。|
	CouponId *string `json:"coupon_id,omitempty"`
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:操作的面额值。发放时,等于面额值;回收时,指每次回收的具体值。| |参数的约束及描述:操作的面额值。发放时,等于面额值;回收时,指每次回收的具体值。|
	OperationAmount float32 `json:"operation_amount,omitempty"`
	// |参数名称:操作时间。| |参数约束及描述:操作时间。|
	OperationTime *string `json:"operation_time,omitempty"`
	// |参数名称:操作结果:0:成功;其他:失败(直接记录错误码)。|参数约束及描述:操作结果:0:成功;其他:失败(直接记录错误码)。|
	Result *string `json:"result,omitempty"`
	// |参数名称:操作记录中的备注| |参数约束及描述:操作记录中的备注|
	Remark *string `json:"remark,omitempty"`
}

func (CouponRecordV2) String

func (o CouponRecordV2) String() string

type CouponSimpleInfo

type CouponSimpleInfo struct {
	// |参数名称:批量发放成功客户ID。| |参数约束及描述:批量发放成功客户ID。|
	Id string `json:"id"`
	// |参数名称:发放成功的券ID| |参数约束及描述:发放成功的券ID|
	CouponId string `json:"coupon_id"`
}

func (CouponSimpleInfo) String

func (o CouponSimpleInfo) String() string

type CouponSimpleInfoOrderPay

type CouponSimpleInfoOrderPay struct {
	// |参数名称:优惠券ID,同种类型的优惠券,列表前面会优先使用| |参数约束及描述:优惠券ID,同种类型的优惠券,列表前面会优先使用|
	Id string `json:"id"`
	// |参数名称:折扣类型:取值为300-折扣卷 301-促销代金券302-促销现金券303-促销储值卡| |参数的约束及描述:折扣类型:取值为300-折扣卷 301-促销代金券302-促销现金券303-促销储值卡|
	Type int32 `json:"type"`
}

func (CouponSimpleInfoOrderPay) String

func (o CouponSimpleInfoOrderPay) String() string

type CreateCustomerV2Req

type CreateCustomerV2Req struct {
	// |参数名称:客户的华为云账号名| |参数的约束及描述:该参数非必填,不能以“op_”或“shadow_”开头且不能全为数字。且只允许最大长度64的字符串,如果为空,随机生成。校验规则^[a-zA-Z0-9\\u00c0-\\u00ff-._ ]{0,64}$|
	DomainName *string `json:"domain_name,omitempty"`
	// |参数名称:手机号| |参数的约束及描述:如果接入的是华北站点,该字段必填,否则该字段忽略目前系统只支持中国手机,必须全部是数字。示例:13XXXXXXXXX|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:验证码| |参数的约束及描述:该参数必填,如果输入的是手机,就是手机验证码,如果输入的是邮箱,就是邮箱验证码|
	VerificationCode *string `json:"verification_code,omitempty"`
	// |参数名称:第3方系统的用户唯一标识| |参数的约束及描述:该参数必填,且只允许最大长度128的字符串|
	XaccountId string `json:"xaccount_id"`
	// |参数名称:华为分给合作伙伴的平台标识| |参数的约束及描述:该参数必填,且只允许最大长度30的字符串,该标识的具体值由华为分配|
	XaccountType string `json:"xaccount_type"`
	// |参数名称:密码| |参数的约束及描述:该参数选填,长度6~32位字符,至少包含以下四种字符中的两种: 大写字母、小写字母、数字、特殊字符,不能和账号名或倒序的账号名相同,不能包含手机号,不能包含邮箱|
	Password *string `json:"password,omitempty"`
	// |是否关闭营销消息| |参数的约束及描述:该参数选填。false:不关闭,True:关闭,默认不关闭|
	IsCloseMarketMs *string `json:"is_close_market_ms,omitempty"`
	// |合作类型| |参数的约束及描述:该参数选填。1:推荐。仅仅支持1|
	CooperationType *string `json:"cooperation_type,omitempty"`
	// |参数名称:二级渠道ID| |参数的约束及描述:该参数非必填,二级渠道ID,最大长度64|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	// |参数名称:是否返回关联结果| |参数的约束及描述:该参数非必填|
	IncludeAssociationResult *bool `json:"include_association_result,omitempty"`
}

func (CreateCustomerV2Req) String

func (o CreateCustomerV2Req) String() string

type CreateEnterpriseProjectAuthRequest

type CreateEnterpriseProjectAuthRequest struct {
}

Request Object

func (CreateEnterpriseProjectAuthRequest) String

type CreateEnterpriseProjectAuthResponse

type CreateEnterpriseProjectAuthResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateEnterpriseProjectAuthResponse) String

type CreateEnterpriseRealnameAuthenticationRequest

type CreateEnterpriseRealnameAuthenticationRequest struct {
	Body *ApplyEnterpriseRealnameAuthsReq `json:"body,omitempty"`
}

Request Object

func (CreateEnterpriseRealnameAuthenticationRequest) String

type CreateEnterpriseRealnameAuthenticationResponse

type CreateEnterpriseRealnameAuthenticationResponse struct {
	// |参数名称:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要| |参数的约束及描述:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要|
	IsReview       *int32 `json:"is_review,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateEnterpriseRealnameAuthenticationResponse) String

type CreatePartnerCouponsReq

type CreatePartnerCouponsReq struct {
	// |参数名称:优惠券额度ID优惠券的类型跟随额度中的类型。| |参数约束及描述:优惠券额度ID优惠券的类型跟随额度中的类型。|
	QuotaId string `json:"quota_id"`
	// |参数名称:客户ID列表| |参数约束以及描述:客户ID列表|
	CustomerIds []string `json:"customer_ids"`
	// |参数名称:优惠券的面值:小数点后2位。浮点数精度为:小数点后两位| |参数的约束及描述:优惠券的面值:小数点后2位|
	FaceValue float32 `json:"face_value"`
	// |参数名称:优惠券的生效时间,UTC格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:优惠券的生效时间,UTC格式:yyyy-MM-ddTHH:mm:ssZ|
	ValidTime *string `json:"valid_time,omitempty"`
	// |参数名称:优惠券的失效时间,UTC格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:优惠券的失效时间,UTC格式:yyyy-MM-ddTHH:mm:ssZ|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:云服务限制| |参数约束以及描述:云服务限制|
	CloudServiceTypes *[]string `json:"cloud_service_types,omitempty"`
	// |参数名称:产品限制| |参数约束以及描述:产品限制|
	ProductIds *[]string `json:"product_ids,omitempty"`
	// |参数名称:发券时的备注信息| |参数约束及描述:发券时的备注信息|
	Memo *string `json:"memo,omitempty"`
	// |参数名称:二级经销商ID| |参数约束及描述:如果一级经销商要给二级经销商的子客户设置折扣,需要携带这个字段|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (CreatePartnerCouponsReq) String

func (o CreatePartnerCouponsReq) String() string

type CreatePartnerCouponsRequest

type CreatePartnerCouponsRequest struct {
	Body *CreatePartnerCouponsReq `json:"body,omitempty"`
}

Request Object

func (CreatePartnerCouponsRequest) String

type CreatePartnerCouponsResponse

type CreatePartnerCouponsResponse struct {
	// |参数名称:错误的客户列表和错误信息| |参数约束以及描述:错误的客户列表和错误信息|
	ErrorDetails *[]ErrorDetail `json:"error_details,omitempty"`
	// |参数名称:成功的客户ID和对应的券ID列表| |参数约束以及描述:成功的客户ID和对应的券ID列表|
	CouponInfos    *[]CouponSimpleInfo `json:"coupon_infos,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (CreatePartnerCouponsResponse) String

type CreatePersonalRealnameAuthRequest

type CreatePersonalRealnameAuthRequest struct {
	Body *ApplyIndividualRealnameAuthsReq `json:"body,omitempty"`
}

Request Object

func (CreatePersonalRealnameAuthRequest) String

type CreatePersonalRealnameAuthResponse

type CreatePersonalRealnameAuthResponse struct {
	// |参数名称:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要| |参数的约束及描述:是否需要转人工审核,只有状态码为200才返回该参数:0:不需要1:需要|
	IsReview       *int32 `json:"is_review,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreatePersonalRealnameAuthResponse) String

type CreatePostalRequest

type CreatePostalRequest struct {
	XLanguage *string       `json:"X-Language,omitempty"`
	Body      *AddPostalReq `json:"body,omitempty"`
}

Request Object

func (CreatePostalRequest) String

func (o CreatePostalRequest) String() string

type CreatePostalResponse

type CreatePostalResponse struct {
	// |参数名称:邮寄地址ID| |参数约束及描述:邮寄地址ID|
	AddressId      *string `json:"address_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreatePostalResponse) String

func (o CreatePostalResponse) String() string

type CreateSubCustomerReqV2

type CreateSubCustomerReqV2 struct {
	// |参数名称:子账号挂载的组织单元,填写组织单元的Party ID,通过查询企业组织结构接口的响应获得。| |参数约束及描述:子账号挂载的组织单元,填写组织单元的Party ID,通过查询企业组织结构接口的响应获得。|
	PartyId string `json:"party_id"`
	// |参数名称:企业子账号的显示名称不限制特殊字符。| |参数约束及描述:企业子账号的显示名称不限制特殊字符。|
	DisplayName *string `json:"display_name,omitempty"`
	// |参数名称:子账号关联类型:1:同一法人。注:关联类型目前只能是同一法人。| |参数的约束及描述:子账号关联类型:1:同一法人。注:关联类型目前只能是同一法人。|
	SubCustomerAssociationType *int32 `json:"sub_customer_association_type,omitempty"`
	// |参数名称:申请的权限列表。支持的权限项参见表 权限项定义列表| |参数约束以及描述:申请的权限列表。支持的权限项参见表 权限项定义列表|
	PermissionIds  *[]string      `json:"permission_ids,omitempty"`
	NewSubCustomer *NewCustomerV2 `json:"new_sub_customer"`
}

func (CreateSubCustomerReqV2) String

func (o CreateSubCustomerReqV2) String() string

type CreateSubCustomerRequest

type CreateSubCustomerRequest struct {
	Body *CreateCustomerV2Req `json:"body,omitempty"`
}

Request Object

func (CreateSubCustomerRequest) String

func (o CreateSubCustomerRequest) String() string

type CreateSubCustomerResponse

type CreateSubCustomerResponse struct {
	// |参数名称:客户ID| |参数的约束及描述:只有成功或客户向伙伴授权发生异常(CBC.5025)时才会返回,且只允许最大长度64的字符串|
	DomainId *string `json:"domain_id,omitempty"`
	// |参数名称:用户登录名| |参数的约束及描述:只有成功的时候才会返回,且只允许最大长度64的字符串|
	DomainName     *string `json:"domain_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateSubCustomerResponse) String

func (o CreateSubCustomerResponse) String() string

type CreateSubEnterpriseAccountRequest

type CreateSubEnterpriseAccountRequest struct {
	Body *CreateSubCustomerReqV2 `json:"body,omitempty"`
}

Request Object

func (CreateSubEnterpriseAccountRequest) String

type CreateSubEnterpriseAccountResponse

type CreateSubEnterpriseAccountResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (CreateSubEnterpriseAccountResponse) String

type CustomerBalancesV2

type CustomerBalancesV2 struct {
	// |参数名称:客户的客户ID。| |参数约束及描述:客户的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:客户欠款总额度。| |参数约束及描述: 客户欠款总额度。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:客户可用总额度。| |参数约束及描述: 客户可用总额度。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:币种。| |参数约束及描述:币种。|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:度量单位:1:元;2:角;3:分。| |参数的约束及描述:度量单位:1:元;2:角;3:分。|
	MeasureId *int32 `json:"measure_id,omitempty"`
}

func (CustomerBalancesV2) String

func (o CustomerBalancesV2) String() string

type CustomerInfoV2

type CustomerInfoV2 struct {
	// |参数名称:客户的客户ID。| |参数约束及描述:客户的客户ID。|
	CustomerId string `json:"customer_id"`
}

func (CustomerInfoV2) String

func (o CustomerInfoV2) String() string

type CustomerInformation

type CustomerInformation struct {
	// |参数名称:实名认证名称。虚拟账号下,该字段无效。| |参数约束及描述:实名认证名称。虚拟账号下,该字段无效。|
	Customer *string `json:"customer,omitempty"`
	// |参数名称:客户登录名称(如果客户创建了子用户,此处返回主账号登录名称)。| |参数约束及描述:客户登录名称(如果客户创建了子用户,此处返回主账号登录名称)。|
	AccountName string `json:"account_name"`
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:客户和伙伴关联时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”,其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:客户和伙伴关联时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”,其中,HH范围是0~23,mm和ss范围是0~59。|
	AssociatedOn *string `json:"associated_on,omitempty"`
	// |参数名称:合作模式。1:推荐2:垫付3:转售| |参数约束及描述:合作模式。1:推荐2:垫付3:转售|
	AssociationType *string `json:"association_type,omitempty"`
	// |参数名称:标签,支持模糊查找。虚拟账号下,该字段无效。| |参数约束及描述:标签,支持模糊查找。虚拟账号下,该字段无效。|
	Label *string `json:"label,omitempty"`
	// |参数名称:客户电话号码。虚拟账号下,该字段无效。| |参数约束及描述:客户电话号码。虚拟账号下,该字段无效。|
	Telephone *string `json:"telephone,omitempty"`
	// |参数名称:实名认证状态,虚拟账号下,该字段无效。:null:实名认证开关关闭;-1:未实名认证;0:实名认证审核中;1:实名认证不通过;2:已实名认证;3:实名认证失败。| |参数约束及描述:实名认证状态,虚拟账号下,该字段无效。:null:实名认证开关关闭;-1:未实名认证;0:实名认证审核中;1:实名认证不通过;2:已实名认证;3:实名认证失败。|
	VerifiedStatus *string `json:"verified_status,omitempty"`
	// |参数名称:国家码,电话号码的国家码前缀。虚拟账号下,该字段无效。例如:中国 0086。| |参数约束及描述:国家码,电话号码的国家码前缀。虚拟账号下,该字段无效。例如:中国 0086。|
	CountryCode *string `json:"country_code,omitempty"`
	// |参数名称:客户类型,虚拟账号下,该字段无效。:-1:无类型0:个人1:企业客户刚注册的时候,没有具体的客户类型,为“-1:无类型”,客户可以在账号中心通过设置客户类型或者在实名认证的时候,选择对应的企业/个人实名认证来决定自己的类型。| |参数的约束及描述:客户类型,虚拟账号下,该字段无效。:-1:无类型0:个人1:企业客户刚注册的时候,没有具体的客户类型,为“-1:无类型”,客户可以在账号中心通过设置客户类型或者在实名认证的时候,选择对应的企业/个人实名认证来决定自己的类型。|
	CustomerType *int32 `json:"customer_type,omitempty"`
	// |参数名称:是否伙伴冻结,注意,只有转售子客户才能被伙伴冻结:0:否1:是| |参数的约束及描述:是否伙伴冻结,注意,只有转售子客户才能被伙伴冻结:0:否1:是|
	IsFrozen *int32 `json:"is_frozen,omitempty"`
	// |参数名称:客户经理名称列表,目前只支持1个| |参数约束以及描述:客户经理名称列表,目前只支持1个|
	AccountManagers *[]AccountManager `json:"account_managers,omitempty"`
}

func (CustomerInformation) String

func (o CustomerInformation) String() string

type CustomerOnDemandResource

type CustomerOnDemandResource struct {
	// |参数名称:所属的客户ID。| |参数约束及描述:所属的客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	RegionCode *string `json:"region_code,omitempty"`
	// |参数名称:所属的AZ的编码。| |参数约束及描述:所属的AZ的编码。|
	AvailabilityZoneCode *string `json:"availability_zone_code,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:具体资源的ID。| |参数约束及描述:具体资源的ID。|
	ResourceId *string `json:"resource_id,omitempty"`
	// |参数名称:资源实例的名称。| |参数约束及描述:资源实例的名称。|
	ResourceName *string `json:"resource_name,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:资源状态:1:正常(已开通);2:宽限期;3:冻结中;4:变更中;5:正在关闭;6:已关闭。| |参数的约束及描述:资源状态:1:正常(已开通);2:宽限期;3:冻结中;4:变更中;5:正在关闭;6:已关闭。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:按需资源规格编码。| |参数约束及描述:按需资源规格编码。|
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`
	// |参数名称:资源容量大小。格式如| |参数约束及描述:资源容量大小。格式如:\"resourceInfo\": \"{\\\"specSize\\\":40.0}\"|
	ResourceInfo *string `json:"resource_info,omitempty"`
	// |参数名称:产品规格描述| |参数约束及描述:譬如虚拟机为:\"通用计算增强型|c6.2xlarge.4|8vCPUs|32GB|linux\",硬盘为:\"云硬盘_SATA_LXH01|40.0GB\"|
	ProductSpecDesc *string `json:"product_spec_desc,omitempty"`
}

func (CustomerOnDemandResource) String

func (o CustomerOnDemandResource) String() string

type CustomerOrderEntity

type CustomerOrderEntity struct {
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:订单状态:1:待审核3:处理中4:已取消5:已完成6:待支付9:待确认| |参数的约束及描述:订单状态:1:待审核3:处理中4:已取消5:已完成6:待支付9:待确认|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:订单类型:1:开通2:续订3:变更4:退订10:包周期转按需11:按需转包周期12:赠送13:试用14:转商用15:费用调整| |参数的约束及描述:订单类型:1:开通2:续订3:变更4:退订10:包周期转按需11:按需转包周期12:赠送13:试用14:转商用15:费用调整|
	OrderType *int32 `json:"order_type,omitempty"`
	// |参数名称:订单优惠后金额(不含券不含卡的实付价格)| |参数的约束及描述:订单优惠后金额(不含券不含卡的实付价格)|
	AmountAfterDiscount *float64 `json:"amount_after_discount,omitempty"`
	// |参数名称:订单金额(官网价)。退订订单中,该金额等于amount。| |参数的约束及描述:订单金额(官网价)。退订订单中,该金额等于amount。|
	OfficialAmount *float64 `json:"official_amount,omitempty"`
	// |参数名称:订单金额度量单位:1:元2:角3:分| |参数的约束及描述:订单金额度量单位:1:元2:角3:分|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:创建时间 。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:创建时间 。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:支付时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:支付时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	PaymentTime *string `json:"payment_time,omitempty"`
	// |参数名称:货币编码。| |参数约束及描述:货币编码。最大长度8|
	Currency     *string           `json:"currency,omitempty"`
	AgentPayInfo *AgentPayInfo     `json:"agent_pay_info,omitempty"`
	AmountInfo   *AmountInfomation `json:"amount_info,omitempty"`
}

func (CustomerOrderEntity) String

func (o CustomerOrderEntity) String() string

type CustomerOrderV2

type CustomerOrderV2 struct {
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:客户订单订单来源类型:1:客户2:代理3:合同4:分销商| |参数的约束及描述:客户订单订单来源类型:1:客户2:代理3:合同4:分销商|
	SourceType *int32 `json:"source_type,omitempty"`
	// |参数名称:订单状态:1:待审核3:处理中4:已取消5:已完成6:待支付9:待确认| |参数的约束及描述:订单状态:1:待审核3:处理中4:已取消5:已完成6:待支付9:待确认|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:订单类型:1:开通2:续订3:变更4:退订10:包周期转按需11:按需转包周期12:赠送13:试用14:转商用15:费用调整| |参数的约束及描述:订单类型:1:开通2:续订3:变更4:退订10:包周期转按需11:按需转包周期12:赠送13:试用14:转商用15:费用调整|
	OrderType *int32 `json:"order_type,omitempty"`
	// |参数名称:订单优惠后金额(不含券不含卡的实付价格)。| |参数的约束及描述:订单优惠后金额(不含券不含卡的实付价格)。|
	AmountAfterDiscount *float64 `json:"amount_after_discount,omitempty"`
	// |参数名称:订单金额(官网价)。退订订单中,该金额等于amount。| |参数的约束及描述:订单金额(官网价)。退订订单中,该金额等于amount。|
	OfficialAmount *float64 `json:"official_amount,omitempty"`
	// |参数名称:订单金额度量单位:1:元2:角3:分| |参数的约束及描述:订单金额度量单位:1:元2:角3:分|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:创建时间 。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:创建时间 。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:支付时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:支付时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	PaymentTime *string `json:"payment_time,omitempty"`
	// |参数名称:货币编码。| |参数约束及描述:货币编码。如CNY|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:合同ID。| |参数约束及描述:合同ID。|
	ContractId *string             `json:"contract_id,omitempty"`
	AmountInfo *AmountInfomationV2 `json:"amount_info,omitempty"`
}

func (CustomerOrderV2) String

func (o CustomerOrderV2) String() string

type CustomerPostalAddressV2

type CustomerPostalAddressV2 struct {
	// |参数名称:邮寄地址ID。| |参数约束及描述:邮寄地址ID。|
	AddressId *string `json:"address_id,omitempty"`
	// |参数名称:收件人姓名。| |参数约束及描述:收件人姓名。|
	Recipient *string `json:"recipient,omitempty"`
	// |参数名称:国家。例如:中国| |参数约束及描述:国家。例如:中国|
	Nationality *string `json:"nationality,omitempty"`
	// |参数名称:省/自治区/直辖市。例如:江苏省。| |参数约束及描述:省/自治区/直辖市。例如:江苏省。|
	Province *string `json:"province,omitempty"`
	// |参数名称:市/区。例如:南京市。| |参数约束及描述:市/区。例如:南京市。|
	City *string `json:"city,omitempty"`
	// |参数名称:区。例如:雨花区。| |参数约束及描述:区。例如:雨花区。|
	District *string `json:"district,omitempty"`
	// |参数名称:邮寄详细地址。| |参数约束及描述:邮寄详细地址。|
	Address *string `json:"address,omitempty"`
	// |参数名称:邮编。| |参数约束及描述:邮编。|
	Zipcode *string `json:"zipcode,omitempty"`
	// |参数名称:国家码,例如:中国:0086| |参数约束及描述:国家码,例如:中国:0086|
	Areacode *string `json:"areacode,omitempty"`
	// |参数名称:手机号码,不带国家码。| |参数约束及描述:手机号码,不带国家码。|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:是否默认地址,默认为0。1:默认地址0:非默认地址| |参数的约束及描述:是否默认地址,默认为0。1:默认地址0:非默认地址|
	IsDefault *int32 `json:"is_default,omitempty"`
}

func (CustomerPostalAddressV2) String

func (o CustomerPostalAddressV2) String() string

type DeletePostalRequest

type DeletePostalRequest struct {
	AddressId string `json:"address_id"`
}

Request Object

func (DeletePostalRequest) String

func (o DeletePostalRequest) String() string

type DeletePostalResponse

type DeletePostalResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeletePostalResponse) String

func (o DeletePostalResponse) String() string

type DemandDiscountRatingResult

type DemandDiscountRatingResult struct {
	// |参数名称:优惠标识ID| |参数约束及描述:优惠标识ID|
	DiscountId *string `json:"discount_id,omitempty"`
	// |参数名称:合同商务优惠类型:基于官网价计算优惠605 华为云商务-折扣率,一口价,华为云用户606 渠道商务-折扣率,一口价,BP用户伙伴折扣优惠类型:基于官网价计算优惠607 合作伙伴授予折扣-折扣率|
	DiscountType *int32 `json:"discount_type,omitempty"`
	// 优惠金额
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:度量单位标识| |参数约束及描述:1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:折扣名称| |参数约束及描述:折扣名称|
	DiscountName *string `json:"discount_name,omitempty"`
}

func (DemandDiscountRatingResult) String

type DemandProductInfo

type DemandProductInfo struct {
	// |参数名称:ID标识| |参数约束及描述:同一次询价中不能重复,用于标识返回询价结果和请求的映射关系|
	Id string `json:"id"`
	// |参数名称:用户购买云服务产品的云服务类型| |参数约束及描述:例如EC2,云服务类型为hws.service.type.ec2|
	CloudServiceType string `json:"cloud_service_type"`
	// |参数名称:用户购买云服务产品的资源类型| |参数约束及描述:例如EC2中的VM,资源类型为hws.resource.type.vm。ResourceType是CloudServiceType中的一种资源,CloudServiceType由多种ResourceType组合提供|
	ResourceType string `json:"resource_type"`
	// |参数名称:用户购买云服务产品的资源规格| |参数约束及描述:例如VM的小型规格,资源规格为m1.tiny|
	ResourceSpec string `json:"resource_spec"`
	// |参数名称:云服务区编码| |参数约束及描述:云服务区编码|
	Region string `json:"region"`
	// |参数名称:可用区标识| |参数约束及描述:可用区标识|
	AvailableZone *string `json:"available_zone,omitempty"`
	// |参数名称:资源容量大小| |参数约束及描述:例如购买的卷大小或带宽大小,只有线性产品才有这个字段|
	ResourceSize *int32 `json:"resource_size,omitempty"`
	// |参数名称:资源容量度量标识| |参数约束及描述:枚举值如下:15:Mbps(购买带宽时使用)17:GB(购买云硬盘时使用)14:个只有线性产品才有这个字段|
	SizeMeasureId *int32 `json:"size_measure_id,omitempty"`
	// |参数名称:使用量因子编码| |参数约束及描述:云服务器:Duration云硬盘:Duration弹性IP:Duration带宽:Duration或upflow市场镜像:Duration具体每种云服务使用什么样的计费因子,需要找具体云服务确认,全集请参考|
	UsageFactor string `json:"usage_factor"`
	// |参数名称:使用量值| |参数约束及描述:例如按小时询价,使用量值为1,使用量单位为小时|
	UsageValue float32 `json:"usage_value"`
	// |参数名称:使用量单位标识| |参数约束及描述:例如按小时询价,使用量值为1,使用量单位为小时,枚举值如下:4:小时全量枚举如下:0:天(时长);1:元(货币);2:角(货币);3:分(货币);4:小时(时长);5:分钟(时长);6:秒(时长);7:EB(流量);8:PB(流量);9:TB(流量);10:GB(流量);11:MB(流量);12:KB(流量);13:Byte(流量);14:个(次)(数量);15:Mbps(流量);16:Byte(容量);17:GB(容量);18:KLOC(行数);19:年(周期);20:月(周期);21:MB(容量);22:赫兹(频率);23:核(数量);24:天(周期);25:小时(周期);30:个数(个数);31:千次(数量);32:百万次(数量);33:十亿次(数量);34:bps(带宽速率);35:kbps(带宽速率);36:Mbps(带宽速率);37:Gbps(带宽速率);38:Tbps(带宽速率);39:GB-秒(容量时长);40:次(数量);41:个(数量);42:千个(数量);43:张(数量);44:千张(数量);45:每秒查询率(查询速率);46:人/天(数量);47:TB(容量);48:PB(容量)。具体某个云服务应该使用什么单位,需要和云服务确认。|
	UsageMeasureId int32 `json:"usage_measure_id"`
	// |参数名称:订购数量| |参数约束及描述:订购数量,有值时不能小于0,默认为1|
	SubscriptionNum int32 `json:"subscription_num"`
}

func (DemandProductInfo) String

func (o DemandProductInfo) String() string

type DemandProductRatingResult

type DemandProductRatingResult struct {
	// |参数名称:ID标识| |参数约束及描述:同一次询价中不能重复,用于标识返回询价结果和请求的映射关系|
	Id *string `json:"id,omitempty"`
	// |参数名称:寻到的产品ID| |参数约束及描述:寻到的产品ID|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:总额| |参数约束及描述:即最终优惠的金额|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:优惠额(官网价和总价的差)| |参数约束及描述:优惠额(官网价和总价的差)|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:度量单位标识| |参数约束及描述:1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:折扣优惠明细| |参数的约束及描述:包含产品本身的促销信息,同时包含商务或者伙伴折扣的优惠信息|
	DiscountRatingResults *[]DemandDiscountRatingResult `json:"discount_rating_results,omitempty"`
}

func (DemandProductRatingResult) String

func (o DemandProductRatingResult) String() string

type DiscountEntry

type DiscountEntry struct {
	// |参数名称:折扣类型:200:促销产品折扣;300:促销折扣券;301:促销代金券;302:促销现金券;500:代理订购指定折扣;501:代理订购指定减免;502:代理订购指定一口价;600:折扣返利合同;601:渠道框架合同;602:专款专用合同;603:线下直签合同;604:电销授权合同;605:商务合同折扣;606:渠道商务合同折扣;607:合作伙伴授权折扣;609:订单调价折扣;700:促销折扣;800:充值帐户折扣;| |参数约束及描述:折扣类型:200:促销产品折扣;300:促销折扣券;301:促销代金券;302:促销现金券;500:代理订购指定折扣;501:代理订购指定减免;502:代理订购指定一口价;600:折扣返利合同;601:渠道框架合同;602:专款专用合同;603:线下直签合同;604:电销授权合同;605:商务合同折扣;606:渠道商务合同折扣;607:合作伙伴授权折扣;609:订单调价折扣;700:促销折扣;800:充值帐户折扣;|
	DiscountType *string `json:"discount_type,omitempty"`
	// |参数名称:折扣金额| |参数的约束及描述:折扣金额|
	DiscountAmount *float64 `json:"discount_amount,omitempty"`
}

func (DiscountEntry) String

func (o DiscountEntry) String() string

type DiscountItemV2

type DiscountItemV2 struct {
	// |参数名称:折扣类型:200:促销产品折扣;300:促销折扣券;301:促销代金券;302:促销现金券;500:代理订购指定折扣;501:代理订购指定减免;502:代理订购指定一口价;600:折扣返利合同;601:渠道框架合同;602:专款专用合同;603:线下直签合同;604:电销授权合同;605:商务合同折扣;606:渠道商务合同折扣;607:合作伙伴授权折扣;609:订单调价折扣;700:促销折扣;800:充值帐户折扣;| |参数约束及描述:折扣类型:200:促销产品折扣;300:促销折扣券;301:促销代金券;302:促销现金券;500:代理订购指定折扣;501:代理订购指定减免;502:代理订购指定一口价;600:折扣返利合同;601:渠道框架合同;602:专款专用合同;603:线下直签合同;604:电销授权合同;605:商务合同折扣;606:渠道商务合同折扣;607:合作伙伴授权折扣;609:订单调价折扣;700:促销折扣;800:充值帐户折扣;|
	DiscountType *string `json:"discount_type,omitempty"`
	// |参数名称:折扣金额。| |参数的约束及描述:折扣金额。|
	DiscountAmount *float64 `json:"discount_amount,omitempty"`
}

func (DiscountItemV2) String

func (o DiscountItemV2) String() string

type DiscountSimpleInfo

type DiscountSimpleInfo struct {
	// |参数名称:折扣ID| |参数约束及描述:折扣ID|
	Id string `json:"id"`
	// |参数名称:折扣类型:取值为1:合同折扣(可以有多组)2:商务优惠(仅有一组)3:合作伙伴授予折扣(仅有一组)609:订单调价折扣| |参数的约束及描述:折扣类型:取值为1:合同折扣(可以有多组)2:商务优惠(仅有一组)3:合作伙伴授予折扣(仅有一组)609:订单调价折扣|
	Type int32 `json:"type"`
}

func (DiscountSimpleInfo) String

func (o DiscountSimpleInfo) String() string

type EmChildNodeV2

type EmChildNodeV2 struct {
	// |参数名称:实体关系ID| |参数约束及描述:实体关系ID|
	RelationId *string `json:"relation_id,omitempty"`
	// |参数名称:节点ID| |参数约束及描述:节点ID|
	Id *string `json:"id,omitempty"`
	// |参数名称:节点名称| |参数约束及描述:节点名称|
	Name *string `json:"name,omitempty"`
	// |参数名称:子节点列表| |参数约束以及描述:子节点列表|
	ChildNodes *[]EmChildNodeV2 `json:"child_nodes,omitempty"`
}

func (EmChildNodeV2) String

func (o EmChildNodeV2) String() string

type EnterprisePersonNew

type EnterprisePersonNew struct {
	// |参数名称:法人姓名| |参数的约束及描述:该参数必填,且只允许字符串|
	LegelName string `json:"legel_name"`
	// |参数名称:法人身份证号| |参数的约束及描述:该参数必填,且只允许字符串|
	LegelIdNumber string `json:"legel_id_number"`
	// |参数名称:认证人角色| |参数的约束及描述:该参数非必填,legalPerson :法人代表 authorizedPerson:授权人|
	CertifierRole *string `json:"certifier_role,omitempty"`
}

func (EnterprisePersonNew) String

func (o EnterprisePersonNew) String() string

type ErrorDetail

type ErrorDetail struct {
	// |参数名称:返回码| |参数的约束及描述:该参数非必填,最大长度16|
	ErrorCode *string `json:"error_code,omitempty"`
	// |参数名称:返回码描述| |参数的约束及描述:该参数非必填,最大长度1024|
	ErrorMsg *string `json:"error_msg,omitempty"`
	// |参数名称:标示ID| |参数的约束及描述:该参数非必填,最大长度256|
	Id *string `json:"id,omitempty"`
}

func (ErrorDetail) String

func (o ErrorDetail) String() string

type ICouponUseLimitInfoV2

type ICouponUseLimitInfoV2 struct {
	// |参数名称:使用限制ID,主键。| |参数约束及描述:使用限制ID,主键。|
	UseLimitiInfoId *string `json:"use_limiti_info_id,omitempty"`
	// |参数名称:折扣限制,key的取值请参考表ICouponUseLimitInfo的limit_key要求。| |参数约束及描述:折扣限制,key的取值请参考表 ICouponUseLimitInfo的limit_key要求。|
	LimitKey *string `json:"limit_key,omitempty"`
	// |参数名称:value1。| |参数约束及描述:value1。|
	Value1 *string `json:"value1,omitempty"`
	// |参数名称:value2。| |参数约束及描述:value2。|
	Value2 *string `json:"value2,omitempty"`
	// |参数名称:value单位。| |参数约束及描述:value单位。|
	ValueUnit *string `json:"value_unit,omitempty"`
	// |参数名称:限制类型。| |参数约束及描述:限制类型。|
	LimitType *string `json:"limit_type,omitempty"`
	// |参数名称:促销计划ID。| |参数约束及描述:促销计划ID。|
	PromotionPlanId *string `json:"promotion_plan_id,omitempty"`
}

func (ICouponUseLimitInfoV2) String

func (o ICouponUseLimitInfoV2) String() string

type IQueryUserCouponsResultV2

type IQueryUserCouponsResultV2 struct {
	// |参数名称:优惠券实例ID。| |参数约束及描述:优惠券实例ID。|
	CouponId *string `json:"coupon_id,omitempty"`
	// |参数名称:优惠券编码。| |参数约束及描述:优惠券编码。|
	CouponCode *string `json:"coupon_code,omitempty"`
	// |参数名称:优惠券状态:1:未激活;2:待使用;3:已使用;4:已过期。| |参数的约束及描述:优惠券状态:1:未激活;2:待使用;3:已使用;4:已过期。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:客户ID| |参数约束及描述:客户ID|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:优惠券类型:1:代金券;2:折扣券;3:产品券;4:现金券。| |参数的约束及描述:优惠券类型:1:代金券;2:折扣券;3:产品券;4:现金券。|
	CouponType *int32 `json:"coupon_type,omitempty"`
	// |参数名称:度量单位。1:元| |参数的约束及描述:度量单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:优惠券金额。| |参数的约束及描述:优惠券金额。|
	FaceValue *float64 `json:"face_value,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ValidTime *string `json:"valid_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:促销计划ID。| |参数约束及描述:促销计划ID。|
	PromotionPlanId *string `json:"promotion_plan_id,omitempty"`
	// |参数名称:促销计划名称。| |参数约束及描述:促销计划名称。|
	PlanName *string `json:"plan_name,omitempty"`
	// |参数名称:促销计划描述。| |参数约束及描述:促销计划描述。|
	PlanDesc *string `json:"plan_desc,omitempty"`
	// |参数名称:介质类型。| |参数的约束及描述:介质类型。|
	MediaType *int32 `json:"media_type,omitempty"`
	// |参数名称:获取方式:1:线上领取;2:线上兑换;3:线上发放;4:线下获取;5:事件赠送。| |参数的约束及描述:获取方式:1:线上领取;2:线上兑换;3:线上发放;4:线下获取;5:事件赠送。|
	FetchMethod *int32 `json:"fetch_method,omitempty"`
	// |参数名称:优惠券使用限制。具体请参见表 ICouponUseLimitInfo。| |参数约束以及描述:优惠券使用限制。具体请参见表 ICouponUseLimitInfo。|
	UseLimits *[]ICouponUseLimitInfoV2 `json:"use_limits,omitempty"`
	// |参数名称:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ActiveTime *string `json:"active_time,omitempty"`
	// |参数名称:使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ReserveTime *string `json:"reserve_time,omitempty"`
	// |参数名称:促销ID。| |参数约束及描述:促销ID。|
	PromotionId *string `json:"promotion_id,omitempty"`
	// |参数名称:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:优惠券版本:1:老版本,老版本优惠券只能使用一次;2:新版本,新版本优惠券可以反复使用。| |参数的约束及描述:优惠券版本:1:老版本,老版本优惠券只能使用一次;2:新版本,新版本优惠券可以反复使用。|
	CouponVersion *int32 `json:"coupon_version,omitempty"`
	// |参数名称:余额。如果为老版本优惠券,该值为空| |参数的约束及描述:余额。如果为老版本优惠券,该值为空|
	Balance *float64 `json:"balance,omitempty"`
	// |参数名称:锁定优惠券的订单ID。如果为老版本优惠券,该值为空。| |参数约束及描述:锁定优惠券的订单ID。如果为老版本优惠券,该值为空。|
	LockOrderId *string `json:"lock_order_id,omitempty"`
	// |参数名称:优惠券用途。| |参数约束及描述:优惠券用途。|
	CouponUsage *string `json:"coupon_usage,omitempty"`
	// |参数名称:优惠券是否冻结:0:否1:是可用优惠券接口返回时不包括冻结状态的优惠券。| |参数约束及描述:优惠券是否冻结:0:否1:是可用优惠券接口返回时不包括冻结状态的优惠券。|
	IsFrozen *string `json:"is_frozen,omitempty"`
	// |参数名称:币种。| |参数约束及描述:币种。|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:扩展字段。| |参数约束及描述:扩展字段。|
	ExtendParam1 *string `json:"extend_param1,omitempty"`
	// |参数名称:发放人标识| |参数约束及描述:用于标识优惠券唯一的发放人; 云豆兑换优惠券时sourceId填写云豆计划Id; 累计送优惠券时sourceId填写累计送计划Id; 抽奖送优惠券时sourceId填写抽奖计划Id; 事件送优惠券时sourceId填写事件计划Id; 定制优惠券时sourceId填写创建人Id;|
	SourceId *string `json:"source_id,omitempty"`
}

func (IQueryUserCouponsResultV2) String

func (o IQueryUserCouponsResultV2) String() string

type IQueryUserPartnerCouponsResultV2

type IQueryUserPartnerCouponsResultV2 struct {
	// |参数名称:优惠券实例ID。| |参数约束及描述:优惠券实例ID。|
	CouponId *string `json:"coupon_id,omitempty"`
	// |参数名称:优惠券状态:1:未激活;2:待使用;3:已使用;4:已过期。| |参数的约束及描述:优惠券状态:1:未激活;2:待使用;3:已使用;4:已过期。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:客户ID| |参数约束及描述:客户ID|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:优惠券类型:1:代金券;4:现金券。| |参数的约束及描述:优惠券类型:1:代金券;4:现金券。|
	CouponType *int32 `json:"coupon_type,omitempty"`
	// |参数名称:度量单位。1:元| |参数的约束及描述:度量单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:优惠券金额。| |参数的约束及描述:优惠券金额。|
	FaceValue float32 `json:"face_value,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:促销计划ID。| |参数约束及描述:促销计划ID。|
	PromotionPlanId *string `json:"promotion_plan_id,omitempty"`
	// |参数名称:促销计划名称。| |参数约束及描述:促销计划名称。|
	PromotionPlanName *string `json:"promotion_plan_name,omitempty"`
	// |参数名称:促销计划描述。| |参数约束及描述:促销计划描述。|
	PromotionPlanDesc *string `json:"promotion_plan_desc,omitempty"`
	// |参数名称:介质类型。| |参数的约束及描述:介质类型。|
	MediaType *int32 `json:"media_type,omitempty"`
	// |参数名称:获取方式:1:线上领取;2:线上兑换;3:线上发放;4:线下获取;5:事件赠送。| |参数的约束及描述:获取方式:1:线上领取;2:线上兑换;3:线上发放;4:线下获取;5:事件赠送。|
	FetchMethod *int32 `json:"fetch_method,omitempty"`
	// |参数名称:优惠券使用限制。具体请参见表 ICouponUseLimitInfo。| |参数约束以及描述:优惠券使用限制。具体请参见表 ICouponUseLimitInfo。|
	UseLimits *[]ICouponUseLimitInfoV2 `json:"use_limits,omitempty"`
	// |参数名称:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:激活时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ActiveTime *string `json:"active_time,omitempty"`
	// |参数名称:使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:使用时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	LastUsedTime *string `json:"last_used_time,omitempty"`
	// |参数名称:促销ID。| |参数约束及描述:促销ID。|
	PromotionId *string `json:"promotion_id,omitempty"`
	// |参数名称:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:余额。如果为老版本优惠券,该值为空| |参数的约束及描述:余额。如果为老版本优惠券,该值为空|
	Balance float32 `json:"balance,omitempty"`
	// |参数名称:锁定优惠券的订单ID。如果为老版本优惠券,该值为空。| |参数约束及描述:锁定优惠券的订单ID。如果为老版本优惠券,该值为空。|
	LockOrderId *string `json:"lock_order_id,omitempty"`
	// |参数名称:优惠券是否冻结:0:否1:是可用优惠券接口返回时不包括冻结状态的优惠券。| |参数约束及描述:优惠券是否冻结:0:否1:是可用优惠券接口返回时不包括冻结状态的优惠券。|
	IsFrozen *string `json:"is_frozen,omitempty"`
}

func (IQueryUserPartnerCouponsResultV2) String

type IndirectPartnerInfo

type IndirectPartnerInfo struct {
	// |参数名称:二级经销商ID| |参数约束及描述:二级经销商ID|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	// |参数名称:手机号码| |参数约束及描述:手机号码|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:邮箱| |参数约束及描述:邮箱|
	Email *string `json:"email,omitempty"`
	// |参数名称:二级经销商的账户名| |参数约束及描述:二级经销商的账户名|
	AccountName *string `json:"account_name,omitempty"`
	// |参数名称:二级经销商名称| |参数约束及描述:二级经销商名称|
	Name *string `json:"name,omitempty"`
	// |参数名称:关联时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z| |参数约束及描述:关联时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z|
	AssociatedOn *string `json:"associated_on,omitempty"`
}

func (IndirectPartnerInfo) String

func (o IndirectPartnerInfo) String() string

type IssuedCouponQuota

type IssuedCouponQuota struct {
	// |参数名称:额度ID。| |参数约束及描述:额度ID。|
	QuotaId *string `json:"quota_id,omitempty"`
	// |参数名称:额度类型:0:代金券额度;| |参数的约束及描述:额度类型:0:代金券额度;|
	QuotaType *int32 `json:"quota_type,omitempty"`
	// |参数名称:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:创建时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	CreateTime *string `json:"create_time,omitempty"`
	// |参数名称:最后一次更新时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:最后一次更新时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	LastUpdateTime *string `json:"last_update_time,omitempty"`
	// |参数名称:代金券额度的值,精确到小数点后2位。| |参数的约束及描述:代金券额度的值,精确到小数点后2位。|
	QuotaValue float32 `json:"quota_value,omitempty"`
	// |参数名称:状态:0:正常;3:失效(过期失效和人工设置失效);4:额度调整中(伙伴可以查看该额度,但不能使用该额度发放代金券)。5:冻结6:回收| |参数的约束及描述:状态:0:正常;3:失效(过期失效和人工设置失效);4:额度调整中(伙伴可以查看该额度,但不能使用该额度发放代金券)。5:冻结6:回收|
	QuotaStatus *int32 `json:"quota_status,omitempty"`
	// |参数名称:剩余的代金券额度,精确到小数点后2位。| |参数的约束及描述:剩余的代金券额度,精确到小数点后2位。|
	Balance float32 `json:"balance,omitempty"`
	// |参数名称:面额单位。1:元。| |参数的约束及描述:面额单位。1:元。|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。当前仅有CNY。| |参数约束及描述:币种。当前仅有CNY。|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:额度上的限制属性| |参数约束以及描述:额度上的限制属性|
	LimitInfos *[]QuotaLimitInfo `json:"limit_infos,omitempty"`
	// |参数名称:二级经销商ID| |参数约束及描述:二级经销商ID|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	// |参数名称:二级经销商账号名称| |参数约束及描述:二级经销商账号名称|
	IndirectPartnerAccountName *string `json:"indirect_partner_account_name,omitempty"`
	// |参数名称:二级经销商名称| |参数约束及描述:二级经销商名称|
	IndirectPartnerName *string `json:"indirect_partner_name,omitempty"`
	// |参数名称:父额度ID,一级经销商用于发给二级经销商额度的额度ID。| |参数约束及描述:父额度ID,一级经销商用于发给二级经销商额度的额度ID。|
	ParentQuotaId *string `json:"parent_quota_id,omitempty"`
}

func (IssuedCouponQuota) String

func (o IssuedCouponQuota) String() string

type LimitInfoV2

type LimitInfoV2 struct {
	// |参数名称:使用限制ID,主键。| |参数约束及描述:使用限制ID,主键。|
	UseLimitiInfoId *string `json:"use_limiti_info_id,omitempty"`
	// |参数名称:折扣限制,key的取值请参考表 ICouponUseLimitInfo的limit_key要求。| |参数约束及描述:折扣限制,key的取值请参考表 ICouponUseLimitInfo的limit_key要求。|
	LimitKey *string `json:"limit_key,omitempty"`
	// |参数名称:value1。| |参数约束及描述:value1。|
	Value1 *string `json:"value1,omitempty"`
	// |参数名称:value2。| |参数约束及描述:value2。|
	Value2 *string `json:"value2,omitempty"`
	// |参数名称:value单位。| |参数约束及描述:value单位。|
	ValueUnit *string `json:"value_unit,omitempty"`
	// |参数名称:限制类型。| |参数约束及描述:限制类型。|
	LimitType *string `json:"limit_type,omitempty"`
	// |参数名称:促销计划ID。| |参数约束及描述:促销计划ID。|
	PromotionPlanId *string `json:"promotion_plan_id,omitempty"`
}

func (LimitInfoV2) String

func (o LimitInfoV2) String() string

type LimitValue

type LimitValue struct {
	// |参数名称:属性值1| |参数约束及描述:属性值1|
	Value1 *string `json:"value1,omitempty"`
	// |参数名称:属性值2| |参数约束及描述:属性值2|
	Value2 *string `json:"value2,omitempty"`
}

func (LimitValue) String

func (o LimitValue) String() string

type ListCitiesRequest

type ListCitiesRequest struct {
	XLanguage    *string `json:"X-Language,omitempty"`
	ProvinceCode string  `json:"province_code"`
	Offset       *int32  `json:"offset,omitempty"`
	Limit        *int32  `json:"limit,omitempty"`
}

Request Object

func (ListCitiesRequest) String

func (o ListCitiesRequest) String() string

type ListCitiesResponse

type ListCitiesResponse struct {
	// |参数名称:查询个数,成功的时候返回| |参数的约束及描述:查询个数,成功的时候返回|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:城市信息列表,成功的时候返回| |参数约束以及描述:城市信息列表,成功的时候返回|
	Cities         *[]City `json:"cities,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCitiesResponse) String

func (o ListCitiesResponse) String() string

type ListConversionsRequest

type ListConversionsRequest struct {
	XLanguage   *string `json:"X-Language,omitempty"`
	MeasureType *int32  `json:"measure_type,omitempty"`
}

Request Object

func (ListConversionsRequest) String

func (o ListConversionsRequest) String() string

type ListConversionsResponse

type ListConversionsResponse struct {
	// |参数名称:度量信息| |参数约束以及描述:度量信息|
	Conversions    *[]Conversion `json:"conversions,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListConversionsResponse) String

func (o ListConversionsResponse) String() string

type ListCountiesRequest

type ListCountiesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
	CityCode  string  `json:"city_code"`
	Offset    *int32  `json:"offset,omitempty"`
	Limit     *int32  `json:"limit,omitempty"`
}

Request Object

func (ListCountiesRequest) String

func (o ListCountiesRequest) String() string

type ListCountiesResponse

type ListCountiesResponse struct {
	// |参数名称:查询个数,成功的时候返回| |参数的约束及描述:查询个数,成功的时候返回|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:区县信息列表,成功的时候返回| |参数约束以及描述:区县信息列表,成功的时候返回|
	Counties       *[]County `json:"counties,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListCountiesResponse) String

func (o ListCountiesResponse) String() string

type ListCouponQuotasRecordsRequest

type ListCouponQuotasRecordsRequest struct {
	IndirectPartnerId  *string `json:"indirect_partner_id,omitempty"`
	QuotaId            *string `json:"quota_id,omitempty"`
	OperationTimeBegin *string `json:"operation_time_begin,omitempty"`
	OperationTimeEnd   *string `json:"operation_time_end,omitempty"`
	ParentQuotaId      *string `json:"parent_quota_id,omitempty"`
	OperationType      *string `json:"operation_type,omitempty"`
	Offset             *int32  `json:"offset,omitempty"`
	Limit              *int32  `json:"limit,omitempty"`
}

Request Object

func (ListCouponQuotasRecordsRequest) String

type ListCouponQuotasRecordsResponse

type ListCouponQuotasRecordsResponse struct {
	// |参数名称:查询总数。| |参数的约束及描述:查询总数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:记录列表。具体请参见表 QuotaRecord。| |参数约束以及描述:记录列表。具体请参见表 QuotaRecord。|
	Records        *[]QuotaRecord `json:"records,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListCouponQuotasRecordsResponse) String

type ListCustomerBillsFeeRecordsRequest

type ListCustomerBillsFeeRecordsRequest struct {
	XLanguage           *string `json:"X-Language,omitempty"`
	BillCycle           string  `json:"bill_cycle"`
	ProviderType        *int32  `json:"provider_type,omitempty"`
	ServiceTypeCode     *string `json:"service_type_code,omitempty"`
	ResourceTypeCode    *string `json:"resource_type_code,omitempty"`
	RegionCode          *string `json:"region_code,omitempty"`
	ChargingMode        *int32  `json:"charging_mode,omitempty"`
	BillType            *int32  `json:"bill_type,omitempty"`
	TradeId             *string `json:"trade_id,omitempty"`
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	IncludeZeroRecord   *bool   `json:"include_zero_record,omitempty"`
	Status              *int32  `json:"status,omitempty"`
	Method              *string `json:"method,omitempty"`
	SubCustomerId       *string `json:"sub_customer_id,omitempty"`
	Offset              *int32  `json:"offset,omitempty"`
	Limit               *int32  `json:"limit,omitempty"`
}

Request Object

func (ListCustomerBillsFeeRecordsRequest) String

type ListCustomerBillsFeeRecordsResponse

type ListCustomerBillsFeeRecordsResponse struct {
	// |参数名称:总条数,必须大于等于0。| |参数的约束及描述:总条数,必须大于等于0。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:资源费用记录数据。具体请参见表 MonthlyBillRes。| |参数约束以及描述:资源费用记录数据。具体请参见表 MonthlyBillRes。|
	Records *[]MonthlyBillRecord `json:"records,omitempty"`
	// |参数名称:币种。| |参数约束及描述:币种。|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCustomerBillsFeeRecordsResponse) String

type ListCustomerOnDemandResourcesRequest

type ListCustomerOnDemandResourcesRequest struct {
	XLanguage *string                            `json:"X-Language,omitempty"`
	Body      *QueryCustomerOnDemandResourcesReq `json:"body,omitempty"`
}

Request Object

func (ListCustomerOnDemandResourcesRequest) String

type ListCustomerOnDemandResourcesResponse

type ListCustomerOnDemandResourcesResponse struct {
	// |参数名称:客户按需资源列表。CustomerOnDemandResource| |参数约束以及描述:客户按需资源列表。CustomerOnDemandResource|
	Resources *[]CustomerOnDemandResource `json:"resources,omitempty"`
	// |参数名称:查询总数| |参数的约束及描述:查询总数|
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListCustomerOnDemandResourcesResponse) String

type ListCustomerOrdersRequest

type ListCustomerOrdersRequest struct {
	OrderId           *string `json:"order_id,omitempty"`
	CustomerId        *string `json:"customer_id,omitempty"`
	CreateTimeBegin   *string `json:"create_time_begin,omitempty"`
	CreateTimeEnd     *string `json:"create_time_end,omitempty"`
	ServiceTypeCode   *string `json:"service_type_code,omitempty"`
	Status            *int32  `json:"status,omitempty"`
	OrderType         *string `json:"order_type,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	OrderBy           *string `json:"order_by,omitempty"`
	PaymentTimeBegin  *string `json:"payment_time_begin,omitempty"`
	PaymentTimeEnd    *string `json:"payment_time_end,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListCustomerOrdersRequest) String

func (o ListCustomerOrdersRequest) String() string

type ListCustomerOrdersResponse

type ListCustomerOrdersResponse struct {
	// |参数名称:符合条件的记录总数。| |参数的约束及描述:符合条件的记录总数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:客户订单详情信息。具体请参见表 CustomerOrderV2| |参数约束以及描述:客户订单详情信息。具体请参见表 CustomerOrderV2|
	OrderInfos     *[]CustomerOrderV2 `json:"order_infos,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListCustomerOrdersResponse) String

type ListCustomersBalancesDetailRequest

type ListCustomersBalancesDetailRequest struct {
	Body *QueryCustomersBalancesReq `json:"body,omitempty"`
}

Request Object

func (ListCustomersBalancesDetailRequest) String

type ListCustomersBalancesDetailResponse

type ListCustomersBalancesDetailResponse struct {
	// |参数名称:总额,即最终优惠后的金额,| |参数约束以及描述:总额,即最终优惠后的金额,|
	CustomerBalances *[]CustomerBalancesV2 `json:"customer_balances,omitempty"`
	HttpStatusCode   int                   `json:"-"`
}

Response Object

func (ListCustomersBalancesDetailResponse) String

type ListCustomerselfResourceRecordDetailsRequest

type ListCustomerselfResourceRecordDetailsRequest struct {
	Body *QueryResRecordsDetailReq `json:"body,omitempty"`
}

Request Object

func (ListCustomerselfResourceRecordDetailsRequest) String

type ListCustomerselfResourceRecordDetailsResponse

type ListCustomerselfResourceRecordDetailsResponse struct {
	// |参数名称:资源费用记录数据| |参数的约束及描述:该参数非必填|
	MonthlyRecords *[]MonthlyBillRes `json:"monthly_records,omitempty"`
	// |参数名称:结果集数量| |参数的约束及描述:该参数非必填,且只允许数字,只有成功才返回这个参数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:货币单位代码| |参数的约束及描述:该参数非必填,最大长度3,CNY:人民币;USD:美元|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCustomerselfResourceRecordDetailsResponse) String

type ListCustomerselfResourceRecordsRequest

type ListCustomerselfResourceRecordsRequest struct {
	XLanguage           *string `json:"X-Language,omitempty"`
	Cycle               string  `json:"cycle"`
	CloudServiceType    *string `json:"cloud_service_type,omitempty"`
	Region              *string `json:"region,omitempty"`
	ChargeMode          *string `json:"charge_mode,omitempty"`
	BillType            *int32  `json:"bill_type,omitempty"`
	Offset              *int32  `json:"offset,omitempty"`
	Limit               *int32  `json:"limit,omitempty"`
	ResourceId          *string `json:"resource_id,omitempty"`
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	IncludeZeroRecord   *bool   `json:"include_zero_record,omitempty"`
	Method              *string `json:"method,omitempty"`
	SubCustomerId       *string `json:"sub_customer_id,omitempty"`
	TradeId             *string `json:"trade_id,omitempty"`
	BillDateBegin       *string `json:"bill_date_begin,omitempty"`
	BillDateEnd         *string `json:"bill_date_end,omitempty"`
}

Request Object

func (ListCustomerselfResourceRecordsRequest) String

type ListCustomerselfResourceRecordsResponse

type ListCustomerselfResourceRecordsResponse struct {
	// |参数名称:资源费用记录数据。具体请参见表 ResFeeRecordV2。| |参数约束以及描述:资源费用记录数据。具体请参见表 ResFeeRecordV2。|
	FeeRecords *[]ResFeeRecordV2 `json:"fee_records,omitempty"`
	// |参数名称:结果集数量,只有成功才返回这个参数。| |参数的约束及描述:结果集数量,只有成功才返回这个参数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:货币单位代码:CNY:人民币USD:美元| |参数约束及描述:货币单位代码:CNY:人民币USD:美元|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListCustomerselfResourceRecordsResponse) String

type ListEnterpriseMultiAccountRequest

type ListEnterpriseMultiAccountRequest struct {
	SubCustomerId string `json:"sub_customer_id"`
	BalanceType   string `json:"balance_type"`
	Offset        *int32 `json:"offset,omitempty"`
	Limit         *int32 `json:"limit,omitempty"`
}

Request Object

func (ListEnterpriseMultiAccountRequest) String

type ListEnterpriseMultiAccountResponse

type ListEnterpriseMultiAccountResponse struct {
	// |参数名称:记录条数。| |参数的约束及描述:记录条数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:可回收余额信息,如果是余额账户,只会有一条记录。具体请参见AmountInfo。| |参数约束以及描述:可回收余额信息,如果是余额账户,只会有一条记录。具体请参见AmountInfo。|
	AmountInfos    *[]RetrieveAmountInfoV2 `json:"amount_infos,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ListEnterpriseMultiAccountResponse) String

type ListEnterpriseOrganizationsRequest

type ListEnterpriseOrganizationsRequest struct {
	RecursiveQuery *int32  `json:"recursive_query,omitempty"`
	ParentId       *string `json:"parent_id,omitempty"`
}

Request Object

func (ListEnterpriseOrganizationsRequest) String

type ListEnterpriseOrganizationsResponse

type ListEnterpriseOrganizationsResponse struct {
	// |参数名称:根节点ID,如果请求有parent_id,则该参数无值。| |参数约束及描述:根节点ID,如果请求有parent_id,则该参数无值。|
	RootId *string `json:"root_id,omitempty"`
	// |参数名称:根节点名称,如果请求有parent_id,则该参数无值。注:组织根节点没有设置组织名称时,可能为空。| |参数约束及描述:根节点名称,如果请求有parent_id,则该参数无值。注:组织根节点没有设置组织名称时,可能为空。|
	RootName *string `json:"root_name,omitempty"`
	// |参数名称:企业管理子Party节点列表。注:每一层的节点列表需要按relation_type升序排序。| |参数约束以及描述:企业管理子Party节点列表。注:每一层的节点列表需要按relation_type升序排序。|
	ChildNodes     *[]EmChildNodeV2 `json:"child_nodes,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListEnterpriseOrganizationsResponse) String

type ListEnterpriseSubCustomersRequest

type ListEnterpriseSubCustomersRequest struct {
	SubCustomerAccountName *string `json:"sub_customer_account_name,omitempty"`
	SubCustomerDisplayName *string `json:"sub_customer_display_name,omitempty"`
	FuzzyQuery             *int32  `json:"fuzzy_query,omitempty"`
	Offset                 *int32  `json:"offset,omitempty"`
	Limit                  *int32  `json:"limit,omitempty"`
	OrgId                  *string `json:"org_id,omitempty"`
}

Request Object

func (ListEnterpriseSubCustomersRequest) String

type ListEnterpriseSubCustomersResponse

type ListEnterpriseSubCustomersResponse struct {
	// |参数名称:结果集数量,成功才有。| |参数的约束及描述:结果集数量,成功才有。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:客户信息列表,成功才有。| |参数约束以及描述:客户信息列表,成功才有。|
	SubCustomerInfos *[]SubCustomerInfoV2 `json:"sub_customer_infos,omitempty"`
	HttpStatusCode   int                  `json:"-"`
}

Response Object

func (ListEnterpriseSubCustomersResponse) String

type ListIndirectPartnersRequest

type ListIndirectPartnersRequest struct {
	Body *QueryIndirectPartnersReq `json:"body,omitempty"`
}

Request Object

func (ListIndirectPartnersRequest) String

type ListIndirectPartnersResponse

type ListIndirectPartnersResponse struct {
	// |参数名称:符合条件的记录个数,只有成功的时候出现| |参数的约束及描述:符合条件的记录个数,只有成功的时候出现|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:二级渠道邀请记录列表| |参数约束以及描述:二级渠道邀请记录列表|
	IndirectPartners *[]IndirectPartnerInfo `json:"indirect_partners,omitempty"`
	HttpStatusCode   int                    `json:"-"`
}

Response Object

func (ListIndirectPartnersResponse) String

type ListIssuedCouponQuotasRequest

type ListIssuedCouponQuotasRequest struct {
	QuotaId           *string `json:"quota_id,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	ParentQuotaId     *string `json:"parent_quota_id,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
}

Request Object

func (ListIssuedCouponQuotasRequest) String

type ListIssuedCouponQuotasResponse

type ListIssuedCouponQuotasResponse struct {
	// |参数名称:查询总数。| |参数的约束及描述:查询总数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:额度记录列表。具体请参见IssuedCouponQuota。| |参数约束以及描述:额度记录列表。具体请参见IssuedCouponQuota。|
	Quotas         *[]IssuedCouponQuota `json:"quotas,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListIssuedCouponQuotasResponse) String

type ListIssuedPartnerCouponsRequest

type ListIssuedPartnerCouponsRequest struct {
	CouponId           *string `json:"coupon_id,omitempty"`
	CustomerId         *string `json:"customer_id,omitempty"`
	OrderId            *string `json:"order_id,omitempty"`
	CouponType         *int32  `json:"coupon_type,omitempty"`
	Status             *int32  `json:"status,omitempty"`
	CreateTimeBegin    *string `json:"create_time_begin,omitempty"`
	CreateTimeEnd      *string `json:"create_time_end,omitempty"`
	EffectiveTimeBegin *string `json:"effective_time_begin,omitempty"`
	EffectiveTimeEnd   *string `json:"effective_time_end,omitempty"`
	ExpireTimeBegin    *string `json:"expire_time_begin,omitempty"`
	ExpireTimeEnd      *string `json:"expire_time_end,omitempty"`
	Offset             *int32  `json:"offset,omitempty"`
	Limit              *int32  `json:"limit,omitempty"`
	IndirectPartnerId  *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListIssuedPartnerCouponsRequest) String

type ListIssuedPartnerCouponsResponse

type ListIssuedPartnerCouponsResponse struct {
	// |参数名称:个数| |参数的约束及描述:个数|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:优惠券记录。具体请参见表 IQueryUserCouponsResult。| |参数约束以及描述:优惠券记录。具体请参见表 IQueryUserCouponsResult。|
	UserCoupons    *[]IQueryUserPartnerCouponsResultV2 `json:"user_coupons,omitempty"`
	HttpStatusCode int                                 `json:"-"`
}

Response Object

func (ListIssuedPartnerCouponsResponse) String

type ListMeasureUnitsRequest

type ListMeasureUnitsRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
}

Request Object

func (ListMeasureUnitsRequest) String

func (o ListMeasureUnitsRequest) String() string

type ListMeasureUnitsResponse

type ListMeasureUnitsResponse struct {
	// |参数名称:度量信息| |参数约束以及描述:度量信息|
	MeasureUnits   *[]MeasureUnitRest `json:"measure_units,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListMeasureUnitsResponse) String

func (o ListMeasureUnitsResponse) String() string

type ListOnDemandResourceRatingsRequest

type ListOnDemandResourceRatingsRequest struct {
	Body *RateOnDemandReq `json:"body,omitempty"`
}

Request Object

func (ListOnDemandResourceRatingsRequest) String

type ListOnDemandResourceRatingsResponse

type ListOnDemandResourceRatingsResponse struct {
	// |参数名称:总额| |参数约束及描述:即最终优惠后的金额|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:优惠额| |参数约束及描述:(官网价和总价的差)|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:度量单位标识| |参数约束及描述:1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种| |参数约束及描述:比如CNY|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:产品询价结果| |参数的约束及描述:产品询价结果|
	ProductRatingResults *[]DemandProductRatingResult `json:"product_rating_results,omitempty"`
	HttpStatusCode       int                          `json:"-"`
}

Response Object

func (ListOnDemandResourceRatingsResponse) String

type ListOrderCouponsByOrderIdRequest

type ListOrderCouponsByOrderIdRequest struct {
	OrderId string `json:"order_id"`
}

Request Object

func (ListOrderCouponsByOrderIdRequest) String

type ListOrderCouponsByOrderIdResponse

type ListOrderCouponsByOrderIdResponse struct {
	// |参数名称:符合条件的记录总数。| |参数的约束及描述:符合条件的记录总数。|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:客户订单详情信息。具体请参见表 CustomerOrderV2| |参数约束以及描述:客户订单详情信息。具体请参见表 CustomerOrderV2|
	UserCoupons    *[]CouponInfoV2 `json:"user_coupons,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListOrderCouponsByOrderIdResponse) String

type ListPartnerAdjustRecordsRequest

type ListPartnerAdjustRecordsRequest struct {
	CustomerId         *string `json:"customer_id,omitempty"`
	OperationType      *string `json:"operation_type,omitempty"`
	OperationTimeBegin *string `json:"operation_time_begin,omitempty"`
	OperationTimeEnd   *string `json:"operation_time_end,omitempty"`
	TransId            *string `json:"trans_id,omitempty"`
	Offset             *int32  `json:"offset,omitempty"`
	Limit              *int32  `json:"limit,omitempty"`
	IndirectPartnerId  *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListPartnerAdjustRecordsRequest) String

type ListPartnerAdjustRecordsResponse

type ListPartnerAdjustRecordsResponse struct {
	// |参数名称:返回总条数。| |参数的约束及描述:返回总条数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:调账记录列表。具体请参见表 AdjustRecordV2。| |参数约束以及描述:调账记录列表。具体请参见表 AdjustRecordV2。|
	Records        *[]AdjustRecordV2 `json:"records,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListPartnerAdjustRecordsResponse) String

type ListPartnerBalancesRequest

type ListPartnerBalancesRequest struct {
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListPartnerBalancesRequest) String

type ListPartnerBalancesResponse

type ListPartnerBalancesResponse struct {
	// |参数名称:总额,即最终优惠后的金额,| |参数约束以及描述:总额,即最终优惠后的金额,|
	AccountBalances *[]AccountBalanceV2 `json:"account_balances,omitempty"`
	HttpStatusCode  int                 `json:"-"`
}

Response Object

func (ListPartnerBalancesResponse) String

type ListPartnerCouponsRecordRequest

type ListPartnerCouponsRecordRequest struct {
	OperationTypes     *[]string `json:"operation_types,omitempty"`
	QuotaId            *string   `json:"quota_id,omitempty"`
	QuotaType          *int32    `json:"quota_type,omitempty"`
	CouponIds          *[]string `json:"coupon_ids,omitempty"`
	CustomerId         *string   `json:"customer_id,omitempty"`
	OperationTimeBegin *string   `json:"operation_time_begin,omitempty"`
	OperationTimeEnd   *string   `json:"operation_time_end,omitempty"`
	Result             *string   `json:"result,omitempty"`
	Offset             *int32    `json:"offset,omitempty"`
	Limit              *int32    `json:"limit,omitempty"`
	IndirectPartnerId  *string   `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListPartnerCouponsRecordRequest) String

type ListPartnerCouponsRecordResponse

type ListPartnerCouponsRecordResponse struct {
	// |参数名称:查询记录总数。| |参数的约束及描述:查询记录总数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:日志记录列表。具体请参见表2 CouponRecordV2。| |参数约束以及描述:日志记录列表。具体请参见表2 CouponRecordV2。|
	Records        *[]CouponRecordV2 `json:"records,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListPartnerCouponsRecordResponse) String

type ListPartnerPayOrdersRequest

type ListPartnerPayOrdersRequest struct {
	OrderId           *string `json:"order_id,omitempty"`
	CustomerId        *string `json:"customer_id,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	Status            *int32  `json:"status,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListPartnerPayOrdersRequest) String

type ListPartnerPayOrdersResponse

type ListPartnerPayOrdersResponse struct {
	// |参数名称:符合条件的记录总数。| |参数的约束及描述:符合条件的记录总数。必填|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:总额,即最终优惠后的金额,| |参数约束以及描述:总额,即最终优惠后的金额,非必填|
	OrderInfos     *[]CustomerOrderEntity `json:"order_infos,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListPartnerPayOrdersResponse) String

type ListPayPerUseCustomerResourcesRequest

type ListPayPerUseCustomerResourcesRequest struct {
	Body *QueryResourcesReq `json:"body,omitempty"`
}

Request Object

func (ListPayPerUseCustomerResourcesRequest) String

type ListPayPerUseCustomerResourcesResponse

type ListPayPerUseCustomerResourcesResponse struct {
	// |参数名称:资源列表。具体请参见表2 OrderInstanceV2。| |参数约束以及描述:资源列表。具体请参见表2 OrderInstanceV2。|
	Data *[]OrderInstanceV2 `json:"data,omitempty"`
	// |参数名称:总记录数。| |参数的约束及描述:总记录数。|
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListPayPerUseCustomerResourcesResponse) String

type ListPostalAddressRequest

type ListPostalAddressRequest struct {
	Offset *int32 `json:"offset,omitempty"`
	Limit  *int32 `json:"limit,omitempty"`
}

Request Object

func (ListPostalAddressRequest) String

func (o ListPostalAddressRequest) String() string

type ListPostalAddressResponse

type ListPostalAddressResponse struct {
	// |参数名称:查询个数,成功的时候返回| |参数的约束及描述:查询个数,成功的时候返回|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:邮寄地址| |参数约束以及描述:邮寄地址|
	PostalAddress  *[]CustomerPostalAddressV2 `json:"postal_address,omitempty"`
	HttpStatusCode int                        `json:"-"`
}

Response Object

func (ListPostalAddressResponse) String

func (o ListPostalAddressResponse) String() string

type ListProvincesRequest

type ListProvincesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
	Offset    *int32  `json:"offset,omitempty"`
	Limit     *int32  `json:"limit,omitempty"`
}

Request Object

func (ListProvincesRequest) String

func (o ListProvincesRequest) String() string

type ListProvincesResponse

type ListProvincesResponse struct {
	// |参数名称:查询个数,成功的时候返回| |参数的约束及描述:查询个数,成功的时候返回|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:省份信息列表,成功的时候返回| |参数约束以及描述:省份信息列表,成功的时候返回|
	Provinces      *[]Province `json:"provinces,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListProvincesResponse) String

func (o ListProvincesResponse) String() string

type ListQuotaCouponsRequest

type ListQuotaCouponsRequest struct {
	Body *QueryCouponQuotasReqExt `json:"body,omitempty"`
}

Request Object

func (ListQuotaCouponsRequest) String

func (o ListQuotaCouponsRequest) String() string

type ListQuotaCouponsResponse

type ListQuotaCouponsResponse struct {
	// |参数名称:查询总数。| |参数的约束及描述:查询总数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:额度记录列表。具体请参见表2 IssuedCouponQuota。| |参数约束以及描述:额度记录列表。具体请参见表2 IssuedCouponQuota。|
	Quotas         *[]CouponQuotaV2 `json:"quotas,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListQuotaCouponsResponse) String

func (o ListQuotaCouponsResponse) String() string

type ListRateOnPeriodDetailRequest

type ListRateOnPeriodDetailRequest struct {
	Body *RateOnPeriodReq `json:"body,omitempty"`
}

Request Object

func (ListRateOnPeriodDetailRequest) String

type ListRateOnPeriodDetailResponse

type ListRateOnPeriodDetailResponse struct {
	OfficialWebsiteRatingResult *OfficialWebsiteRatingResult `json:"official_website_rating_result,omitempty"`
	// |参数名称:存在可选折扣优惠时返回折扣优惠维度询价结果,每个折扣优惠一组询价结果| |参数的约束及描述:存在可选折扣优惠时返回折扣优惠维度询价结果,每个折扣优惠一组询价结果|
	OptionalDiscountRatingResults *[]OptionalDiscountRatingResult `json:"optional_discount_rating_results,omitempty"`
	// |参数名称:币种| |参数约束及描述:比如CNY|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListRateOnPeriodDetailResponse) String

type ListResourceTypesRequest

type ListResourceTypesRequest struct {
	XLanguage        *string `json:"X-Language,omitempty"`
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
}

Request Object

func (ListResourceTypesRequest) String

func (o ListResourceTypesRequest) String() string

type ListResourceTypesResponse

type ListResourceTypesResponse struct {
	// |参数名称:返回数据| |参数约束以及描述:返回数据|
	ResourceTypes  *[]ResourceType `json:"resource_types,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListResourceTypesResponse) String

func (o ListResourceTypesResponse) String() string

type ListResourceUsagesRequest

type ListResourceUsagesRequest struct {
	XLanguage *string `json:"X-Language,omitempty"`
}

Request Object

func (ListResourceUsagesRequest) String

func (o ListResourceUsagesRequest) String() string

type ListResourceUsagesResponse

type ListResourceUsagesResponse struct {
	// |参数名称:套餐包使用量信息| |参数的约束及描述:套餐包使用量信息|
	PackageUsageInfos *[]PackageUsageInfo `json:"package_usage_infos,omitempty"`
	HttpStatusCode    int                 `json:"-"`
}

Response Object

func (ListResourceUsagesResponse) String

type ListServiceResourcesRequest

type ListServiceResourcesRequest struct {
	XLanguage       *string `json:"X-Language,omitempty"`
	ServiceTypeCode string  `json:"service_type_code"`
	Limit           *int32  `json:"limit,omitempty"`
	Offset          *int32  `json:"offset,omitempty"`
}

Request Object

func (ListServiceResourcesRequest) String

type ListServiceResourcesResponse

type ListServiceResourcesResponse struct {
	// |参数名称:总数| |参数的约束及描述:总数|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:资源基本信息列表| |参数约束以及描述:资源基本信息列表|
	Infos          *[]ServiceResourceInfo `json:"infos,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (ListServiceResourcesResponse) String

type ListServiceTypesRequest

type ListServiceTypesRequest struct {
	XLanguage       *string `json:"X-Language,omitempty"`
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
}

Request Object

func (ListServiceTypesRequest) String

func (o ListServiceTypesRequest) String() string

type ListServiceTypesResponse

type ListServiceTypesResponse struct {
	// |参数名称:返回数据| |参数约束以及描述:返回数据|
	ServiceTypes   *[]ServiceType `json:"service_types,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListServiceTypesResponse) String

func (o ListServiceTypesResponse) String() string

type ListSkuInventoriesRequest

type ListSkuInventoriesRequest struct {
	Body *QuerySkuInventoriesReq `json:"body,omitempty"`
}

Request Object

func (ListSkuInventoriesRequest) String

func (o ListSkuInventoriesRequest) String() string

type ListSkuInventoriesResponse

type ListSkuInventoriesResponse struct {
	// |参数名称:总记录数| |参数约束以及描述:总记录数|
	SkuInventories *[]SkuInventory `json:"sku_inventories,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListSkuInventoriesResponse) String

type ListSubCustomerCouponsRequest

type ListSubCustomerCouponsRequest struct {
	CouponId          *string `json:"coupon_id,omitempty"`
	OrderId           *string `json:"order_id,omitempty"`
	PromotionPlanId   *string `json:"promotion_plan_id,omitempty"`
	CouponType        *int32  `json:"coupon_type,omitempty"`
	Status            *int32  `json:"status,omitempty"`
	ActiveStartTime   *string `json:"active_start_time,omitempty"`
	ActiveEndTime     *string `json:"active_end_time,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
	SourceId          *string `json:"source_id,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListSubCustomerCouponsRequest) String

type ListSubCustomerCouponsResponse

type ListSubCustomerCouponsResponse struct {
	// |参数名称:个数| |参数的约束及描述:个数|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:优惠券记录。具体请参见表 IQueryUserCouponsResult。| |参数约束以及描述:优惠券记录。具体请参见表 IQueryUserCouponsResult。|
	UserCoupons    *[]IQueryUserCouponsResultV2 `json:"user_coupons,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (ListSubCustomerCouponsResponse) String

type ListSubCustomerDiscountsRequest

type ListSubCustomerDiscountsRequest struct {
	CustomerId        string  `json:"customer_id"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListSubCustomerDiscountsRequest) String

type ListSubCustomerDiscountsResponse

type ListSubCustomerDiscountsResponse struct {
	SubCustomerDiscount *QuerySubCustomerDiscountV2 `json:"sub_customer_discount,omitempty"`
	HttpStatusCode      int                         `json:"-"`
}

Response Object

func (ListSubCustomerDiscountsResponse) String

type ListSubCustomerResFeeRecordsRequest

type ListSubCustomerResFeeRecordsRequest struct {
	CustomerId        string  `json:"customer_id"`
	Cycle             string  `json:"cycle"`
	CloudServiceType  *string `json:"cloud_service_type,omitempty"`
	Region            *string `json:"region,omitempty"`
	ChargeMode        string  `json:"charge_mode"`
	BillType          *int32  `json:"bill_type,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
	ResourceId        *string `json:"resource_id,omitempty"`
	IncludeZeroRecord *bool   `json:"include_zero_record,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListSubCustomerResFeeRecordsRequest) String

type ListSubCustomerResFeeRecordsResponse

type ListSubCustomerResFeeRecordsResponse struct {
	// |参数名称:资源费用记录数据。具体请参见表 ResFeeRecordV2。| |参数约束以及描述:资源费用记录数据。具体请参见表 ResFeeRecordV2。|
	FeeRecords *[]SubCustomerResFeeRecordV2 `json:"fee_records,omitempty"`
	// |参数名称:结果集数量,只有成功才返回这个参数。| |参数的约束及描述:结果集数量,只有成功才返回这个参数。|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:货币单位代码:CNY:人民币USD:美元| |参数约束及描述:货币单位代码:CNY:人民币USD:美元|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSubCustomerResFeeRecordsResponse) String

type ListSubCustomersRequest

type ListSubCustomersRequest struct {
	Body *QuerySubCustomerListReq `json:"body,omitempty"`
}

Request Object

func (ListSubCustomersRequest) String

func (o ListSubCustomersRequest) String() string

type ListSubCustomersResponse

type ListSubCustomersResponse struct {
	// |参数名称:客户信息列表。具体请参见表 CustomerInfo| |参数约束以及描述:客户信息列表。具体请参见表 CustomerInfo|
	CustomerInfos *[]CustomerInformation `json:"customer_infos,omitempty"`
	// |参数名称:总记录数。| |参数的约束及描述:总记录数。|
	Count          *int32 `json:"count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListSubCustomersResponse) String

func (o ListSubCustomersResponse) String() string

type ListSubcustomerMonthlyBillsRequest

type ListSubcustomerMonthlyBillsRequest struct {
	CustomerId        *string `json:"customer_id,omitempty"`
	Cycle             string  `json:"cycle"`
	CloudServiceType  *string `json:"cloud_service_type,omitempty"`
	ChargeMode        string  `json:"charge_mode"`
	Offset            *int32  `json:"offset,omitempty"`
	Limit             *int32  `json:"limit,omitempty"`
	BillType          *string `json:"bill_type,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ListSubcustomerMonthlyBillsRequest) String

type ListSubcustomerMonthlyBillsResponse

type ListSubcustomerMonthlyBillsResponse struct {
	// |参数名称:资源费用记录数据。具体请参见表 ResFeeRecordV2。| |参数约束以及描述:资源费用记录数据。具体请参见表 ResFeeRecordV2。|
	BillSums *[]BillSumInfoV2 `json:"bill_sums,omitempty"`
	// |参数名称:结果集数量,只有成功才返回这个参数。| |参数的约束及描述:结果集数量,只有成功才返回这个参数。|
	Count *int32 `json:"count,omitempty"`
	// |参数名称:货币单位代码:CNY:人民币USD:美元| |参数约束及描述:货币单位代码:CNY:人民币USD:美元|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListSubcustomerMonthlyBillsResponse) String

type ListUsageTypesRequest

type ListUsageTypesRequest struct {
	XLanguage        *string `json:"X-Language,omitempty"`
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	Offset           *int32  `json:"offset,omitempty"`
	Limit            *int32  `json:"limit,omitempty"`
}

Request Object

func (ListUsageTypesRequest) String

func (o ListUsageTypesRequest) String() string

type ListUsageTypesResponse

type ListUsageTypesResponse struct {
	// |参数名称:总条数,必须大于等于0。| |参数的约束及描述:总条数,必须大于等于0。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:用量类型列表| |参数约束以及描述:用量类型列表|
	UsageTypes     *[]UsageType `json:"usage_types,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListUsageTypesResponse) String

func (o ListUsageTypesResponse) String() string

type MeasureUnitRest

type MeasureUnitRest struct {
	// |参数名称:度量单位ID| |参数的约束及描述:度量单位ID|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:度量单位名称(默认语言或者要查询语言名称)| |参数约束及描述:度量单位名称(默认语言或者要查询语言名称)|
	MeasureName *string `json:"measure_name,omitempty"`
	// |参数名称:英文缩写| |参数约束及描述:英文缩写|
	Abbreviation *string `json:"abbreviation,omitempty"`
	// |参数名称:度量类型| |参数的约束及描述:度量类型|
	MeasureType *int32 `json:"measure_type,omitempty"`
}

func (MeasureUnitRest) String

func (o MeasureUnitRest) String() string

type MonthlyBillRecord

type MonthlyBillRecord struct {
	// |参数名称:账期,格式固定为YYYY-MM。| |参数约束及描述:账期,格式固定为YYYY-MM。|
	BillCycle *string `json:"bill_cycle,omitempty"`
	// |参数名称:消费的客户账号ID。如果是普通客户或者企业子客户查询消费记录,只能查询到客户自己的消费记录,且此处显示的是客户自己的客户ID。如果是企业主查询消费记录,可以查询到企业主以及企业子客户的消费记录,此处为消费的实际客户ID。如果是企业主自己的消费记录,则为企业主ID;如果是某个企业子客户的消费记录,则此处为企业子账号ID。| |参数约束及描述:消费的客户账号ID。如果是普通客户或者企业子客户查询消费记录,只能查询到客户自己的消费记录,且此处显示的是客户自己的客户ID。如果是企业主查询消费记录,可以查询到企业主以及企业子客户的消费记录,此处为消费的实际客户ID。如果是企业主自己的消费记录,则为企业主ID;如果是某个企业子客户的消费记录,则此处为企业子账号ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型|
	RegionCode *string `json:"region_code,omitempty"`
	// |参数名称:企业项目标识| |参数约束及描述:企业项目标识|
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	// |参数名称:企业项目名称| |参数约束及描述:企业项目名称|
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`
	// |参数名称:计费模式1、包周期;3、按需;10、预留实例| |参数的约束及描述:计费模式1、包周期;3、按需;10、预留实例|
	ChargingMode *int32 `json:"charging_mode,omitempty"`
	// |参数名称:| |参数名称:消费时间,包周期和预留实例订购场景下为订单支付时间,按需场景下为话单生失效时间||参数约束及描述:| |参数名称:消费时间,包周期和预留实例订购场景下为订单支付时间,按需场景下为话单生失效时间|
	ConsumeTime *string `json:"consume_time,omitempty"`
	// |参数名称:| |参数名称:交易时间| |参数约束及描述:交易时间,某条消费记录对应的扣费时间||参数约束及描述:| |参数名称:交易时间| |参数约束及描述:交易时间,某条消费记录对应的扣费时间|
	TradeTime *string `json:"trade_time,omitempty"`
	// |参数名称:服务商1:华为云2:云市场| |参数的约束及描述:服务商1:华为云2:云市场|
	ProviderType *int32 `json:"provider_type,omitempty"`
	// |参数名称:订单ID 或 交易ID,扣费维度的唯一标识| |参数约束及描述:订单ID 或 交易ID,扣费维度的唯一标识|
	TradeId *string `json:"trade_id,omitempty"`
	// |参数名称:账单类型1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费16:调账-扣费| |参数的约束及描述:账单类型1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费16:调账-扣费|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:支付状态1:已支付2:未结清3:未结算| |参数的约束及描述:支付状态1:已支付2:未结清3:未结算|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:官网价。单位为元说明:official_amount等于official_discount_amount和erase_amount和consume_amount的和。| |参数的约束及描述:官网价。单位为元说明:official_amount等于official_discount_amount和erase_amount和consume_amount的和。|
	OfficialAmount float32 `json:"official_amount,omitempty"`
	// |参数名称:折扣金额。单位为元| |参数的约束及描述:折扣金额。单位为元|
	OfficialDiscountAmount float32 `json:"official_discount_amount,omitempty"`
	// |参数名称:抹零金额。单位为元| |参数的约束及描述:抹零金额。单位为元|
	EraseAmount float32 `json:"erase_amount,omitempty"`
	// |参数名称:应付金额,包括现金券和储值卡和代金券金额。单位为元说明:(1)consume_amount的值包含cash_amount,credit_amount,coupon_amount,flexipurchase_coupon_amount,stored_card_amount,bonus_amount,debt_amount,writeoff_amount的和| |参数的约束及描述:应付金额,包括现金券和储值卡和代金券金额。单位为元说明:(1)consume_amount的值包含cash_amount,credit_amount,coupon_amount,flexipurchase_coupon_amount,stored_card_amount,bonus_amount,debt_amount,writeoff_amount的和|
	ConsumeAmount float32 `json:"consume_amount,omitempty"`
	// |参数名称:现金支付金额。单位为元| |参数的约束及描述:现金支付金额。单位为元|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用额度支付金额。单位为元| |参数的约束及描述:信用额度支付金额。单位为元|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:代金券支付金额。单位为元| |参数的约束及描述:代金券支付金额。单位为元|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券支付金额。单位为元| |参数的约束及描述:现金券支付金额。单位为元|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡支付金额。单位为元| |参数的约束及描述:储值卡支付金额。单位为元|
	StoredValueCardAmount float32 `json:"stored_value_card_amount,omitempty"`
	// |参数名称:奖励金支付金额(奖励金已经下市,用于现网客户未使用完的奖励金)。单位为元| |参数的约束及描述:奖励金支付金额(奖励金已经下市,用于现网客户未使用完的奖励金)。单位为元|
	BonusAmount float32 `json:"bonus_amount,omitempty"`
	// |参数名称:欠费金额。单位为元| |参数的约束及描述:欠费金额。单位为元|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:欠费核销金额。单位为元| |参数的约束及描述:欠费核销金额。单位为元|
	WriteoffAmount float32 `json:"writeoff_amount,omitempty"`
	// |参数名称:云服务区名称| |参数的约束及描述:云服务区名称|
	RegionName *string `json:"region_name,omitempty"`
}

func (MonthlyBillRecord) String

func (o MonthlyBillRecord) String() string

type MonthlyBillRes

type MonthlyBillRes struct {
	// |参数名称:消费月份| |参数的约束及描述:格式为YYYY-MM|
	Cycle *string `json:"cycle,omitempty"`
	// |参数名称:账单类型| |参数的约束及描述:该参数非必填,1:消费-新购;2:消费-续订;3:消费-变更;4:退款-退订;5:消费-使用;8:消费-自动续订;9:调账-补偿;12:消费-按时计费;13:消费-退订手续费; 15消费-税金;14:消费-服务支持计划月末扣费;16:调账-扣费 100:退款-退订税金 101:调账-补偿税金 102:调账-扣费税金|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:消费的客户账号ID。| |参数约束及描述:如果是普通客户或者企业子客户查询消费记录,只能查询到客户自己的消费记录,且此处显示的是客户自己的客户ID; 如果是企业主查询消费记录,可以查询到企业主以及企业子客户的消费记录,此处为消费的实际客户ID。如果是企业主自己的消费记录,则为企业主ID;如果是某个企业子客户的消费记录,则此处为企业子账号ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务区编码| |参数的约束及描述:该参数非必填,例如:“cn-north-1”。|
	Region *string `json:"region,omitempty"`
	// |参数名称:云服务区名称| |参数的约束及描述:云服务区名称|
	RegionName *string `json:"region_name,omitempty"`
	// |参数名称:云服务类型编码| |参数的约束及描述:该参数非必填,,例如ECS的云服务类型编码为“hws.service.type.ec2”|
	CloudServiceType *string `json:"cloud_service_type,omitempty"`
	// |参数名称:资源类型编码| |参数的约束及描述:该参数非必填,例如ECS的VM为“hws.resource.type.vm”。|
	ResourceTypeCode *string `json:"resource_Type_code,omitempty"`
	// |参数名称:资源实例ID| |参数的约束及描述:该参数非必填|
	ResInstanceId *string `json:"res_instance_id,omitempty"`
	// |参数名称:资源名称| |参数的约束及描述:客户在创建资源的时候,可以输入资源名称,有些资源也可以在管理资源时,修改资源名称|
	ResourceName *string `json:"resource_name,omitempty"`
	// |参数名称:资源标签| |参数的约束及描述:客户在创建资源的时候,可以输入资源名称,有些资源也可以在管理资源时,修改资源名称|
	ResourceTag *string `json:"resource_tag,omitempty"`
	// |参数名称:SKU编码| |参数的约束及描述:SKU(Stock Keeping Unit,库存量单元)编码,产品下的SKU分类属性|
	SkuCode *string `json:"sku_code,omitempty"`
	// |参数名称:企业项目ID| |参数的约束及描述:该参数非必填|
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	// |参数名称:企业项目名称| |参数的约束及描述:该参数非必填|
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`
	// |参数名称:计费模式| |参数的约束及描述:1 : 包年/包月;3: 按需。10: 预留实例|
	ChargeMode *int32 `json:"charge_mode,omitempty"`
	// |参数名称:客户购买云服务类型的消费金额| |参数的约束及描述:该参数非必填,包含代金券,大陆站还包含现金券,大陆站精确到小数点后8位,国际站精确到小数点后2位。|
	ConsumeAmount float32 `json:"consume_amount,omitempty"`
	// |参数名称:现金支付金额| |参数的约束及描述:该参数非必填|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用额度支付金额| |参数的约束及描述:该参数非必填|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:代金券支付金额| |参数的约束及描述:该参数非必填。|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券支付金额| |参数的约束及描述:该参数非必填。|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡支付金额| |参数的约束及描述:该参数非必填。|
	StoredCardAmount float32 `json:"stored_card_amount,omitempty"`
	// |参数名称:奖励金支付金额(用于现网未清干净的奖励金)| |参数的约束及描述:该参数非必填。|
	BonusAmount float32 `json:"bonus_amount,omitempty"`
	// |参数名称:欠费金额| |参数的约束及描述:该参数非必填。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:欠费核销金额| |参数的约束及描述:该参数非必填。|
	AdjustmentAmount float32 `json:"adjustment_amount,omitempty"`
	// |参数名称:官网价| |参数的约束及描述:该参数非必填。|
	OfficialAmount float32 `json:"official_amount,omitempty"`
	// |参数名称:对应官网价折扣金额| |参数的约束及描述:该参数非必填。|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:金额单位。1:元| |参数的约束及描述:该参数非必填|
	MeasureId *int32 `json:"measure_id,omitempty"`
}

func (MonthlyBillRes) String

func (o MonthlyBillRes) String() string

type NewCustomerV2

type NewCustomerV2 struct {
	// |参数名称:客户主账号登录名。| |参数约束及描述:客户主账号登录名。|
	CustomerName string `json:"customer_name"`
	// |参数名称:管理员手机号码。如果usePriMobilePhone为Y,则这个参数无效,否则必选。| |参数约束及描述:管理员手机号码。如果usePriMobilePhone为Y,则这个参数无效,否则必选。|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:是否使用企业主账号手机号码作为子账号手机号码:Y:是;N:否(默认值)。注:当为Y时,mobilePhone输入无效。| |参数约束及描述:是否使用企业主账号手机号码作为子账号手机号码:Y:是;N:否(默认值)。注:当为Y时,mobilePhone输入无效。|
	UsePriMobilePhone *string `json:"use_pri_mobile_phone,omitempty"`
	// |参数名称:客户登录密码。注:usePriMobilePhone为Y时才支持| |参数约束及描述:客户登录密码。注:usePriMobilePhone为Y时才支持|
	Password string `json:"password"`
	// |参数名称:验证码,只有输入企业子客户的手机号邮箱的情况下,才需要填写该字段| |参数约束及描述:验证码,只有输入企业子客户的手机号邮箱的情况下,才需要填写该字段|
	VerificationCode *string `json:"verification_code,omitempty"`
}

func (NewCustomerV2) String

func (o NewCustomerV2) String() string

type OfficialWebsiteRatingResult

type OfficialWebsiteRatingResult struct {
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:度量单位标识1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:产品询价结果| |参数的约束及描述:产品询价结果|
	ProductRatingResults *[]PeriodProductOfficialRatingResult `json:"product_rating_results,omitempty"`
}

func (OfficialWebsiteRatingResult) String

type OptionalDiscountRatingResult

type OptionalDiscountRatingResult struct {
	// |参数名称:折扣优惠Id| |参数约束及描述:折扣优惠Id|
	DiscountId *string `json:"discount_id,omitempty"`
	// |参数名称:总额,即最终优惠后的金额,amount= official_website_amount - discountAmount|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:优惠额| |参数约束及描述:(官网价和总价的差)|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:度量单位标识| |参数约束及描述:1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:折扣优惠类型:合同商务折扣:605(华为云BE场景下的合同商务折扣)、606(分销商BE场景下的合同商务折扣)伙伴授予折扣:607|
	DiscountType *int32 `json:"discount_type,omitempty"`
	// |参数名称:折扣名称| |参数约束及描述:折扣名称|
	DiscountName *string `json:"discount_name,omitempty"`
	// |参数名称:是否为最优折扣| |参数约束及描述:0:不是最优折扣;为缺省值。1:是最优折扣;最优折扣:在商务折扣、伙伴折扣中选择(优惠金额最大的折扣为最优,优惠金额相等则按此顺序排优先级),促销折扣,折扣券不参与最优折扣的计算|
	BestOffer *int32 `json:"best_offer,omitempty"`
	// |参数名称:产品询价结果| |参数的约束及描述:产品询价结果|
	ProductRatingResults *[]PeriodProductRatingResult `json:"product_rating_results,omitempty"`
}

func (OptionalDiscountRatingResult) String

type OrderInstanceV2

type OrderInstanceV2 struct {
	// |参数名称:标识要开通资源的内部ID,资源开通以后生成的ID为resource_id。对应订购关系ID。| |参数约束及描述:标识要开通资源的内部ID,资源开通以后生成的ID为resource_id。对应订购关系ID。|
	Id *string `json:"id,omitempty"`
	// |参数名称:资源实例ID。| |参数约束及描述:资源实例ID。|
	ResourceId *string `json:"resource_id,omitempty"`
	// |参数名称:资源实例名。| |参数约束及描述:资源实例名。|
	ResourceName *string `json:"resource_name,omitempty"`
	// |参数名称:云服务资源池区域编码。| |参数约束及描述:云服务资源池区域编码。|
	RegionCode *string `json:"region_code,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:云服务产品的资源规格,例如VM的资源规格举例为“s2.small.1.linux”。具体请参见对应云服务的相关介绍。| |参数约束及描述:云服务产品的资源规格,例如VM的资源规格举例为“s2.small.1.linux”。具体请参见对应云服务的相关介绍。|
	ResourceSpecCode *string `json:"resource_spec_code,omitempty"`
	// |参数名称:资源项目ID。| |参数约束及描述:资源项目ID。|
	ProjectId *string `json:"project_id,omitempty"`
	// |参数名称:产品ID。| |参数约束及描述:产品ID。|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:父资源实例ID。| |参数约束及描述:父资源实例ID。|
	ParentResourceId *string `json:"parent_resource_id,omitempty"`
	// |参数名称:是否是主资源。0:非主资源1:主资源| |参数的约束及描述:是否是主资源。0:非主资源1:主资源|
	IsMainResource *int32 `json:"is_main_resource,omitempty"`
	// |参数名称:资源状态:1:初始化2:已生效3:已过期4:已冻结5:宽限期6:冻结中7:冻结恢复中(预留,未启用)8:正在关闭| |参数的约束及描述:资源状态:1:初始化2:已生效3:已过期4:已冻结5:宽限期6:冻结中7:冻结恢复中(预留,未启用)8:正在关闭|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:资源生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:资源生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:资源过期时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。| |参数约束及描述:资源过期时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:到期策略:0:到期进入宽限期1:到期转按需2:到期后自动删除(从生效中直接删除)3:到期后自动续费4:到期后冻结5:到期后删除(从保留期删除)| |参数的约束及描述:到期策略:0:到期进入宽限期1:到期转按需2:到期后自动删除(从生效中直接删除)3:到期后自动续费4:到期后冻结5:到期后删除(从保留期删除)|
	ExpirePolicy *int32 `json:"expire_policy,omitempty"`
}

func (OrderInstanceV2) String

func (o OrderInstanceV2) String() string

type OrderLineItemEntityV2

type OrderLineItemEntityV2 struct {
	// |参数名称:订单项Id。| |参数约束及描述:订单项Id。|
	OrderLineItemId *string `json:"order_line_item_id,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:产品ID。| |参数约束及描述:产品ID。|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:产品规格描述。| |参数约束及描述:产品规格描述。|
	ProductSpecDesc *string `json:"product_spec_desc,omitempty"`
	// |参数名称:周期类型。0:天;1:周;2:月;3:年;4:小时;5:一次性;6:按需(预留);7:按用量报表使用(预留)。| |参数的约束及描述:周期类型。0:天;1:周;2:月;3:年;4:小时;5:一次性;6:按需(预留);7:按用量报表使用(预留)。|
	PeriodType *int32 `json:"period_type,omitempty"`
	// |参数名称:周期数量。| |参数的约束及描述:周期数量。|
	PeriodNum *int32 `json:"period_num,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:订购数量。| |参数的约束及描述:订购数量。|
	SubscriptionNum *int32 `json:"subscription_num,omitempty"`
	// |参数名称:订单优惠后金额(实付价格,不含券不含卡)。| |参数的约束及描述:订单优惠后金额(实付价格,不含券不含卡)。|
	AmountAfterDiscount *float64 `json:"amount_after_discount,omitempty"`
	// |参数名称:订单金额(官网价)。退订订单中,该金额等于currencyAfterDiscount。| |参数的约束及描述:订单金额(官网价)。退订订单中,该金额等于currencyAfterDiscount。|
	OfficialAmount *float64            `json:"official_amount,omitempty"`
	AmountInfo     *AmountInfomationV2 `json:"amount_info,omitempty"`
	// |参数名称:货币编码。| |参数约束及描述:货币编码。如CNY|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:产品目录编码。| |参数约束及描述:产品目录编码。|
	CategoryCode *string `json:"category_code,omitempty"`
	// |参数名称:产品归属的云服务类型编码。| |参数约束及描述:产品归属的云服务类型编码。|
	ProductOwnerService *string `json:"product_owner_service,omitempty"`
	// |参数名称:商务归属的资源类型编码。| |参数约束及描述:商务归属的资源类型编码。|
	CommercialResource *string `json:"commercial_resource,omitempty"`
}

func (OrderLineItemEntityV2) String

func (o OrderLineItemEntityV2) String() string

type OrderRefundInfoV2

type OrderRefundInfoV2 struct {
	// |参数名称:该记录的ID。| |参数约束及描述:该记录的ID。|
	Id string `json:"id"`
	// |参数名称:金额。金额为负数,表示退订金额。金额为正数,表示已消费金额或收取的退订手续费。| |参数的约束及描述:金额。金额为负数,表示退订金额。金额为正数,表示已消费金额或收取的退订手续费。|
	Amount float32 `json:"amount"`
	// |参数名称:度量单位。1:元2:角3:分| |参数约束及描述:度量单位。1:元2:角3:分|
	MeasureId string `json:"measure_id"`
	// |参数名称:客户ID。| |参数约束及描述:客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceTypeCode string `json:"resource_type_code"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode string `json:"service_type_code"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	RegionCode string `json:"region_code"`
	// |参数名称:退订金额、已消费金额或收取退订手续费对应的原订单ID。| |参数约束及描述:退订金额、已消费金额或收取退订手续费对应的原订单ID。|
	BaseOrderId *string `json:"base_order_id,omitempty"`
}

func (OrderRefundInfoV2) String

func (o OrderRefundInfoV2) String() string

type PackageUsageInfo

type PackageUsageInfo struct {
	// |参数名称:订购实例ID| |参数的约束及描述:订购实例ID|
	OrderInstanceId *string `json:"order_instance_id,omitempty"`
	// |参数名称:资源类型名称| |参数的约束及描述:资源类型名称|
	ResourceTypeName *string `json:"resource_type_name,omitempty"`
	// |参数名称:重用模式| |参数的约束及描述:重用模式: 1:可重用2:不可重用|
	QuotaReuseMode *int32 `json:"quota_reuse_mode,omitempty"`
	// |参数名称:重用周期| |参数的约束及描述:重用周期,只有quotaReuseMode为可重用,该字段才有意义.1:小时2:天3:周4:月5:年|
	QuotaReuseCycle *int32 `json:"quota_reuse_cycle,omitempty"`
	// |参数名称:重用周期类别| |参数的约束及描述:重置周期类别,只有quotaReuseMode为可重用,该字段才有意义1:按自然周期重置2:按订购周期重置|
	QuotaReuseCycleType *int32 `json:"quota_reuse_cycle_type,omitempty"`
	// |参数名称:开始时间,格式UTC| |参数的约束及描述:1)如果quotaReuseMode为可重用,则此时间为当前时间所在的重用周期的开始时间2)如果quotaReuseMode为不可重用,则此时间为订购实例的生效时间,|
	StartTime *string `json:"start_time,omitempty"`
	// |参数名称:结束时间,格式UTC| |参数的约束及描述:1)如果quotaReuseMode为可重用,则此时间为当前时间所在的重用周期的结束时间2)如果quotaReuseMode为不可重用,则此时间为订购实例的失效时间|
	EndTime *string `json:"end_time,omitempty"`
	// |参数名称:套餐包内资源剩余量| |参数的约束及描述:套餐包内资源剩余量|
	Balance float32 `json:"balance,omitempty"`
	// |参数名称:套餐包的资源总量| |参数的约束及描述:套餐包的资源总量|
	Total float32 `json:"total,omitempty"`
	// |参数名称:套餐包资源的度量单位名称| |参数的约束及描述:套餐包资源的度量单位名称|
	MeasurementName *string `json:"measurement_name,omitempty"`
	// |参数名称:区域编码| |参数的约束及描述:区域编码|
	RegionCode *string `json:"region_code,omitempty"`
}

func (PackageUsageInfo) String

func (o PackageUsageInfo) String() string

type PayCustomerOrderReq

type PayCustomerOrderReq struct {
	// |参数名称:订单ID。| |参数约束及描述:订单ID。|
	OrderId string `json:"order_id"`
	// |参数名称:字段预留。优惠券列表,目前仅支持传递一个优惠券ID。请从“1.3-查询订单可用优惠券”接口的响应参数中获取。| |参数约束以及描述:字段预留。优惠券列表,目前仅支持传递一个优惠券ID。请从“1.3-查询订单可用优惠券”接口的响应参数中获取。|
	CouponInfos *[]CouponSimpleInfoOrderPay `json:"coupon_infos,omitempty"`
	// |参数名称:折扣ID列表,目前仅支持传递一个折扣ID。请从“1.9-查询订单可用折扣”接口的响应参数中获取。具体参见表 DiscountSimpleInfo。| |参数约束以及描述:折扣ID列表,目前仅支持传递一个折扣ID。请从“1.9-查询订单可用折扣”接口的响应参数中获取。具体参见表 DiscountSimpleInfo。|
	DiscountInfos *[]DiscountSimpleInfo `json:"discount_infos,omitempty"`
}

func (PayCustomerOrderReq) String

func (o PayCustomerOrderReq) String() string

type PayOrdersRequest

type PayOrdersRequest struct {
	Body *PayCustomerOrderReq `json:"body,omitempty"`
}

Request Object

func (PayOrdersRequest) String

func (o PayOrdersRequest) String() string

type PayOrdersResponse

type PayOrdersResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (PayOrdersResponse) String

func (o PayOrdersResponse) String() string

type PeriodProductInfo

type PeriodProductInfo struct {
	// |参数名称:ID标识| |参数约束及描述:同一次询价中不能重复,用于标识返回询价结果和请求的映射关系|
	Id string `json:"id"`
	// |参数名称:用户购买云服务产品的云服务类型| |参数约束及描述:例如EC2,云服务类型为hws.service.type.ec2|
	CloudServiceType string `json:"cloud_service_type"`
	// |参数名称:用户购买云服务产品的资源类型| |参数约束及描述:例如EC2中的VM,资源类型为hws.resource.type.vm。ResourceType是CloudServiceType中的一种资源,CloudServiceType由多种ResourceType组合提供|
	ResourceType string `json:"resource_type"`
	// |参数名称:用户购买云服务产品的资源规格| |参数约束及描述:例如VM的小型规格,资源规格为m1.tiny|
	ResourceSpec string `json:"resource_spec"`
	// |参数名称:云服务区编码| |参数约束及描述:云服务区编码|
	Region string `json:"region"`
	// |参数名称:可用区标识| |参数约束及描述:可用区标识|
	AvailableZone *string `json:"available_zone,omitempty"`
	// |参数名称:资源容量大小| |参数约束及描述:例如购买的卷大小或带宽大小,只有线性产品才有这个字段|
	ResourceSize *int32 `json:"resource_size,omitempty"`
	// |参数名称:资源容量度量标识| |参数约束及描述:枚举值如下:15:Mbps(购买带宽时使用)17:GB(购买云硬盘时使用)14:个只有线性产品才有这个字段|
	SizeMeasureId *int32 `json:"size_measure_id,omitempty"`
	// |参数名称:订购周期类型| |参数约束及描述:0:天;1:周;2:月;3:年;4:小时;|
	PeriodType int32 `json:"period_type"`
	// |参数名称:订购周期数| |参数约束及描述:订购周期数|
	PeriodNum int32 `json:"period_num"`
	// |参数名称:订购数量| |参数约束及描述:订购数量,有值时不能小于0|
	SubscriptionNum int32 `json:"subscription_num"`
}

func (PeriodProductInfo) String

func (o PeriodProductInfo) String() string

type PeriodProductOfficialRatingResult

type PeriodProductOfficialRatingResult struct {
	// |参数名称:ID标识,来源于请求中的ID| |参数约束及描述:ID标识,来源于请求中的ID|
	Id *string `json:"id,omitempty"`
	// |参数名称:产品ID| |参数约束及描述:产品ID|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:度量单位标识1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
}

func (PeriodProductOfficialRatingResult) String

type PeriodProductRatingResult

type PeriodProductRatingResult struct {
	// |参数名称:ID标识| |参数约束及描述:ID标识,来源于请求中的ID|
	Id *string `json:"id,omitempty"`
	// |参数名称:产品ID| |参数约束及描述:产品ID|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:总额| |参数约束及描述:即最终优惠的金额|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:官网价| |参数约束及描述:官网价|
	OfficialWebsiteAmount float32 `json:"official_website_amount,omitempty"`
	// |参数名称:优惠额(官网价和总价的差)| |参数约束及描述:优惠额(官网价和总价的差)|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:度量单位标识| |参数约束及描述:1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
}

func (PeriodProductRatingResult) String

func (o PeriodProductRatingResult) String() string

type PeriodToOnDemandReq

type PeriodToOnDemandReq struct {
	// |参数名称:动作| |参数约束及描述:动作 动作SET_UP:设置CANCEL:取消|
	Operation string `json:"operation"`
	// |参数名称:资源ID| |参数约束以及描述:资源ID 资源ID。您可以调用“2.1-查询客户包年/包月资源列表”接口获取资源ID。只支持传入主资源ID,最多100个资源ID。设置的时候,主资源和对应的子资源一起转按需。哪些资源是主资源请根据“2.1-查询客户包年/包月资源列表”接口响应参数中的“is_main_resource”来标识。|
	ResourceIds []string `json:"resource_ids"`
}

func (PeriodToOnDemandReq) String

func (o PeriodToOnDemandReq) String() string

type Province

type Province struct {
	// |参数名称:省份的编码| |参数约束及描述:省份的编码|
	Code string `json:"code"`
	// |参数名称:省份的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文| |参数约束及描述:省份的名称,根据请求的语言会传递回对应的语言的名称,目前仅支持中文|
	Name string `json:"name"`
}

func (Province) String

func (o Province) String() string

type QueryCouponQuotasReqExt

type QueryCouponQuotasReqExt struct {
	// |参数名称:额度ID列表。| |参数约束以及描述:额度ID列表。|
	QuotaIds *[]string `json:"quota_ids,omitempty"`
	// |参数名称:额度状态列表。| |参数约束以及描述:额度状态列表。|
	QuotaStatusList *[]int32 `json:"quota_status_list,omitempty"`
	// |参数名称:额度类型:0:代金券额度;1:现金券额度。| |参数的约束及描述:额度类型:0:代金券额度;1:现金券额度。|
	QuotaType *int32 `json:"quota_type,omitempty"`
	// |参数名称:创建时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出创建时间大于这个时间的记录。| |参数约束及描述:创建时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出创建时间大于这个时间的记录。|
	CreateTimeBegin *string `json:"create_time_begin,omitempty"`
	// |参数名称:创建时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出创建时间小于这个时间的记录。| |参数约束及描述:创建时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出创建时间小于这个时间的记录。|
	CreateTimeEnd *string `json:"create_time_end,omitempty"`
	// |参数名称:生效时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出生效时间大于这个时间的记录。| |参数约束及描述:生效时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出生效时间大于这个时间的记录。|
	EffectiveTimeBegin *string `json:"effective_time_begin,omitempty"`
	// |参数名称:生效时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出生效时间小于这个时间的记录。| |参数约束及描述:生效时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出生效时间小于这个时间的记录。|
	EffectiveTimeEnd *string `json:"effective_time_end,omitempty"`
	// |参数名称:失效时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出失效时间大于这个时间的记录。| |参数约束及描述:失效时间(开始)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出失效时间大于这个时间的记录。|
	ExpireTimeBegin *string `json:"expire_time_begin,omitempty"`
	// |参数名称:失效时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出失效时间小于这个时间的记录。| |参数约束及描述:失效时间(结束)。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。输入这个条件,会查询出失效时间小于这个时间的记录。|
	ExpireTimeEnd *string `json:"expire_time_end,omitempty"`
	// |参数名称:偏移量,从0开始默认取值为0。| |参数的约束及描述:偏移量,从0开始默认取值为0。|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:每次查询记录数。默认取值为10。| |参数的约束及描述:每次查询记录数。默认取值为10。|
	Limit *int32 `json:"limit,omitempty"`
	// |参数名称:精英服务商(二级经销商)ID,如果要查询二级经销商的额度,需要输入这个参数,否则查询的是一级经销商本人的。| |参数的约束及描述:精英服务商(二级经销商)ID,如果要查询二级经销商的额度,需要输入这个参数,否则查询的是一级经销商本人的。|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (QueryCouponQuotasReqExt) String

func (o QueryCouponQuotasReqExt) String() string

type QueryCustomerOnDemandResourcesReq

type QueryCustomerOnDemandResourcesReq struct {
	// |参数名称:所属的客户ID。| |参数约束及描述:所属的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	RegionCode *string `json:"region_code,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:资源ID批量查询| |参数约束以及描述:用于查询指定资源ID对应的资源。最多支持同时传递50个Id的列表。|
	ResourceIds *[]string `json:"resource_ids,omitempty"`
	// |参数名称:生效时间的开始时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:生效时间的开始时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	EffectiveTimeBegin *string `json:"effective_time_begin,omitempty"`
	// |参数名称:生效时间的结束时间UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:生效时间的结束时间UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	EffectiveTimeEnd *string `json:"effective_time_end,omitempty"`
	// |参数名称:偏移量,从0开始。默认值:0| |参数的约束及描述:偏移量,从0开始。默认值:0|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:一次查询的条数,默认10条。| |参数的约束及描述:一次查询的条数,默认10条。|
	Limit *int32 `json:"limit,omitempty"`
	// |参数名称:资源状态:1:正常(已开通);2:宽限期;3:冻结中;4:变更中;5:正在关闭;6:已关闭。| |参数的约束及描述:资源状态:1:正常(已开通);2:宽限期;3:冻结中;4:变更中;5:正在关闭;6:已关闭。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:二级经销商ID,如果想查询二级经销商的子客户的资源列表,必须携带该字段,否则只能查询自己的子客户的按需资源| |参数约束及描述:二级经销商ID,如果想查询二级经销商的子客户的资源列表,必须携带该字段,否则只能查询自己的子客户的按需资源|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (QueryCustomerOnDemandResourcesReq) String

type QueryCustomersBalancesReq

type QueryCustomersBalancesReq struct {
	// |参数名称:客户的客户信息列表。| |参数约束以及描述:客户的客户信息列表。|
	CustomerInfos []CustomerInfoV2 `json:"customer_infos"`
	// |参数名称:二级经销商ID。| |参数约束及描述:查询二级经销商子客户的账户余额的时候,需要携带这个字段。|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (QueryCustomersBalancesReq) String

func (o QueryCustomersBalancesReq) String() string

type QueryIndirectPartnersReq

type QueryIndirectPartnersReq struct {
	// |参数名称:登录名称| |参数约束及描述:登录名称|
	AccountName *string `json:"account_name,omitempty"`
	// |参数名称:关联开始时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z| |参数约束及描述:关联开始时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z|
	AssociatedOnBegin *string `json:"associated_on_begin,omitempty"`
	// |参数名称:关联结束时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z| |参数约束及描述:关联结束时间,UTC时间(包括时区),比如2016-03-28T00:00:00Z|
	AssociatedOnEnd *string `json:"associated_on_end,omitempty"`
	// |参数名称:偏移量,从0开始,默认是0| |参数的约束及描述:偏移量,从0开始,默认是0|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:最大100,默认为10| |参数的约束及描述:最大100,默认为10|
	Limit *int32 `json:"limit,omitempty"`
	// |参数名称:二级经销商ID| |参数约束及描述:二级经销商ID|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (QueryIndirectPartnersReq) String

func (o QueryIndirectPartnersReq) String() string

type QueryResRecordsDetailReq

type QueryResRecordsDetailReq struct {
	// |参数名称:消费月份| |参数的约束及描述:该参数必填,最大长度:8,比如2018-12|
	Cycle string `json:"cycle"`
	// |参数名称:云服务类型编码| |参数的约束及描述:该参数非必填,最大长度:64,且只允许字符串,例如ECS的云服务类型编码为“hws.service.type.ec2”|
	CloudServiceType *string `json:"cloud_service_type,omitempty"`
	// |参数名称:资源类型编码| |参数的约束及描述:该参数非必填,最大长度:64,且只允许字符串,例如ECS的VM为“hws.resource.type.vm”|
	ResourceType *string `json:"resource_type,omitempty"`
	// |参数名称:云服务区编码| |参数的约束及描述:该参数非必填,最大长度:64,且只允许字符串,例如:“cn-north-1”|
	Region *string `json:"region,omitempty"`
	// |参数名称:资源实例ID| |参数的约束及描述:该参数非必填,最大长度:64,且只允字符串|
	ResInstanceId *string `json:"res_instance_id,omitempty"`
	// |参数名称:支付方式| |参数的约束及描述:该参数非必填,且只允许整数,1 : 包周期;3: 按需。10: 预留实例|
	ChargeMode *int32 `json:"charge_mode,omitempty"`
	// |参数名称:账单类型| |参数的约束及描述:该参数非必填,且只允许整数,1:消费-新购;2:消费-续订;3:消费-变更;4:退款-退订;5:消费-使用;8:消费-自动续订;9:调账-补偿;12:消费-按时计费;13:消费-退订手续费;14:消费-服务支持计划月末扣费; 15消费-税金;16:调账-扣费; 17:消费-保底差额 100:退款-退订税金 101:调账-补偿税金 102:调账-扣费税金|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:企业项目ID| |参数的约束及描述:该参数非必,最大长度:64,且只允许字符串|
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	// |参数名称:返回是否包含应付金额为0的记录| |参数的约束及描述:该参数非必填,且只允许布尔型,true: 包含;false: 不包含|
	IncludeZeroRecord *bool `json:"include_zero_record,omitempty"`
	// |参数名称:偏移量| |参数的约束及描述:该参数非必填,且只允许数字,默认为1|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:页面大小| |参数的约束及描述:该参数非必填,且只允许1-100的数字,默认10|
	Limit *int32 `json:"limit,omitempty"`
	// |参数名称:查询方式。oneself:自身sub_customer: 企业子客户all:自己和企业子客户| |参数的约束及描述:oneself:自身sub_customer: 企业子客户all:自己和企业子客户|
	Method *string `json:"method,omitempty"`
	// |参数名称:企业子账号ID。| |参数的约束及描述:注意:method不等于sub_customer的时候,该参数无效,如果method等于sub_customer,该参数不能为空|
	SubCustomerId *string `json:"sub_customer_id,omitempty"`
}

func (QueryResRecordsDetailReq) String

func (o QueryResRecordsDetailReq) String() string

type QueryResourcesReq

type QueryResourcesReq struct {
	// |参数名称:资源ID列表。查询指定资源ID的资源(当only_main_resource=0时,查询指定资源及其附属资源)。最大支持50个ID同时作为条件查询。| |参数约束以及描述:资源ID列表。查询指定资源ID的资源(当only_main_resource=0时,查询指定资源及其附属资源)。最大支持50个ID同时作为条件查询。|
	ResourceIds *[]string `json:"resource_ids,omitempty"`
	// |参数名称:订单号。查询指定订单下的资源。| |参数约束及描述:订单号。查询指定订单下的资源。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:是否只查询主资源。0:查询主资源及附属资源。1:只查询主资源。默认值为0。| |参数的约束及描述:是否只查询主资源。0:查询主资源及附属资源。1:只查询主资源。默认值为0。|
	OnlyMainResource *int32 `json:"only_main_resource,omitempty"`
	// |参数名称:资源状态。查询指定状态的资源。1:初始化2:已生效3:已过期4:已冻结5:宽限期6:冻结中7:冻结恢复中(预留,未启用)8:正在关闭| |参数约束以及描述:资源状态。查询指定状态的资源。1:初始化2:已生效3:已过期4:已冻结5:宽限期6:冻结中7:冻结恢复中(预留,未启用)8:正在关闭|
	StatusList *[]int32 `json:"status_list,omitempty"`
	// |参数名称:偏移量,从0开始默认值是0。| |参数的约束及描述:偏移量,从0开始默认值是0。|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:每次查询的条数。默认值是10。最大值是500。| |参数的约束及描述:每次查询的条数。默认值是10。最大值是500。|
	Limit *int32 `json:"limit,omitempty"`
}

func (QueryResourcesReq) String

func (o QueryResourcesReq) String() string

type QuerySkuInventoriesReq

type QuerySkuInventoriesReq struct {
	// |参数名称:待查询库存项| |参数约束以及描述:待查询库存项|
	SkuItems []SkuItem `json:"sku_items"`
}

func (QuerySkuInventoriesReq) String

func (o QuerySkuInventoriesReq) String() string

type QuerySubCustomerDiscountV2

type QuerySubCustomerDiscountV2 struct {
	// |参数名称:折扣ID,唯一的表示一条折扣信息。| |参数约束及描述:折扣ID,唯一的表示一条折扣信息。|
	DiscountId *string `json:"discount_id,omitempty"`
	// |参数名称:折扣率,精确到4位小数。如果折扣率是22%,则折扣率写成0.22。| |参数的约束及描述:折扣率,精确到4位小数。如果折扣率是22%,则折扣率写成0.22。|
	Discount float32 `json:"discount,omitempty"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (QuerySubCustomerDiscountV2) String

type QuerySubCustomerListReq

type QuerySubCustomerListReq struct {
	// |参数名称:客户登录名称(如果客户创建了子用户,此处需要填写主账号登录名称。关于主账号和子用户的具体介绍请参见身份管理身份管理中“账号”和“IAM用户”的描述)。支持模糊查询。| |参数约束及描述:客户登录名称(如果客户创建了子用户,此处需要填写主账号登录名称。关于主账号和子用户的具体介绍请参见身份管理身份管理中“账号”和“IAM用户”的描述)。支持模糊查询。|
	AccountName *string `json:"account_name,omitempty"`
	// |参数名称:实名认证名称。支持模糊查询。| |参数约束及描述:实名认证名称。支持模糊查询。|
	Customer *string `json:"customer,omitempty"`
	// |参数名称:偏移量,从0开始| |参数约束及描述: 偏移量,从0开始|
	Offset *int32 `json:"offset,omitempty"`
	// |参数名称:每次查询的数量。默认10,最多100。| |参数约束及描述: 每次查询的数量。默认10,最多100。|
	Limit *int32 `json:"limit,omitempty"`
	// |参数名称:标签,支持模糊查找。| |参数约束及描述:非必填,最大长度64|
	Label *string `json:"label,omitempty"`
	// |参数名称:关联类型1.推荐,2.垫付,3.转售| |参数约束及描述:非必填,最大长度2|
	AssociationType *string `json:"association_type,omitempty"`
	// |参数名称:关联时间区间段开始,UTC时间。| |参数约束及描述:格式为:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	AssociatedOnBegin *string `json:"associated_on_begin,omitempty"`
	// |参数名称:关联时间区间段结束,UTC时间| |参数约束及描述:格式为:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。|
	AssociatedOnEnd *string `json:"associated_on_end,omitempty"`
	// |参数名称:子客户ID| |参数约束及描述:非必填,最大长度64|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:二级渠道商ID| |参数约束及描述:如果想查询二级渠道子客户的列表,该字段必须携带,最大长度64|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (QuerySubCustomerListReq) String

func (o QuerySubCustomerListReq) String() string

type QuotaLimitInfo

type QuotaLimitInfo struct {
	// |参数名称:属性key值| |参数约束及描述:属性key值|
	LimitKey *string `json:"limit_key,omitempty"`
	// |参数名称:属性值| |参数约束以及描述:属性值|
	LimitValues *[]LimitValue `json:"limit_values,omitempty"`
}

func (QuotaLimitInfo) String

func (o QuotaLimitInfo) String() string

type QuotaReclaim

type QuotaReclaim struct {
	// |参数名称:被回收的二级经销商代金券额度ID| |参数约束及描述:被回收的二级经销商代金券额度ID|
	QuotaId *string `json:"quota_id,omitempty"`
	// |参数名称:被回收的代金券的余额| |参数的约束及描述:被回收的代金券的余额|
	QuotaBalance float32 `json:"quota_balance,omitempty"`
}

func (QuotaReclaim) String

func (o QuotaReclaim) String() string

type QuotaRecord

type QuotaRecord struct {
	// |参数名称:记录ID| |参数约束及描述:记录ID|
	Id *string `json:"id,omitempty"`
	// |参数名称:操作员额账号名称| |参数约束及描述:操作员额账号名称|
	Operator *string `json:"operator,omitempty"`
	// |参数名称:操作类型10:发放额度11:回收额度| |参数约束及描述:操作类型10:发放额度11:回收额度|
	OperationType *string `json:"operation_type,omitempty"`
	// |参数名称:额度ID,这里指的是一级经销商发给二级经销商额度时,产生的二级经销商的额度ID,或者从二级经销商回收的时候,二级经销商的额度ID| |参数约束及描述:额度ID,这里指的是一级经销商发给二级经销商额度时,产生的二级经销商的额度ID,或者从二级经销商回收的时候,二级经销商的额度ID|
	QuotaId *string `json:"quota_id,omitempty"`
	// |参数名称:父额度ID,这里指的是一级经销商发给二级经销商额度时,一级经销商的额度ID,或者从二级经销商回收的时候,回收到的一级经销商的额度ID| |参数约束及描述:父额度ID,这里指的是一级经销商发给二级经销商额度时,一级经销商的额度ID,或者从二级经销商回收的时候,回收到的一级经销商的额度ID|
	ParentQuotaId *string `json:"parent_quota_id,omitempty"`
	// |参数名称:发放回收的金额,小数点后2位,单位元| |参数的约束及描述:发放回收的金额,小数点后2位,单位元|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:操作时间,UTC时间,UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。| |参数约束及描述:操作时间,UTC时间,UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ,如“2019-05-06T08:05:01Z”。其中,HH范围是0~23,mm和ss范围是0~59。|
	OperationTime *string `json:"operation_time,omitempty"`
	// |参数名称:操作结果0:成功-1:失败| |参数约束及描述:操作结果0:成功-1:失败|
	Result *string `json:"result,omitempty"`
	// |参数名称:二级经销商的管理员账号名| |参数约束及描述:二级经销商的管理员账号名|
	IndirectPartnerAccountName *string `json:"indirect_partner_account_name,omitempty"`
	// |参数名称:二级经销商ID| |参数约束及描述:二级经销商ID|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	// |参数名称:二级经销商的公司名称| |参数约束及描述:二级经销商的公司名称|
	IndirectPartnerName *string `json:"indirect_partner_name,omitempty"`
	// |参数名称:备注| |参数约束及描述:备注|
	Remark *string `json:"remark,omitempty"`
}

func (QuotaRecord) String

func (o QuotaRecord) String() string

type QuotaSimpleInfo

type QuotaSimpleInfo struct {
	// |参数名称:批量发放成功客户ID。| |参数约束及描述:批量发放成功客户ID。|
	Id string `json:"id"`
	// |参数名称:发放成功的券ID| |参数约束及描述:发放成功的券ID|
	QuotaId string `json:"quota_id"`
}

func (QuotaSimpleInfo) String

func (o QuotaSimpleInfo) String() string

type RateOnDemandReq

type RateOnDemandReq struct {
	// |参数名称:项目ID| |参数约束及描述:如果使用客户AK/SK或者Token,可以调用“通过assume_role方式获取用户token”接口获取“regionId”取值对应的project id。|
	ProjectId string `json:"project_id"`
	// |参数名称:精度模式| |参数约束及描述:精度模式:0:询价结果默认精度截取,按需最长保留到元后6位小数点,如0.000001元;1:询价结果保留10位精度,即最长保留到分后10位小数点,如:1.0000000001元. 说明:如果定价只到元后2位或者3位,那么价格也只到元后2位或者3位,不管传0或者穿1都一样,只有定价定到了小数点后面6位以上,传0和传1才有区别。|
	InquiryPrecision *int32 `json:"inquiry_precision,omitempty"`
	// |参数名称:产品信息列表| |参数的约束及描述:询价时要询价产品的信息的列表|
	ProductInfos []DemandProductInfo `json:"product_infos"`
}

func (RateOnDemandReq) String

func (o RateOnDemandReq) String() string

type RateOnPeriodReq

type RateOnPeriodReq struct {
	// |参数名称:项目ID| |参数约束及描述:如果使用客户AK/SK或者Token,可以调用“通过assume_role方式获取用户token”接口获取“regionId”取值对应的project id。|
	ProjectId string `json:"project_id"`
	// |参数名称:产品信息列表| |参数的约束及描述:询价时要询价产品的信息的列表|
	ProductInfos []PeriodProductInfo `json:"product_infos"`
}

func (RateOnPeriodReq) String

func (o RateOnPeriodReq) String() string

type ReclaimCouponQuotasReq

type ReclaimCouponQuotasReq struct {
	// |参数名称:被回收的代金券额度的ID。| |参数约束以及描述:被回收的代金券额度的ID。|
	QuotaIds []string `json:"quota_ids"`
	// |参数名称:回收时候的备注| |参数约束及描述:回收时候的备注|
	Remark *string `json:"remark,omitempty"`
}

func (ReclaimCouponQuotasReq) String

func (o ReclaimCouponQuotasReq) String() string

type ReclaimCouponQuotasRequest

type ReclaimCouponQuotasRequest struct {
	Body *ReclaimCouponQuotasReq `json:"body,omitempty"`
}

Request Object

func (ReclaimCouponQuotasRequest) String

type ReclaimCouponQuotasResponse

type ReclaimCouponQuotasResponse struct {
	// |参数名称:响应信息| |参数约束以及描述:响应信息|
	ErrorDetails *[]ErrorDetail `json:"error_details,omitempty"`
	// |参数名称:响应信息| |参数约束以及描述:响应信息|
	SimpleQuotaInfos *[]QuotaReclaim `json:"simple_quota_infos,omitempty"`
	HttpStatusCode   int             `json:"-"`
}

Response Object

func (ReclaimCouponQuotasResponse) String

type ReclaimIndirectPartnerAccountReq

type ReclaimIndirectPartnerAccountReq struct {
	// |参数名称:精英服务商伙伴的ID。| |参数约束及描述:精英服务商伙伴的ID。|
	IndirectPartnerId string `json:"indirect_partner_id"`
	// |参数名称:拨款金额。单位为元。不能为负数,精确到小数点后两位。| |参数的约束及描述:拨款金额。单位为元。不能为负数,浮点数精度为:小数点后两位。|
	Amount float32 `json:"amount"`
}

func (ReclaimIndirectPartnerAccountReq) String

type ReclaimIndirectPartnerAccountRequest

type ReclaimIndirectPartnerAccountRequest struct {
	Body *ReclaimIndirectPartnerAccountReq `json:"body,omitempty"`
}

Request Object

func (ReclaimIndirectPartnerAccountRequest) String

type ReclaimIndirectPartnerAccountResponse

type ReclaimIndirectPartnerAccountResponse struct {
	// |参数名称:回收流水| |参数约束及描述:回收流水|
	TransId        *string `json:"trans_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ReclaimIndirectPartnerAccountResponse) String

type ReclaimPartnerCouponsReq

type ReclaimPartnerCouponsReq struct {
	// |参数名称:优惠券额度ID优惠券的类型跟随额度中的类型。| |参数约束及描述:优惠券额度ID优惠券的类型跟随额度中的类型。|
	CouponId string `json:"coupon_id"`
	// |参数名称:客户ID列表| |参数约束及描述:客户ID列表|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (ReclaimPartnerCouponsReq) String

func (o ReclaimPartnerCouponsReq) String() string

type ReclaimPartnerCouponsRequest

type ReclaimPartnerCouponsRequest struct {
	Body *ReclaimPartnerCouponsReq `json:"body,omitempty"`
}

Request Object

func (ReclaimPartnerCouponsRequest) String

type ReclaimPartnerCouponsResponse

type ReclaimPartnerCouponsResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ReclaimPartnerCouponsResponse) String

type ReclaimSubEnterpriseAmountRequest

type ReclaimSubEnterpriseAmountRequest struct {
	Body *RetrieveEnterpriseMultiAccountReq `json:"body,omitempty"`
}

Request Object

func (ReclaimSubEnterpriseAmountRequest) String

type ReclaimSubEnterpriseAmountResponse

type ReclaimSubEnterpriseAmountResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (ReclaimSubEnterpriseAmountResponse) String

type ReclaimToPartnerAccountBalancesReq

type ReclaimToPartnerAccountBalancesReq struct {
	// |参数名称:合作伙伴关联的客户的客户ID。| |参数约束及描述:合作伙伴关联的客户的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:回收金额。| |参数的约束及描述:单位为元不能为负数,精确到小数点后两位。|
	Amount float32 `json:"amount"`
	// |参数名称:二级经销商ID。| |参数约束及描述:一级经销商回收二级经销商子客户余额时,需携带该字段。|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

func (ReclaimToPartnerAccountBalancesReq) String

type ReclaimToPartnerAccountRequest

type ReclaimToPartnerAccountRequest struct {
	Body *ReclaimToPartnerAccountBalancesReq `json:"body,omitempty"`
}

Request Object

func (ReclaimToPartnerAccountRequest) String

type ReclaimToPartnerAccountResponse

type ReclaimToPartnerAccountResponse struct {
	// |参数名称:事务流水ID,只有成功响应才会返回。| |参数约束及描述:事务流水ID,只有成功响应才会返回。|
	TransId        *string `json:"trans_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ReclaimToPartnerAccountResponse) String

type RenewalResourcesReq

type RenewalResourcesReq struct {
	// |参数名称:资源ID列表。只支持传入主资源ID,最多100个资源ID。哪些资源是主资源请根据“2.1-查询客户包周期资源列表”接口响应参数中的“is_main_resource”来标识。| |参数约束以及描述:资源ID列表。只支持传入主资源ID,最多100个资源ID。哪些资源是主资源请根据“2.1-查询客户包周期资源列表”接口响应参数中的“is_main_resource”来标识。|
	ResourceIds []string `json:"resource_ids"`
	// |参数名称:周期类型:2:月;3:年| |参数的约束及描述:周期类型:2:月;3:年|
	PeriodType int32 `json:"period_type"`
	// |参数名称:周期数目:如果是月,目前支持1-11;如果是年,目前支持1-3| |参数的约束及描述:周期数目:如果是月,目前支持1-11;如果是年,目前支持1-3|
	PeriodNum int32 `json:"period_num"`
	// |参数名称:到期策略:0:进入宽限期1:转按需2:自动退订3:自动续订| |参数的约束及描述:到期策略:0:进入宽限期1:转按需2:自动退订3:自动续订|
	ExpirePolicy int32 `json:"expire_policy"`
	// |参数名称:是否自动支付。0:否1:是不填写的话,默认值是0,不自动支付。| |参数的约束及描述:是否自动支付。0:否1:是不填写的话,默认值是0,不自动支付。|
	IsAutoPay *int32 `json:"is_auto_pay,omitempty"`
}

func (RenewalResourcesReq) String

func (o RenewalResourcesReq) String() string

type RenewalResourcesRequest

type RenewalResourcesRequest struct {
	Body *RenewalResourcesReq `json:"body,omitempty"`
}

Request Object

func (RenewalResourcesRequest) String

func (o RenewalResourcesRequest) String() string

type RenewalResourcesResponse

type RenewalResourcesResponse struct {
	// |参数名称:续订资源生成的订单ID的列表。| |参数约束以及描述:续订资源生成的订单ID的列表。|
	OrderIds       *[]string `json:"order_ids,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (RenewalResourcesResponse) String

func (o RenewalResourcesResponse) String() string

type ResFeeRecordV2

type ResFeeRecordV2 struct {
	// |参数名称:消费记录日期:格式:YYYY-MM-DD。按照东八区截取| |参数约束及描述:消费记录日期:格式:YYYY-MM-DD。按照东八区截取|
	BillDate *string `json:"bill_date,omitempty"`
	// |参数名称:账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费16:调账-扣费| |参数的约束及描述:账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费 15消费-税金16:调账-扣费17:消费-保底差额 100:退款-退订税金 101:调账-补偿税金 102:调账-扣费税金|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:消费的客户账号ID。| |参数约束及描述:如果是查询自己,这个地方是自身的ID; 如果是查询某个企业子客户,这个地方是企业子客户ID如果是查询以及下面的所有子客户,这个地方是消费的实际客户ID; 如果是企业主自身消费,为企业主ID,如果这条消费记录是某个企业子客户的消费,这个地方的ID是企业子账号ID。|
	CustomerId *string `json:"customer_id,omitempty"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	Region *string `json:"region,omitempty"`
	// |参数名称:云服务区名称| |参数约束及描述:云服务区名称|
	RegionName *string `json:"region_name,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	CloudServiceType *string `json:"cloud_service_type,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceType *string `json:"resource_type,omitempty"`
	// |参数名称:费用对应的资源使用的开始时间,按需有效,包周期该字段保留。| |参数约束及描述:费用对应的资源使用的开始时间,按需有效,包周期该字段保留。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:费用对应的资源使用的结束时间,按需有效,包周期该字段保留。| |参数约束及描述:费用对应的资源使用的结束时间,按需有效,包周期该字段保留。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:资源ID。| |参数约束及描述:资源ID。|
	ResourceId *string `json:"resource_id,omitempty"`
	// |参数名称:资源名称。| |参数约束及描述:资源名称。|
	ResourceName *string `json:"resource_name,omitempty"`
	// |参数名称:资源标签。| |参数约束及描述:资源标签。|
	ResourceTag *string `json:"resource_tag,omitempty"`
	// |参数名称:产品ID。| |参数约束及描述:产品ID。|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:产品名称。| |参数约束及描述:产品名称。|
	ProductName *string `json:"product_name,omitempty"`
	// |参数名称:产品规格描述。| |参数约束及描述:产品规格描述,举例为:普通IO|100.0GB。|
	ProductSpecDesc *string `json:"product_spec_desc,omitempty"`
	// |参数名称:sku编码| |参数约束及描述:sku编码|
	SkuCode *string `json:"sku_code,omitempty"`
	// |参数名称:线性大小| |参数约束及描述: 线性大小|
	SpecSize float32 `json:"spec_size,omitempty"`
	// |参数名称:线性大小单位| |参数的约束及描述:线性大小单位|
	SpecSizeMeasureId *int32 `json:"spec_size_measure_id,omitempty"`
	// |参数名称:订单ID 或 交易ID,扣费维度的唯一标识| |参数约束及描述:订单ID 或 交易ID,扣费维度的唯一标识|
	TradeId *string `json:"trade_id,omitempty"`
	// |参数名称:企业项目ID。| |参数约束及描述:企业项目ID。|
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	// |参数名称:企业项目名称。| |参数约束及描述:企业项目名称。|
	EnterpriseProjectName *string `json:"enterprise_project_name,omitempty"`
	// |参数名称:1 : 包周期;3: 按需。10: 预留实例。| |参数约束及描述:1 : 包周期;3: 按需。10: 预留实例。|
	ChargeMode *string `json:"charge_mode,omitempty"`
	// |参数名称:订单ID,包周期资源使用记录才有该字段,按需资源为空。| |参数约束及描述:订单ID,包周期资源使用记录才有该字段,按需资源为空。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:周期类型:19:年;20:月;24:天;25:小时;5:分钟;6:秒。| |参数约束及描述:周期类型:19:年;20:月;24:天;25:小时;5:分钟;6:秒。|
	PeriodType *string `json:"period_type,omitempty"`
	// |参数名称:使用量类型| |参数约束及描述:使用量类型|
	UsageType *string `json:"usage_type,omitempty"`
	// |参数名称:使用量。| |参数约束及描述: 使用量。|
	Usage float32 `json:"usage,omitempty"`
	// |参数名称:使用量度量单位| |参数的约束及描述:使用量度量单位|
	UsageMeasureId *int32 `json:"usage_measure_id,omitempty"`
	// |参数名称:套餐内使用量。| |参数约束及描述: 套餐内使用量。|
	FreeResourceUsage float32 `json:"free_resource_usage,omitempty"`
	// |参数名称:套餐内使用量单位,具体枚举参考:usageMeasureId| |参数的约束及描述:套餐内使用量单位,具体枚举参考:usageMeasureId|
	FreeResourceMeasureId *int32 `json:"free_resource_measure_id,omitempty"`
	// |参数名称:预留实例使用量。| |参数约束及描述: 预留实例使用量。|
	RiUsage float32 `json:"ri_usage,omitempty"`
	// |参数名称:预留实例使用量单位。| |参数的约束及描述:预留实例使用量单位。|
	RiUsageMeasureId *int32 `json:"ri_usage_measure_id,omitempty"`
	// |参数名称:单价| |参数约束及描述:单价|
	UnitPrice float32 `json:"unit_price,omitempty"`
	// |参数名称:单价单位| |参数约束及描述:单价单位|
	Unit *string `json:"unit,omitempty"`
	// |参数名称:官网价。| |参数约束及描述: 官网价。|
	OfficialAmount float32 `json:"official_amount,omitempty"`
	// |参数名称:折扣金额| |参数约束及描述: 折扣金额|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:消费金额,包括现金券和代金券金额,精确到小数点后2位。| |参数约束及描述: 消费金额,包括现金券和代金券金额,精确到小数点后2位。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:现金支付金额| |参数约束及描述: 现金支付金额|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用额度支付金额。| |参数约束及描述: 信用额度支付金额。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:代金券支付金额。| |参数约束及描述: 代金券支付金额。|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券支付金额。| |参数约束及描述: 现金券支付金额。|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡支付金额。| |参数约束及描述: 储值卡支付金额。|
	StoredCardAmount float32 `json:"stored_card_amount,omitempty"`
	// |参数名称:奖励金支付金额(用于现网未清干净的奖励金)。| |参数约束及描述: 奖励金支付金额(用于现网未清干净的奖励金)。|
	BonusAmount float32 `json:"bonus_amount,omitempty"`
	// |参数名称:欠费金额。| |参数约束及描述: 欠费金额。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:欠费核销金额。| |参数约束及描述: 欠费核销金额。|
	AdjustmentAmount float32 `json:"adjustment_amount,omitempty"`
	// |参数名称:金额单位 1:元| |参数的约束及描述:金额单位 1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
}

func (ResFeeRecordV2) String

func (o ResFeeRecordV2) String() string

type ResourceBasicInfo

type ResourceBasicInfo struct {
	// |参数名称:资源类型编码| |参数约束及描述:资源类型编码|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:资源类型归属的服务类型编码| |参数约束及描述:资源类型归属的服务类型编码|
	ProductOwnerService *string `json:"product_owner_service,omitempty"`
	// |参数名称:资源名称,按照请求的X-Language返回对应语言的名称| |参数约束及描述:资源名称,按照请求的X-Language返回对应语言的名称|
	Name *string `json:"name,omitempty"`
	// |参数名称:资源描述,按照请求的X-Language返回对应语言的描述| |参数约束及描述:资源描述,按照请求的X-Language返回对应语言的描述|
	Description *string `json:"description,omitempty"`
}

func (ResourceBasicInfo) String

func (o ResourceBasicInfo) String() string

type ResourceType

type ResourceType struct {
	// |参数名称:资源类型编码| |参数约束及描述:资源类型编码|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:资源类型名称| |参数约束及描述:资源类型名称|
	ResourceTypeName *string `json:"resource_type_name,omitempty"`
	// |参数名称:资源类型描述| |参数约束及描述:资源类型描述|
	ResourceTypeDesc *string `json:"resource_type_desc,omitempty"`
}

func (ResourceType) String

func (o ResourceType) String() string

type RetrieveAmountInfoV2

type RetrieveAmountInfoV2 struct {
	// |参数名称:可回收的金额。| |参数的约束及描述:可回收的金额。|
	AvailRetrieveAmount float32 `json:"avail_retrieve_amount,omitempty"`
	// |参数名称:金额单位。1:元| |参数的约束及描述:金额单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。CNY:人民币USD:美金| |参数约束及描述:币种。CNY:人民币USD:美金|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:账户余额(仅balance_type=信用账户时才有这个字段)。| |参数的约束及描述:账户余额(仅balance_type=信用账户时才有这个字段)。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:信用额度(仅balance_type=信用账户时才有这个字段)。| |参数的约束及描述:信用额度(仅balance_type=信用账户时才有这个字段)。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:信用额度过期时间。UTC时间,格式为:2016-03-28T14:45:38Z。如果查询信用账户可回收余额的查询结果没有失效时间,表示永久有效。| |参数约束及描述:信用额度过期时间。UTC时间,格式为:2016-03-28T14:45:38Z。如果查询信用账户可回收余额的查询结果没有失效时间,表示永久有效。|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (RetrieveAmountInfoV2) String

func (o RetrieveAmountInfoV2) String() string

type RetrieveEnterpriseMultiAccountReq

type RetrieveEnterpriseMultiAccountReq struct {
	// |参数名称:企业子账号的客户ID。| |参数约束及描述:企业子账号的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:总回收金额。金额单位为货币标准单位,如人民币则单位为元。| |参数约束及描述:总回收金额。金额单位为货币标准单位,如人民币则单位为元。|
	Amount string `json:"amount"`
	// |参数名称:交易序列号,用于防止重复提交。如果接口调用方不传,则企业管理微服务后台生成。如果接口调用方传入,则请采用UUID保证全局唯一。| |参数约束及描述:交易序列号,用于防止重复提交。如果接口调用方不传,则企业管理微服务后台生成。如果接口调用方传入,则请采用UUID保证全局唯一。|
	TransId *string `json:"trans_id,omitempty"`
	// |参数名称:账户类型:BALANCE_TYPE_DEBIT:余额账户(默认);BALANCE_TYPE_CREDIT:信用账户。| |参数约束及描述:账户类型:BALANCE_TYPE_DEBIT:余额账户(默认);BALANCE_TYPE_CREDIT:信用账户。|
	BalanceType *string `json:"balance_type,omitempty"`
	// |参数名称:账户到期时间,UTC时间,格式为:2016-03-28T14:45:38Z。暂只对信用账户有效,用于限制针对有效期到期时间等于该时间的信用账户余额进行回收。如果查询信用账户可回收余额的查询结果没有失效时间,表示永久有效,对于这种账本的回收的时候不用填写| |参数约束及描述:账户到期时间,UTC时间,格式为:2016-03-28T14:45:38Z。暂只对信用账户有效,用于限制针对有效期到期时间等于该时间的信用账户余额进行回收。如果查询信用账户可回收余额的查询结果没有失效时间,表示永久有效,对于这种账本的回收的时候不用填写|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (RetrieveEnterpriseMultiAccountReq) String

type SendSmVerificationCodeReq

type SendSmVerificationCodeReq struct {
	// |参数名称:手机号| |参数约束及描述:手机号|
	MobilePhone string `json:"mobile_phone"`
	// |参数名称:超时时间,单位是分钟| |参数的约束及描述:超时时间,单位是分钟,短信传递10,邮箱传递60|
	Timeout *int32 `json:"timeout,omitempty"`
	// |参数名称:发送的短信的语言zh-cn: 中文en-us: 英语| |参数约束及描述:发送的短信的语言zh-cn: 中文en-us: 英语|
	Language *string `json:"language,omitempty"`
	// |参数名称:短信模板参数| |参数约束以及描述:短信模板参数|
	SmTemplateArgs *[]TemplateArgs `json:"sm_template_args,omitempty"`
}

func (SendSmVerificationCodeReq) String

func (o SendSmVerificationCodeReq) String() string

type SendSmsVerificationCodeRequest

type SendSmsVerificationCodeRequest struct {
	Body *SendSmVerificationCodeReq `json:"body,omitempty"`
}

Request Object

func (SendSmsVerificationCodeRequest) String

type SendSmsVerificationCodeResponse

type SendSmsVerificationCodeResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (SendSmsVerificationCodeResponse) String

type SendVerificationCodeV2Req

type SendVerificationCodeV2Req struct {
	// |参数名称:发送类型:1:发送短信验证码。2:发送邮件验证码。| |参数的约束及描述:发送类型:1:发送短信验证码。2:发送邮件验证码。|
	ReceiverType int32 `json:"receiver_type"`
	// |参数名称:验证码超时时间。如果不填的话,采用系统默认超时时间5分钟。单位:分钟| |参数的约束及描述:验证码超时时间。如果不填的话,采用系统默认超时时间5分钟。单位:分钟|
	Timeout *int32 `json:"timeout,omitempty"`
	// |参数名称:手机号。目前系统只支持中国手机,必须全部是数字。示例:13XXXXXXXXX| |参数约束及描述:手机号。目前系统只支持中国手机,必须全部是数字。示例:13XXXXXXXXX|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:根据语言如果查询不到对应模板信息,就取系统默认语言对应的模板信息。zh-cn:中文;en-us:英文。| |参数约束及描述:根据语言如果查询不到对应模板信息,就取系统默认语言对应的模板信息。zh-cn:中文;en-us:英文。|
	Lang *string `json:"lang,omitempty"`
	// |参数名称:场景| |参数的约束及描述:该参数非必填,29:注册;18:实名认证个人银行卡认证;不填写默认为29|
	Scene *int32 `json:"scene,omitempty"`
	// |参数名称:客户ID,如果scene=18的时候必填。| |参数约束及描述:客户ID,如果scene=18的时候必填。|
	CustomerId *string `json:"customer_id,omitempty"`
}

func (SendVerificationCodeV2Req) String

func (o SendVerificationCodeV2Req) String() string

type SendVerificationMessageCodeRequest

type SendVerificationMessageCodeRequest struct {
	Body *SendVerificationCodeV2Req `json:"body,omitempty"`
}

Request Object

func (SendVerificationMessageCodeRequest) String

type SendVerificationMessageCodeResponse

type SendVerificationMessageCodeResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (SendVerificationMessageCodeResponse) String

type ServiceResourceInfo

type ServiceResourceInfo struct {
	BasicInfo *ResourceBasicInfo `json:"basic_info,omitempty"`
}

func (ServiceResourceInfo) String

func (o ServiceResourceInfo) String() string

type ServiceType

type ServiceType struct {
	// |参数名称:云服务类型名称| |参数约束及描述:云服务类型名称|
	ServiceTypeName *string `json:"service_type_name,omitempty"`
	// |参数名称:云服务类型编码| |参数约束及描述:云服务类型编码|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
	// |参数名称:云服务缩写| |参数约束及描述:云服务缩写|
	Abbreviation *string `json:"abbreviation,omitempty"`
}

func (ServiceType) String

func (o ServiceType) String() string

type SetPartnerDiscountsReq

type SetPartnerDiscountsReq struct {
	// |参数名称:二级经销商ID| |参数约束及描述:一级经销商给二级经销商的子客户设置折扣时需要携带这个字段。|
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
	// |参数名称:客户折扣信息列表,最大支持10个。| |参数约束以及描述:客户折扣信息列表,最大支持10个。|
	SubCustomerDiscounts []SetSubCustomerDiscountV2 `json:"sub_customer_discounts"`
}

func (SetPartnerDiscountsReq) String

func (o SetPartnerDiscountsReq) String() string

type SetSubCustomerDiscountV2

type SetSubCustomerDiscountV2 struct {
	// |参数名称:客户ID| |参数约束及描述:客户ID|
	CustomerId string `json:"customer_id"`
	// |参数名称:折扣率,最高精确到4位小数。折扣范围:0.8~1。如果折扣率是85%,则折扣率写成0.85。注意:折扣为1表示不打折,相当于删除伙伴折扣。| |参数的约束及描述:折扣率,最高精确到4位小数。折扣范围:0.8~1。如果折扣率是85%,则折扣率写成0.85。注意:折扣为1表示不打折,相当于删除伙伴折扣。|
	Discount float32 `json:"discount"`
	// |参数名称:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:生效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ| |参数约束及描述:失效时间。UTC时间,格式:yyyy-MM-ddTHH:mm:ssZ|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (SetSubCustomerDiscountV2) String

func (o SetSubCustomerDiscountV2) String() string

type ShowCustomerAccountBalancesRequest

type ShowCustomerAccountBalancesRequest struct {
}

Request Object

func (ShowCustomerAccountBalancesRequest) String

type ShowCustomerAccountBalancesResponse

type ShowCustomerAccountBalancesResponse struct {
	// |参数名称:账户余额列表。具体请参见表 AccountBalanceV3| |参数约束以及描述:账户余额列表。具体请参见表 AccountBalanceV3|
	AccountBalances *[]AccountBalanceV3 `json:"account_balances,omitempty"`
	// |参数名称:欠款总金额。| |参数的约束及描述:欠款总金额。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:度量单位:1:元2:角3:分| |参数的约束及描述:度量单位:1:元2:角3:分|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。CNY:人民币。USD:美元。| |参数约束及描述:币种。CNY:人民币。USD:美元。|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCustomerAccountBalancesResponse) String

type ShowCustomerMonthlySumRequest

type ShowCustomerMonthlySumRequest struct {
	BillCycle           string  `json:"bill_cycle"`
	ServiceTypeCode     *string `json:"service_type_code,omitempty"`
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
	Offset              *int32  `json:"offset,omitempty"`
	Limit               *int32  `json:"limit,omitempty"`
	Method              *string `json:"method,omitempty"`
	SubCustomerId       *string `json:"sub_customer_id,omitempty"`
}

Request Object

func (ShowCustomerMonthlySumRequest) String

type ShowCustomerMonthlySumResponse

type ShowCustomerMonthlySumResponse struct {
	// |参数名称:总条数,必须大于等于0。| |参数的约束及描述:总条数,必须大于等于0。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:账单记录,具体参考表 BillSumRecordInfo。| |参数约束以及描述:账单记录,具体参考表 BillSumRecordInfo。|
	BillSums *[]BillSumRecordInfoV2 `json:"bill_sums,omitempty"`
	// |参数名称:总金额(包含退订)。| |参数的约束及描述:总金额(包含退订)。|
	ConsumeAmount float32 `json:"consume_amount,omitempty"`
	// |参数名称:总欠费金额。| |参数的约束及描述:总欠费金额。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:代金券金额。| |参数的约束及描述:代金券金额。|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券金额,预留。| |参数的约束及描述:现金券金额,预留。|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡金额,预留。| |参数的约束及描述:储值卡金额,预留。|
	StoredValueCardAmount float32 `json:"stored_value_card_amount,omitempty"`
	// |参数名称:现金账户金额。| |参数的约束及描述:现金账户金额。|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用账户金额。| |参数的约束及描述:信用账户金额。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:欠费核销金额| |参数的约束及描述:欠费核销金额|
	WriteoffAmount float32 `json:"writeoff_amount,omitempty"`
	// |参数名称:金额单位。1:元| |参数的约束及描述:金额单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。CNY:人民币。USD:美元。| |参数约束及描述:币种。CNY:人民币。USD:美元。|
	Currency       *string `json:"currency,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowCustomerMonthlySumResponse) String

type ShowCustomerOrderDetailsRequest

type ShowCustomerOrderDetailsRequest struct {
	OrderId           string  `json:"order_id"`
	Limit             *int32  `json:"limit,omitempty"`
	Offset            *int32  `json:"offset,omitempty"`
	IndirectPartnerId *string `json:"indirect_partner_id,omitempty"`
}

Request Object

func (ShowCustomerOrderDetailsRequest) String

type ShowCustomerOrderDetailsResponse

type ShowCustomerOrderDetailsResponse struct {
	// |参数名称:符合条件的记录总数。| |参数的约束及描述:符合条件的记录总数。|
	TotalCount *int32           `json:"total_count,omitempty"`
	OrderInfo  *CustomerOrderV2 `json:"order_info,omitempty"`
	// |参数名称:订单对应的订单项。具体请参见表 OrderLineItemEntity。| |参数约束及描述: 订单对应的订单项。具体请参见表 OrderLineItemEntity。|
	OrderLineItems *[]OrderLineItemEntityV2 `json:"order_line_items,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ShowCustomerOrderDetailsResponse) String

type ShowMultiAccountTransferAmountRequest

type ShowMultiAccountTransferAmountRequest struct {
	BalanceType string `json:"balance_type"`
	Offset      *int32 `json:"offset,omitempty"`
	Limit       *int32 `json:"limit,omitempty"`
}

Request Object

func (ShowMultiAccountTransferAmountRequest) String

type ShowMultiAccountTransferAmountResponse

type ShowMultiAccountTransferAmountResponse struct {
	// |参数名称:记录条数。| |参数的约束及描述:记录条数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:可拨款余额信息,如果是余额账户,只会有一条记录。具体请参见表 TransferAmountInfoV2。| |参数约束以及描述:可拨款余额信息,如果是余额账户,只会有一条记录。具体请参见表 TransferAmountInfoV2。|
	AmountInfos    *[]TransferAmountInfoV2 `json:"amount_infos,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

Response Object

func (ShowMultiAccountTransferAmountResponse) String

type ShowRealnameAuthenticationReviewResultRequest

type ShowRealnameAuthenticationReviewResultRequest struct {
	CustomerId string `json:"customer_id"`
}

Request Object

func (ShowRealnameAuthenticationReviewResultRequest) String

type ShowRealnameAuthenticationReviewResultResponse

type ShowRealnameAuthenticationReviewResultResponse struct {
	// |参数名称:实名认证审核结果,只有状态码为200并且已经提交过实名认证请求才返回:0:审核中1:不通过2:通过| |参数的约束及描述:实名认证审核结果,只有状态码为200并且已经提交过实名认证请求才返回:0:审核中1:不通过2:通过|
	ReviewResult *int32 `json:"review_result,omitempty"`
	// |参数名称:审批意见,只有状态码为200并且审核不通过才返回。| |参数约束及描述:审批意见,只有状态码为200并且审核不通过才返回。|
	Opinion        *string `json:"opinion,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowRealnameAuthenticationReviewResultResponse) String

type ShowRefundOrderDetailsRequest

type ShowRefundOrderDetailsRequest struct {
	OrderId string `json:"order_id"`
}

Request Object

func (ShowRefundOrderDetailsRequest) String

type ShowRefundOrderDetailsResponse

type ShowRefundOrderDetailsResponse struct {
	// |参数名称:总记录数。| |参数的约束及描述:总记录数。|
	TotalCount *int32 `json:"total_count,omitempty"`
	// |参数名称:资源信息列表。具体请参见表2 OrderRefundInfoV2。| |参数约束以及描述:资源信息列表。具体请参见表2 OrderRefundInfoV2。|
	RefundInfos    *[]OrderRefundInfoV2 `json:"refund_infos,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ShowRefundOrderDetailsResponse) String

type SkuInventory

type SkuInventory struct {
	// |参数名称:产品ID| |参数约束及描述:产品ID|
	ProductId string `json:"product_id"`
	// |参数名称:SKU编码| |参数约束及描述:SKU编码|
	SkuCode string `json:"sku_code"`
	// |参数名称:可售库存数| |参数的约束及描述:可售库存数|
	SaleableQuantity int32 `json:"saleable_quantity"`
}

func (SkuInventory) String

func (o SkuInventory) String() string

type SkuItem

type SkuItem struct {
	// |参数名称:产品ID| |参数约束及描述:产品ID|
	ProductId string `json:"product_id"`
}

func (SkuItem) String

func (o SkuItem) String() string

type SubCustomerInfoV2

type SubCustomerInfoV2 struct {
	// |参数名称:企业子账号的客户ID。| |参数约束及描述:企业子账号的客户ID。|
	Id *string `json:"id,omitempty"`
	// |参数名称:企业子账号的用户名。| |参数约束及描述:企业子账号的用户名。|
	Name *string `json:"name,omitempty"`
	// |参数名称:企业子账号的显示名称。不限制特殊字符。| |参数约束及描述:企业子账号的显示名称。不限制特殊字符。|
	DisplayName *string `json:"display_name,omitempty"`
	// |参数名称:子账号状态:1:正常;2:创建中;3:关闭中;4:已关闭;101:子账号注册中;102:子账号待激活。| |参数的约束及描述:子账号状态:1:正常;2:创建中;3:关闭中;4:已关闭;101:子账号注册中;102:子账号待激活。|
	Status *int32 `json:"status,omitempty"`
	// |参数名称:子账号归属的组织单元ID| |参数约束及描述:子账号归属的组织单元ID|
	OrgId *string `json:"org_id,omitempty"`
	// |参数名称:子账号归属的组织单元名称注:当子账号归属的组织是企业组织根节点时,本属性可能为空。| |参数约束及描述:子账号归属的组织单元名称注:当子账号归属的组织是企业组织根节点时,本属性可能为空。|
	OrgName *string `json:"org_name,omitempty"`
}

func (SubCustomerInfoV2) String

func (o SubCustomerInfoV2) String() string

type SubCustomerResFeeRecordV2

type SubCustomerResFeeRecordV2 struct {
	// |参数名称:费用对应的资源使用的开始时间,按需有效,包周期该字段保留。| |参数约束及描述:费用对应的资源使用的开始时间,按需有效,包周期该字段保留。|
	EffectiveTime *string `json:"effective_time,omitempty"`
	// |参数名称:费用对应的资源使用的结束时间,按需有效,包周期该字段保留。| |参数约束及描述:费用对应的资源使用的结束时间,按需有效,包周期该字段保留。|
	ExpireTime *string `json:"expire_time,omitempty"`
	// |参数名称:产品ID。| |参数约束及描述:产品ID。|
	ProductId *string `json:"product_id,omitempty"`
	// |参数名称:产品名称。| |参数约束及描述:产品名称。|
	ProductName *string `json:"product_name,omitempty"`
	// |参数名称:订单ID,包周期资源使用记录才有该字段,按需资源为空。| |参数约束及描述:订单ID,包周期资源使用记录才有该字段,按需资源为空。|
	OrderId *string `json:"order_id,omitempty"`
	// |参数名称:消费金额,包括现金券和代金券金额,精确到小数点后2位。| |参数约束及描述: 消费金额,包括现金券和代金券金额,精确到小数点后2位。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:金额单位:1:元;2:角;3:分。| |参数的约束及描述:金额单位:1:元;2:角;3:分。|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:使用量类型| |参数约束及描述:使用量类型|
	UsageType *string `json:"usage_type,omitempty"`
	// |参数名称:使用量。| |参数约束及描述: 使用量。|
	Usage float32 `json:"usage,omitempty"`
	// |参数名称:使用量度量单位| |参数的约束及描述:使用量度量单位|
	UsageMeasureId *int32 `json:"usage_measure_id,omitempty"`
	// |参数名称:套餐内使用量。| |参数约束及描述: 套餐内使用量。|
	FreeResourceUsage float32 `json:"free_resource_usage,omitempty"`
	// |参数名称:套餐内使用量单位,具体枚举参考:usage_measure_id| |参数的约束及描述:套餐内使用量单位,具体枚举参考:usage_measure_id|
	FreeResourceMeasureId *int32 `json:"free_resource_measure_id,omitempty"`
	// |参数名称:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。| |参数约束及描述:云服务类型编码,例如ECS的云服务类型编码为“hws.service.type.ec2”。具体请参见云服务类型云服务类型云服务类型云服务类型。|
	CloudServiceType *string `json:"cloud_service_type,omitempty"`
	// |参数名称:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。| |参数约束及描述:云服务区编码,例如:“cn-north-1”。具体请参见地区和终端节点地区和终端节点对应云服务的“区域”列的值。|
	Region *string `json:"region,omitempty"`
	// |参数名称:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。| |参数约束及描述:资源类型编码,例如ECS的VM为“hws.resource.type.vm”。具体请参见资源类型资源类型资源类型资源类型。|
	ResourceType *string `json:"resource_type,omitempty"`
	// |参数名称:1 : 包周期;3: 按需。10: 预留实例。| |参数约束及描述:1 : 包周期;3: 按需。10: 预留实例。|
	ChargeMode *string `json:"charge_mode,omitempty"`
	// |参数名称:资源标签。| |参数约束及描述:资源标签。|
	ResourceTag *string `json:"resource_tag,omitempty"`
	// |参数名称:资源名称。| |参数约束及描述:资源名称。|
	ResourceName *string `json:"resource_name,omitempty"`
	// |参数名称:资源ID。| |参数约束及描述:资源ID。|
	ResourceId *string `json:"resource_id,omitempty"`
	// |参数名称:账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费16:调账-扣费| |参数的约束及描述:账单类型。1:消费-新购2:消费-续订3:消费-变更4:退款-退订5:消费-使用8:消费-自动续订9:调账-补偿12:消费-按时计费13:消费-退订手续费14:消费-服务支持计划月末扣费16:调账-扣费|
	BillType *int32 `json:"bill_type,omitempty"`
	// |参数名称:周期类型:19:年;20:月;24:天;25:小时;5:分钟;6:秒。| |参数约束及描述:周期类型:19:年;20:月;24:天;25:小时;5:分钟;6:秒。|
	PeriodType *string `json:"period_type,omitempty"`
	// |参数名称:产品规格描述。| |参数约束及描述:产品规格描述,举例为:普通IO|100.0GB。|
	ProductSpecDesc *string `json:"product_spec_desc,omitempty"`
	// |参数名称:预留实例使用量。| |参数约束及描述: 预留实例使用量。|
	RiUsage float32 `json:"ri_usage,omitempty"`
	// |参数名称:预留实例使用量单位。| |参数的约束及描述:预留实例使用量单位。|
	RiUsageMeasureId *int32 `json:"ri_usage_measure_id,omitempty"`
	// |参数名称:官网价。| |参数约束及描述: 官网价。|
	OfficialAmount float32 `json:"official_amount,omitempty"`
	// |参数名称:折扣金额| |参数约束及描述: 折扣金额|
	DiscountAmount float32 `json:"discount_amount,omitempty"`
	// |参数名称:现金支付金额| |参数约束及描述: 现金支付金额|
	CashAmount float32 `json:"cash_amount,omitempty"`
	// |参数名称:信用额度支付金额。| |参数约束及描述: 信用额度支付金额。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:代金券支付金额。| |参数约束及描述: 代金券支付金额。|
	CouponAmount float32 `json:"coupon_amount,omitempty"`
	// |参数名称:现金券支付金额。| |参数约束及描述: 现金券支付金额。|
	FlexipurchaseCouponAmount float32 `json:"flexipurchase_coupon_amount,omitempty"`
	// |参数名称:储值卡支付金额。| |参数约束及描述: 储值卡支付金额。|
	StoredCardAmount float32 `json:"stored_card_amount,omitempty"`
	// |参数名称:奖励金支付金额(用于现网未清干净的奖励金)。| |参数约束及描述: 奖励金支付金额(用于现网未清干净的奖励金)。|
	BonusAmount float32 `json:"bonus_amount,omitempty"`
	// |参数名称:欠费金额。| |参数约束及描述: 欠费金额。|
	DebtAmount float32 `json:"debt_amount,omitempty"`
	// |参数名称:欠费核销金额。| |参数约束及描述: 欠费核销金额。|
	AdjustmentAmount float32 `json:"adjustment_amount,omitempty"`
	// |参数名称:线性大小| |参数约束及描述: 线性大小|
	SpecSize float32 `json:"spec_size,omitempty"`
	// |参数名称:线性大小单位| |参数的约束及描述:线性大小单位|
	SpecSizeMeasureId *int32 `json:"spec_size_measure_id,omitempty"`
	// |参数名称:云服务区名称| |参数的约束及描述:云服务区名称|
	RegionName *string `json:"region_name,omitempty"`
}

func (SubCustomerResFeeRecordV2) String

func (o SubCustomerResFeeRecordV2) String() string

type TemplateArgs

type TemplateArgs struct {
	// |参数名称:模板参数名目前仅仅支持sub_customer_name:表明企业主创建企业子的名字| |参数约束及描述:模板参数名目前仅仅支持sub_customer_name:表明企业主创建企业子的名字|
	Key string `json:"key"`
	// |参数名称:模板参数值key对应的取值| |参数约束及描述:模板参数值key对应的取值|
	Value string `json:"value"`
}

func (TemplateArgs) String

func (o TemplateArgs) String() string

type TransferAmountInfoV2

type TransferAmountInfoV2 struct {
	// |参数名称:可拨款的金额。| |参数的约束及描述:可拨款的金额。|
	AvailTransferAmount float32 `json:"avail_transfer_amount,omitempty"`
	// |参数名称:金额单位。1:元| |参数的约束及描述:金额单位。1:元|
	MeasureId *int32 `json:"measure_id,omitempty"`
	// |参数名称:币种。CNY:人民币USD:美金| |参数约束及描述:币种。CNY:人民币USD:美金|
	Currency *string `json:"currency,omitempty"`
	// |参数名称:账户余额(仅balance_type=信用账户时才有这个字段)。| |参数的约束及描述:账户余额(仅balance_type=信用账户时才有这个字段)。|
	Amount float32 `json:"amount,omitempty"`
	// |参数名称:信用额度(仅balance_type=信用账户时才有这个字段)。| |参数的约束及描述:信用额度(仅balance_type=信用账户时才有这个字段)。|
	CreditAmount float32 `json:"credit_amount,omitempty"`
	// |参数名称:信用额度过期时间。UTC时间,格式为:2016-03-28T14:45:38Z。(仅balance_type=信用账户时才有这个字段)。如果查询信用账户可拨款余额的查询结果没有失效时间,表示永久有效。| |参数约束及描述:信用额度过期时间。UTC时间,格式为:2016-03-28T14:45:38Z。(仅balance_type=信用账户时才有这个字段)。如果查询信用账户可拨款余额的查询结果没有失效时间,表示永久有效。|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (TransferAmountInfoV2) String

func (o TransferAmountInfoV2) String() string

type TransferEnterpriseMultiAccountReq

type TransferEnterpriseMultiAccountReq struct {
	// |参数名称:企业子账号的客户ID。| |参数约束及描述:企业子账号的客户ID。|
	CustomerId string `json:"customer_id"`
	// |参数名称:现金账户总划拨金额。金额单位为货币标准单位,如人民币则单位为元。| |参数约束及描述:现金账户总划拨金额。金额单位为货币标准单位,如人民币则单位为元。|
	Amount string `json:"amount"`
	// |参数名称:交易序列号,用于防止重复提交。如果接口调用方不传此参数的值,则系统自动生成。如果接口调用方传入此参数的值,请采用UUID保证全局唯一。| |参数约束及描述:交易序列号,用于防止重复提交。如果接口调用方不传此参数的值,则系统自动生成。如果接口调用方传入此参数的值,请采用UUID保证全局唯一。|
	TransId *string `json:"trans_id,omitempty"`
	// |参数名称:账户类型:BALANCE_TYPE_DEBIT:余额账户(默认);BALANCE_TYPE_CREDIT:信用账户。| |参数约束及描述:账户类型:BALANCE_TYPE_DEBIT:余额账户(默认);BALANCE_TYPE_CREDIT:信用账户。|
	BalanceType *string `json:"balance_type,omitempty"`
	// |参数名称:账户到期时间,UTC时间,格式为:2016-03-28T14:45:38Z。暂只对信用账户有效,用于限制针对有效期到期时间等于该时间的信用账户余额进行拨款,精确到秒。如果查询信用账户可拨款余额的查询结果没有失效时间,表示永久有效,对于这种账本拨款的时候不用填写。| |参数约束及描述:账户到期时间,UTC时间,格式为:2016-03-28T14:45:38Z。暂只对信用账户有效,用于限制针对有效期到期时间等于该时间的信用账户余额进行拨款,精确到秒。如果查询信用账户可拨款余额的查询结果没有失效时间,表示永久有效,对于这种账本拨款的时候不用填写。|
	ExpireTime *string `json:"expire_time,omitempty"`
}

func (TransferEnterpriseMultiAccountReq) String

type UnsubscribeResourcesReq

type UnsubscribeResourcesReq struct {
	// |参数名称:资源ID列表。最大支持1次性输入10个资源ID,只能输入主资源ID。哪些资源是主资源请根据“2.1-查询客户包周期资源列表”接口响应参数中的“is_main_resource”来标识。| |参数约束以及描述:资源ID列表。最大支持1次性输入10个资源ID,只能输入主资源ID。哪些资源是主资源请根据“2.1-查询客户包周期资源列表”接口响应参数中的“is_main_resource”来标识。|
	ResourceIds []string `json:"resource_ids"`
	// |参数名称:退订类型,取值如下:1:退订资源及其已续费周期。2:只退订资源已续费周期,不退订资源。| |参数的约束及描述:退订类型,取值如下:1:退订资源及其已续费周期。2:只退订资源已续费周期,不退订资源。|
	UnsubscribeType int32 `json:"unsubscribe_type"`
	// |参数名称:退订理由分类,取值如下:1:产品不好用2:产品功能无法满足需求3:不会操作/操作过于复杂4:对服务不满意5:其他| |参数的约束及描述:退订理由分类,取值如下:1:产品不好用2:产品功能无法满足需求3:不会操作/操作过于复杂4:对服务不满意5:其他|
	UnsubscribeReasonType *int32 `json:"unsubscribe_reason_type,omitempty"`
	// |参数名称:退订原因,一般由客户输入。| |参数约束及描述:退订原因,一般由客户输入。|
	UnsubscribeReason *string `json:"unsubscribe_reason,omitempty"`
}

func (UnsubscribeResourcesReq) String

func (o UnsubscribeResourcesReq) String() string

type UpdateCouponQuotasRequest

type UpdateCouponQuotasRequest struct {
	Body *AdjustCouponQuotasReq `json:"body,omitempty"`
}

Request Object

func (UpdateCouponQuotasRequest) String

func (o UpdateCouponQuotasRequest) String() string

type UpdateCouponQuotasResponse

type UpdateCouponQuotasResponse struct {
	// |参数名称:错误的客户列表和错误信息| |参数约束以及描述:错误的客户列表和错误信息|
	ErrorDetails *[]ErrorDetail `json:"error_details,omitempty"`
	// |参数名称:成功的客户ID和对应的券ID列表| |参数约束以及描述:成功的客户ID和对应的券ID列表|
	SimpleQuotaInfos *[]QuotaSimpleInfo `json:"simple_quota_infos,omitempty"`
	HttpStatusCode   int                `json:"-"`
}

Response Object

func (UpdateCouponQuotasResponse) String

type UpdateCustomerAccountAmountRequest

type UpdateCustomerAccountAmountRequest struct {
	Body *AdjustAccountReq `json:"body,omitempty"`
}

Request Object

func (UpdateCustomerAccountAmountRequest) String

type UpdateCustomerAccountAmountResponse

type UpdateCustomerAccountAmountResponse struct {
	// |参数名称:总额,即最终优惠后的金额,| |参数约束及描述:总额,即最终优惠后的金额,|
	TransferId     *string `json:"transfer_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateCustomerAccountAmountResponse) String

type UpdateIndirectPartnerAccountRequest

type UpdateIndirectPartnerAccountRequest struct {
	Body *AdjustToIndirectPartnerReq `json:"body,omitempty"`
}

Request Object

func (UpdateIndirectPartnerAccountRequest) String

type UpdateIndirectPartnerAccountResponse

type UpdateIndirectPartnerAccountResponse struct {
	// |参数名称:事务流水ID,只有成功响应才会返回。| |参数约束及描述:非必填|
	TransferId     *string `json:"transfer_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateIndirectPartnerAccountResponse) String

type UpdatePeriodToOnDemandRequest

type UpdatePeriodToOnDemandRequest struct {
	Body *PeriodToOnDemandReq `json:"body,omitempty"`
}

Request Object

func (UpdatePeriodToOnDemandRequest) String

type UpdatePeriodToOnDemandResponse

type UpdatePeriodToOnDemandResponse struct {
	// |参数名称:返回数据| |参数约束以及描述:返回数据 HTTP 200的时候返回该字段,部分成功部分失败的时候返回的失败记录,如果全成功,该记录为空|
	ErrorDetails   *[]ErrorDetail `json:"error_details,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (UpdatePeriodToOnDemandResponse) String

type UpdatePostalReq

type UpdatePostalReq struct {
	// |参数名称:地址ID,地址的唯一索引| |参数约束及描述:地址ID,地址的唯一索引|
	AddressId string `json:"address_id"`
	// |参数名称:收件人姓名| |参数约束及描述:收件人姓名|
	Recipient *string `json:"recipient,omitempty"`
	// |参数名称:省/自治区/直辖市。例如:江苏,不要写成:江苏省| |参数约束及描述:省/自治区/直辖市。例如:江苏,不要写成:江苏省|
	Province *string `json:"province,omitempty"`
	// |参数名称:市/区。例如:南京。| |参数约束及描述:市/区。例如:南京。|
	City *string `json:"city,omitempty"`
	// |参数名称:区。例如:雨花。| |参数约束及描述:区。例如:雨花。|
	District *string `json:"district,omitempty"`
	// |参数名称:邮寄详细地址。| |参数约束及描述:邮寄详细地址。|
	Address *string `json:"address,omitempty"`
	// |参数名称:邮编| |参数约束及描述:邮编|
	Zipcode *string `json:"zipcode,omitempty"`
	// |参数名称:手机号码,不带国家码| |参数约束及描述:手机号码,不带国家码|
	MobilePhone *string `json:"mobile_phone,omitempty"`
	// |参数名称:是否默认地址| |参数约束及描述:是否默认地址,默认为0。1:默认地址0:非默认地址|
	IsDefault *int32 `json:"is_default,omitempty"`
}

func (UpdatePostalReq) String

func (o UpdatePostalReq) String() string

type UpdatePostalRequest

type UpdatePostalRequest struct {
	XLanguage *string          `json:"X-Language,omitempty"`
	Body      *UpdatePostalReq `json:"body,omitempty"`
}

Request Object

func (UpdatePostalRequest) String

func (o UpdatePostalRequest) String() string

type UpdatePostalResponse

type UpdatePostalResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdatePostalResponse) String

func (o UpdatePostalResponse) String() string

type UpdateSubEnterpriseAmountRequest

type UpdateSubEnterpriseAmountRequest struct {
	Body *TransferEnterpriseMultiAccountReq `json:"body,omitempty"`
}

Request Object

func (UpdateSubEnterpriseAmountRequest) String

type UpdateSubEnterpriseAmountResponse

type UpdateSubEnterpriseAmountResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateSubEnterpriseAmountResponse) String

type UsageType

type UsageType struct {
	// |参数名称:用量类型编码如:duration| |参数约束及描述:用量类型编码如:duration|
	Code *string `json:"code,omitempty"`
	// |参数名称:用量类型名称| |参数约束及描述:用量类型名称|
	Name *string `json:"name,omitempty"`
	// |参数名称:资源类型编码| |参数约束及描述:资源类型编码|
	ResourceTypeCode *string `json:"resource_type_code,omitempty"`
	// |参数名称:服务类型编码| |参数约束及描述:服务类型编码|
	ServiceTypeCode *string `json:"service_type_code,omitempty"`
}

func (UsageType) String

func (o UsageType) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL