models

package
v1.68.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 0 Imported by: 12 modules, 11 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountingRule added in v1.56.0

type AccountingRule struct {

	/* 站点  */
	Site int `json:"site"`

	/* 产品线 (Optional) */
	AppCode string `json:"appCode"`

	/* 出账对象类型 1:通用 2:用户  */
	TargetType int `json:"targetType"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 出账类型  1:实时出账 2:定期出账  */
	OutAccountType int `json:"outAccountType"`

	/* 出账周期:限制范围 1-28 (Optional) */
	OutAccountDay int `json:"outAccountDay"`

	/* 定期出账 时间表达式 (Optional) */
	TimeCron string `json:"timeCron"`
}

type AccountingRuleUpdate added in v1.56.0

type AccountingRuleUpdate struct {

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 出账类型  1:实时出账    2:定期出账 (Optional) */
	OutAccountType int `json:"outAccountType"`

	/* 出账周期:限制范围 1-28 (Optional) */
	OutAccountDay int `json:"outAccountDay"`

	/* 定期出账  时间表达式 (Optional) */
	TimeCron string `json:"timeCron"`

	/* 产品线 (Optional) */
	AppCode string `json:"appCode"`

	/* 出账对象类型 1:通用 2:用户 (Optional) */
	TargetType int `json:"targetType"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`
}

type AccountingRuleVo added in v1.56.0

type AccountingRuleVo struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* 产品线 (Optional) */
	AppCode string `json:"appCode"`

	/* 出账对象类型    1:通用   2:用户 (Optional) */
	TargetType int `json:"targetType"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 出账类型  1:实时出账    2:定期出账 (Optional) */
	OutAccountType int `json:"outAccountType"`

	/* 出账周期:限制范围 1-28 (Optional) */
	OutAccountDay int `json:"outAccountDay"`

	/* 定期出账  时间表达式 (Optional) */
	TimeCron string `json:"timeCron"`

	/* 出账对象类型名称 (Optional) */
	TargetTypeName string `json:"targetTypeName"`

	/* 产品线名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 出账类型名称 (Optional) */
	OutAccountTypeName string `json:"outAccountTypeName"`
}

type AddOrRemoveRecycleBinReq added in v1.59.0

type AddOrRemoveRecycleBinReq struct {

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 操作(ADD 加入回收站 ; REMOVE 移出回收站)  */
	Action string `json:"action"`

	/* 操作说明 (Optional) */
	Comment string `json:"comment"`
}

type ArrearInfoVo added in v1.13.0

type ArrearInfoVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 首次欠费时间 (Optional) */
	FirstArrearDate string `json:"firstArrearDate"`

	/* 欠费天数 (Optional) */
	ArrearDays int `json:"arrearDays"`
}

type BatchUpdateBillingStatusReq added in v1.56.0

type BatchUpdateBillingStatusReq struct {

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 主资源ID (Optional) */
	MainResourceId string `json:"mainResourceId"`

	/* 资源ID列表  */
	ResourceIds []string `json:"resourceIds"`

	/* 操作(STOP 停止计费 ; RESTART 恢复计费)  */
	Action string `json:"action"`

	/* 操作说明 (Optional) */
	Comment string `json:"comment"`
}

type Bill added in v1.59.0

type Bill struct {

	/* 数据来源:10、物联网 11、视频云 12、CDN 13、PCDN 14、IDC 15、通信云 (Optional) */
	DataSource int `json:"dataSource"`

	/* 账单唯一ID (Optional) */
	SourceId string `json:"sourceId"`

	/* 全局唯一ID (Optional) */
	GlobalId string `json:"globalId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型: 1、按配置 2、按用量 3、包年包月 4、按次(一次性) (Optional) */
	BillingType int `json:"billingType"`

	/* 账单原价,6位精度 (Optional) */
	BillFee int `json:"billFee"`

	/* 应付金额,2位精度 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 出账时间 (Optional) */
	BillTime string `json:"billTime"`

	/* 币种 CNY 人民币, USD 美元, HKD 港元, IDR 印尼卢比 (Optional) */
	Currency string `json:"currency"`

	/* 支付状态 0、未支付 1、己支付 (Optional) */
	PayState int `json:"payState"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* 折扣金额,6位精度 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 抹零金额,6位精度 (Optional) */
	EraseFee int `json:"eraseFee"`

	/* 余额支付金额:2位精度 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 现金支付金额:2位精度 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额,2位精度 (Optional) */
	CashCouponFee int `json:"cashCouponFee"`

	/* 免费代金券金额,2位精度 (Optional) */
	FreeCashCouponFee int `json:"freeCashCouponFee"`

	/* 付费代金券金额,2位精度 (Optional) */
	PayCashCouponFee int `json:"payCashCouponFee"`

	/* 电汇金额,2位精度 (Optional) */
	Wire int `json:"wire"`

	/* 消费时间 (Optional) */
	ConsumeTime string `json:"consumeTime"`

	/* 交易单号 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 退款单号 (Optional) */
	RefundNo string `json:"refundNo"`

	/* 站点,0:国内 (Optional) */
	Site int `json:"site"`

	/* 组织机构代码 (Optional) */
	Org string `json:"org"`

	/* 交易类型 1、使用 2、 新购 3、续费 4、配置变更 5、退款 (Optional) */
	TradeType int `json:"tradeType"`

	/* 账单类型 0-普通账单 1-退款账单 2-调账账单 3-保底账单 (Optional) */
	BillType int `json:"billType"`

	/* 配置描述 (Optional) */
	FormulaDesc string `json:"formulaDesc"`

	/* 是否删除 0:未删除 1:己删除 (Optional) */
	IsDeleted int `json:"isDeleted"`

	/* 优惠明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 可用区 (Optional) */
	Az string `json:"az"`
}

type BillAdjust added in v1.59.0

type BillAdjust struct {

	/* 产品  */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 调整金额  */
	AdjustFee float64 `json:"adjustFee"`
}

type BillAdjustFile added in v1.59.0

type BillAdjustFile struct {

	/* 文件名称 (Optional) */
	FileName string `json:"fileName"`

	/* 文件秘钥 (Optional) */
	FileKey string `json:"fileKey"`
}

type BillAdjustRecord added in v1.59.0

type BillAdjustRecord struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 原价 (Optional) */
	BillFee float64 `json:"billFee"`

	/* 优惠金额 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 应付金额 (Optional) */
	ActualFee float64 `json:"actualFee"`

	/* 调整金额 (Optional) */
	AdjustFee float64 `json:"adjustFee"`

	/* 调整现金金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 调整余额金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 调整代金券金额 (Optional) */
	CashCouponFee float64 `json:"cashCouponFee"`

	/* 代金券券码 (Optional) */
	CouponNumber string `json:"couponNumber"`

	/* 计费项 (Optional) */
	Property string `json:"property"`

	/* 用量 (Optional) */
	Usage float64 `json:"usage"`

	/* 调整用量 (Optional) */
	AdjustUsage float64 `json:"adjustUsage"`

	/* 用量单位 (Optional) */
	UsageUnit string `json:"usageUnit"`

	/* 操作类型 1 调整金额 2 调整用量 3 调账 (Optional) */
	OpType int `json:"opType"`

	/* 调整月份(yyyyMM) (Optional) */
	BillDate int `json:"billDate"`

	/* 状态 1调整中 2调整完成 3 失败 (Optional) */
	State int `json:"state"`

	/* 调整原因 (Optional) */
	Reason string `json:"reason"`

	/* 附件1名称 (Optional) */
	File1Name string `json:"file1Name"`

	/* 附件1url (Optional) */
	File1Url string `json:"file1Url"`

	/* 附件2名称 (Optional) */
	File2Name string `json:"file2Name"`

	/* 附件2url (Optional) */
	File2Url string `json:"file2Url"`

	/* 附件3名称 (Optional) */
	File3Name string `json:"file3Name"`

	/* 附件3url (Optional) */
	File3Url string `json:"file3Url"`

	/* erp (Optional) */
	Erp string `json:"erp"`

	/* createTime (Optional) */
	CreateTime string `json:"createTime"`

	/* updateTime (Optional) */
	UpdateTime string `json:"updateTime"`
}

type BillItemVo added in v1.59.0

type BillItemVo struct {

	/* 计费项明细账单唯一标识,不可重复  */
	ItemSourceId string `json:"itemSourceId"`

	/* 计费项Code  */
	Property string `json:"property"`

	/* 计费项名称  */
	PropertyName string `json:"propertyName"`

	/* 实际用量  */
	ActualUsage float64 `json:"actualUsage"`

	/* 抵扣用量 (Optional) */
	DeductUsage float64 `json:"deductUsage"`

	/* 计费用量, 计费用量 = 实际用量 - 抵扣用量 (Optional) */
	BillingUsage float64 `json:"billingUsage"`

	/* 计费项原价,6位精度  */
	BillFee float64 `json:"billFee"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 用量单位 (Optional) */
	UsageUnit string `json:"usageUnit"`

	/* 折扣金额,6位精度 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 应付金额,2位精度  */
	ActualFee float64 `json:"actualFee"`

	/* 代金券支付金额,2位精度 (Optional) */
	CashCouponFee float64 `json:"cashCouponFee"`

	/* 余额支付金额:2位精度 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 现金支付金额:2位精度 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 电汇金额,2位精度 (Optional) */
	Wire int `json:"wire"`

	/* 单价 (Optional) */
	UnitPrice float64 `json:"unitPrice"`

	/* 单价单位 (Optional) */
	PriceUnit string `json:"priceUnit"`

	/* 计费项支付状态 0、未支付 1、己支付  */
	PayState int `json:"payState"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* 属性类型 (Optional) */
	PropertyType string `json:"propertyType"`

	/* 属性单位 (Optional) */
	PropertyUnit string `json:"propertyUnit"`

	/* 属性量 (Optional) */
	PropertyQuantity float64 `json:"propertyQuantity"`

	/* 数量 (Optional) */
	Number float64 `json:"number"`

	/* 单位用量 (Optional) */
	UnitUsage float64 `json:"unitUsage"`

	/* 月累计用量 (Optional) */
	MonthTotalUsage float64 `json:"monthTotalUsage"`

	/* 优惠信息 (Optional) */
	FavorableInfo string `json:"favorableInfo"`
}

type BillQueryCondition

type BillQueryCondition struct {

	/* 查询类别   1:资源账单   2:消费记录  */
	QueryType int `json:"queryType"`

	/* 用户pin  */
	Pin string `json:"pin"`

	/* appCode  */
	AppCode string `json:"appCode"`

	/* serviceCode  */
	ServiceCode string `json:"serviceCode"`

	/* 计费类型  */
	BillingType int `json:"billingType"`

	/* 支付类型  */
	PayType int `json:"payType"`

	/* 支付状态  */
	PayState int `json:"payState"`

	/* 1按账期、2按消费时间  */
	TimeType int `json:"timeType"`

	/* 开始时间  */
	StartTime string `json:"startTime"`

	/* 结束时间  */
	EndTime string `json:"endTime"`

	/* 是否忽略0元账单  */
	IgnoreZero int `json:"ignoreZero"`

	/* 资源id  */
	ResourceId string `json:"resourceId"`

	/* 站点  */
	Site int `json:"site"`

	/* 角色  */
	Role int `json:"role"`

	/* 区域  */
	Region string `json:"region"`
}

type BillStatisticsInfoVo

type BillStatisticsInfoVo struct {

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 优惠券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`
}

type BillSummary added in v1.6.0

type BillSummary struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 产品线代码 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线代码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品代码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品代码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 费用类型,仅用于查询帐单明细接口。取值:[新购、续费、配置变更、退订、按量费用] (Optional) */
	ActionTypeName string `json:"actionTypeName"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 计费开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 计费结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 账单生成时间,仅用于查询帐单明细接口 (Optional) */
	BillTime string `json:"billTime"`

	/* 账单总额 (Optional) */
	TotalFee float64 `json:"totalFee"`

	/* 优惠金额 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 优惠后总价金额 (Optional) */
	RealTotalFee float64 `json:"realTotalFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee float64 `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee float64 `json:"arrearFee"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type BillSummaryV2 added in v1.59.0

type BillSummaryV2 struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 产品线代码 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线代码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品代码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品代码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 费用类型,仅用于查询帐单明细接口。取值:[新购、续费、配置变更、退订、按量费用] (Optional) */
	ActionTypeName string `json:"actionTypeName"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 计费开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 计费结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 账单生成时间,仅用于查询帐单明细接口 (Optional) */
	BillTime string `json:"billTime"`

	/* 账单总额 (Optional) */
	TotalFee float64 `json:"totalFee"`

	/* 优惠金额 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 优惠后总价金额 (Optional) */
	RealTotalFee float64 `json:"realTotalFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee float64 `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee float64 `json:"arrearFee"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type BillVo added in v1.59.0

type BillVo struct {

	/* 账单唯一ID,不可重复,更新时根据该ID进行  */
	SourceId string `json:"sourceId"`

	/* 开始时间(格式为:yyyy-MM-dd HH:mm:ss)  */
	StartTime string `json:"startTime"`

	/* 结束时间(格式为:yyyy-MM-dd HH:mm:ss)  */
	EndTime string `json:"endTime"`

	/* 地域,如cn-north-1 ,不可修改  */
	Region string `json:"region"`

	/* 业务线,不可修改  */
	AppCode string `json:"appCode"`

	/* 产品编码,不可修改  */
	ServiceCode string `json:"serviceCode"`

	/* 资源id,资源唯一标识,不可修改  */
	ResourceId string `json:"resourceId"`

	/* 计费类型: 1、按配置 2、按用量 3、包年包月 4、按次(一次性),不可修改  */
	BillingType int `json:"billingType"`

	/* 账单原价,6位精度  */
	BillFee int `json:"billFee"`

	/* 应付金额,2位精度  */
	ActualFee int `json:"actualFee"`

	/* 账期,不可修改(推送多条账单时,不可跨月,只允许同一个自然月份的账单,格式:yyyy-MM-dd HH:mm:ss)  */
	BillTime string `json:"billTime"`

	/* 币种 CNY 人民币, USD 美元, HKD 港元, IDR 印尼卢比 (Optional) */
	Currency string `json:"currency"`

	/* 支付状态 0、未支付 1、己支付  */
	PayState int `json:"payState"`

	/* 支付时间,已支付状态必须传支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* 折扣金额,6位精度 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 抹零金额,6位精度 (Optional) */
	EraseFee int `json:"eraseFee"`

	/* 余额支付金额:2位精度 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 现金支付金额:2位精度 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额,2位精度,代金券支付金额=免费代金券金额+付费代金券金额 (Optional) */
	CashCouponFee int `json:"cashCouponFee"`

	/* 免费代金券金额,2位精度 (Optional) */
	FreeCashCouponFee int `json:"freeCashCouponFee"`

	/* 付费代金券金额,2位精度 (Optional) */
	PayCashCouponFee int `json:"payCashCouponFee"`

	/* 电汇金额,2位精度 (Optional) */
	Wire int `json:"wire"`

	/* 消费时间 (Optional) */
	ConsumeTime string `json:"consumeTime"`

	/* 交易单号 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 退款单号,如为退款账单,需要传退款单号 (Optional) */
	RefundNo string `json:"refundNo"`

	/* 站点,0:国内,不可修改 (Optional) */
	Site int `json:"site"`

	/* 组织机构代码  */
	Org string `json:"org"`

	/* 组织机构名称 (Optional) */
	OrgName string `json:"orgName"`

	/* 合同编码  */
	ContractNumber string `json:"contractNumber"`

	/* 交易类型 1、使用 2、 新购 3、续费 4、配置变更 5、退款,不可修改 (Optional) */
	TradeType int `json:"tradeType"`

	/* 账单类型 0-普通账单 1-退款账单 2-调账账单 3-保底账单,不可修改 (Optional) */
	BillType int `json:"billType"`

	/* 配置描述,用于控制台账单详情中展示 (Optional) */
	FormulaDesc string `json:"formulaDesc"`

	/* 是否删除 0:未删除 1:己删除 (Optional) */
	IsDeleted int `json:"isDeleted"`

	/* 优惠明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 支付所使用的代金券列表 (Optional) */
	CouponList []CouponVo `json:"couponList"`

	/* 计费项明细账单列表 (Optional) */
	BillItemList []BillItemVo `json:"billItemList"`
}

type BillingItemPrice added in v1.59.0

type BillingItemPrice struct {

	/* 计费项编码 (Optional) */
	ItemCode string `json:"itemCode"`

	/* 计费项值 (Optional) */
	ItemValue float64 `json:"itemValue"`

	/* 计费项数量 (Optional) */
	ItemNumber float64 `json:"itemNumber"`

	/* 计费项原价(6位) (Optional) */
	ItemPrice float64 `json:"itemPrice"`

	/* 计费项折扣金额(6位) (Optional) */
	ItemDiscount float64 `json:"itemDiscount"`

	/* 计费项折扣后金额(6位,计费项折扣后金额=计费项原价-计费项折扣金额) (Optional) */
	ItemAfterFavorablePrice float64 `json:"itemAfterFavorablePrice"`

	/* 计费项应付金额(2位,由资源应付金额分摊计算获得) (Optional) */
	ItemDiscountedPrice float64 `json:"itemDiscountedPrice"`

	/* 计费项基础单价(9位,计费项单位定价,存在多个阶梯定价时返回最低阶梯单价) (Optional) */
	ItemBaseUnitPrice float64 `json:"itemBaseUnitPrice"`

	/* 计费项折扣率 (Optional) */
	ItemDiscountRatio float64 `json:"itemDiscountRatio"`

	/* 计费项优惠信息 (Optional) */
	ItemFavorableInfo string `json:"itemFavorableInfo"`

	/* 计费项价格快照 (Optional) */
	ItemPriceSnapshot string `json:"itemPriceSnapshot"`
}

type BillingRuleRequest added in v1.56.0

type BillingRuleRequest struct {

	/* 站点  */
	Site int `json:"site"`

	/* 业务线  */
	AppCode string `json:"appCode"`

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 计费时长类型 - 0:按使用时长;1:按周期时长  */
	Strategy int `json:"strategy"`

	/* 计费周期类型 - 0:按小时;1:按天  */
	CycleType int `json:"cycleType"`

	/* 计费模式 - 1:删除不计费;2:关机不计费  */
	BillingMode int `json:"billingMode"`

	/* 最小计费时长 - 必须为大于等于0的整数 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 区分大客户 - 1:是;0:否 (Optional) */
	DosingMode int `json:"dosingMode"`

	/* 大客户统计周期 - 0:按小时计费;1:按天计费 (Optional) */
	DosingCycle int `json:"dosingCycle"`
}

type BillingRuleVo added in v1.56.0

type BillingRuleVo struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* 业务线编码 (Optional) */
	AppCode string `json:"appCode"`

	/* 业务线名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品编码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 计费时长类型 - 0:按使用时长;1:按周期时长 (Optional) */
	Strategy int `json:"strategy"`

	/* 计费时长类型名称 (Optional) */
	StrategyName string `json:"strategyName"`

	/* 计费周期类型 - 0:按小时;1:按天 (Optional) */
	CycleType int `json:"cycleType"`

	/* 计费周期类型名称 (Optional) */
	CycleTypeName string `json:"cycleTypeName"`

	/* 区分大客户 - 1:是;0:否 (Optional) */
	DosingMode int `json:"dosingMode"`

	/* 大客户统计周期 - 0:按小时计费;1:按天计费 (Optional) */
	DosingCycle int `json:"dosingCycle"`

	/* 计费模式 - 1:删除不计费;2:关机不计费 (Optional) */
	BillingMode int `json:"billingMode"`

	/* 最小计费时长 - 必须为大于等于0的整数 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 删除状态 - 0:未删除;1:已删除 (Optional) */
	IsDeleted int `json:"isDeleted"`

	/* 操作人 (Optional) */
	Operator string `json:"operator"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type CompatibleBill

type CompatibleBill struct {

	/* 账单ID (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 规格 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单金额(保留小数点后2位) (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 代金券id (Optional) */
	CouponId string `json:"couponId"`

	/* 优惠券金额 (Optional) */
	CouponFee int `json:"couponFee"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 代金券金额 (Optional) */
	CashCouponFee int `json:"cashCouponFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 支付状态 (Optional) */
	PaySate int `json:"paySate"`

	/* 1:老计费   2:新计费 (Optional) */
	SystemType int `json:"systemType"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`
}

type ConsumeBillQueryResultItem

type ConsumeBillQueryResultItem struct {

	/* 账单id (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 账单开始时间 (Optional) */
	BillStart string `json:"billStart"`

	/* 账单结束时间 (Optional) */
	BillEnd string `json:"billEnd"`

	/* 结算时间 (Optional) */
	SettleTime string `json:"settleTime"`

	/* 账单日期 (Optional) */
	BillTime string `json:"billTime"`

	/* 账单金额/原价 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单总额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 支付状态 (Optional) */
	PayState int `json:"payState"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 新老计费标识(1:老计费   2:新计费) (Optional) */
	SystemType int `json:"systemType"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 规格 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type ConsumeRecord

type ConsumeRecord struct {

	/* 消费记录数据库唯一id (Optional) */
	Id int `json:"id"`

	/* 消费记录id (Optional) */
	BillingRecordId int `json:"billingRecordId"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 价格快照 (Optional) */
	PriceSnapShot string `json:"priceSnapShot"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 账单金额 (Optional) */
	BillFee int `json:"billFee"`

	/* 账单金额保留小数点后2位 (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 折扣金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 优惠券id (Optional) */
	CouponId string `json:"couponId"`

	/* 优惠金额 (Optional) */
	CouponFee int `json:"couponFee"`

	/* 交易单号 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* null (Optional) */
	IsBillGenerated int `json:"isBillGenerated"`

	/* 子账单id (Optional) */
	SubBillId int `json:"subBillId"`

	/* 退款单号 (Optional) */
	RefundNo string `json:"refundNo"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 规格名称 (Optional) */
	FormulaName string `json:"formulaName"`
}

type Consumption

type Consumption struct {

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 支付类型 (Optional) */
	PayType int `json:"payType"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 现金支付 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 余额支付 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 优惠券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 原价 (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 优惠金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 分组显示值 (Optional) */
	GroupTagValue string `json:"groupTagValue"`
}

type ConsumptionProduct

type ConsumptionProduct struct {

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* appCodeName (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 优惠后金额 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 现金支付 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 余额支付 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 原价 (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 优惠金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/*  (Optional) */
	ProductDetails []Consumption `json:"productDetails"`

	/*  (Optional) */
	ProductDetailList interface{} `json:"productDetailList"`

	/* 分组显示值 (Optional) */
	GroupTagValue string `json:"groupTagValue"`
}

type CouponVo added in v1.59.0

type CouponVo struct {

	/* 券编号  */
	CouponNumber string `json:"couponNumber"`

	/* 支付金额  */
	Fee int `json:"fee"`

	/* 支付方式 0、免费代金券 1、付费代金券  */
	PayType int `json:"payType"`
}

type DescribeBillsCondition added in v1.59.0

type DescribeBillsCondition struct {

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 数据来源:1-统一计费, 2-自计费, 10-物联网, 11-视频云, 12-CDN, 13-PCDN, 14-IDC, 15-通信云 (Optional) */
	DataSource int `json:"dataSource"`

	/* 用户pin  */
	Pin string `json:"pin"`

	/* 开始时间(按出账时间查询,开始结束时间必须在同一个月内)  */
	StartTime string `json:"startTime"`

	/* 结束时间(按出账时间查询,开始结束时间必须在同一个月内)  */
	EndTime string `json:"endTime"`

	/* 计费类型: 1、按配置 2、按用量 3、包年包月 4、按次(一次性) (Optional) */
	BillingType int `json:"billingType"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 资源ID列表 (Optional) */
	ResourceIdList []string `json:"resourceIdList"`

	/* 页码,默认为1 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 分页大小 (Optional) */
	PageSize int `json:"pageSize"`
}

type EbsBillVo added in v1.13.0

type EbsBillVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 数据源ID (Optional) */
	DataSourceId string `json:"dataSourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 费用时间 (Optional) */
	ChargeTime string `json:"chargeTime"`

	/* 支付金额 (Optional) */
	PayFee int `json:"payFee"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 采购价格 (Optional) */
	PurchasePrice int `json:"purchasePrice"`

	/* 供应商 (Optional) */
	Supplier string `json:"supplier"`

	/* 核算组织 (Optional) */
	Org string `json:"org"`

	/* 用费分组 (Optional) */
	UserGroup int `json:"userGroup"`

	/* 域名订单ID (Optional) */
	DomainOrderId string `json:"domainOrderId"`

	/* 交易方名称 (Optional) */
	TraderName string `json:"traderName"`

	/* 订单类型 (Optional) */
	OrderType string `json:"orderType"`

	/* 税率 (Optional) */
	TaxRate int `json:"taxRate"`

	/* 部门 (Optional) */
	DeptNo string `json:"deptNo"`

	/* 返回编码0成功 (Optional) */
	Code int `json:"code"`

	/* 返回消息 (Optional) */
	Message string `json:"message"`
}

type EbsBillVoRequest added in v1.13.0

type EbsBillVoRequest struct {

	/* 核算账单列表 (Optional) */
	EbsBillVoList []EbsBillVo `json:"ebsBillVoList"`
}

type EbsSeperateBillVo added in v1.13.0

type EbsSeperateBillVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 数据源ID (Optional) */
	DataSourceId string `json:"dataSourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 费用时间 (Optional) */
	ChargeTime string `json:"chargeTime"`

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 分摊金额 (Optional) */
	SeperateFee int `json:"seperateFee"`

	/* 核算组织 (Optional) */
	Org string `json:"org"`

	/* 用户分组 (Optional) */
	UserGroup int `json:"userGroup"`

	/* 交易方名称 (Optional) */
	TraderName string `json:"traderName"`

	/* 订单类型 (Optional) */
	OrderType string `json:"orderType"`

	/* 成本金额 (Optional) */
	CostFee int `json:"costFee"`

	/* 税率 (Optional) */
	TaxRate int `json:"taxRate"`

	/* 部门 (Optional) */
	DeptNo string `json:"deptNo"`

	/*  (Optional) */
	SourceId string `json:"sourceId"`

	/* 返回编码0成功 (Optional) */
	Code int `json:"code"`

	/* 返回消息 (Optional) */
	Message string `json:"message"`
}

type EbsSeperateBillVoRequest added in v1.13.0

type EbsSeperateBillVoRequest struct {

	/* 核算分摊账单列表 (Optional) */
	EbsSeperateBillVoList []EbsSeperateBillVo `json:"ebsSeperateBillVoList"`
}

type Formula

type Formula struct {

	/* 计费项别名 (Optional) */
	Key *string `json:"key"`

	/* 用量 (Optional) */
	Value *float64 `json:"value"`

	/* 单位 (Optional) */
	Unit *string `json:"unit"`

	/* 计费项数量 (Optional) */
	Number *float64 `json:"number"`
}

type FormulaBillSummary added in v1.59.0

type FormulaBillSummary struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 产品线代码 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线代码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品代码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品代码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 区域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 币种 (Optional) */
	Currency string `json:"currency"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 网络类型 (Optional) */
	NetworkOperator string `json:"networkOperator"`

	/* 属性 (Optional) */
	Property string `json:"property"`

	/* 属性名称 (Optional) */
	PropertyName string `json:"propertyName"`

	/* 属性单位 (Optional) */
	PropertyUnit string `json:"propertyUnit"`

	/* 计费开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 计费结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 出账月份 (Optional) */
	BillDate string `json:"billDate"`

	/* 实际用量 (Optional) */
	ActualUsage float64 `json:"actualUsage"`

	/* 抵扣用量 (Optional) */
	DeductUsage float64 `json:"deductUsage"`

	/* 计费用量 (Optional) */
	BillingUsage float64 `json:"billingUsage"`

	/* 优惠前费用 (Optional) */
	BillFee float64 `json:"billFee"`

	/* 优惠金额 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 应付金额 (Optional) */
	ActualFee float64 `json:"actualFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee float64 `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`
}

type NewCustomerBillSummaryCondition added in v1.63.0

type NewCustomerBillSummaryCondition struct {

	/* 用户pin (Optional) */
	PinList []string `json:"pinList"`

	/* 账期,yyyyMM (Optional) */
	BillDate string `json:"billDate"`
}

type OrderCompensateFeeVo

type OrderCompensateFeeVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 计算总价 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`
}

type OrderFee added in v1.63.0

type OrderFee struct {

	/* 订单编号 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 订单退款金额 (Optional) */
	ActualFee float64 `json:"actualFee"`

	/* 现金退款金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 余额退款金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 代金券退款金额 (Optional) */
	CashCouponFee float64 `json:"cashCouponFee"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 开始时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 规格 (Optional) */
	Formula string `json:"formula"`

	/* 时间单位 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 单位长度 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 退款代金券列表 (Optional) */
	RefundCouponList []RefundCoupon `json:"refundCouponList"`
}

type OrderPrice

type OrderPrice struct {

	/* 折扣前总价 (Optional) */
	TotalPrice int `json:"totalPrice"`

	/* 折扣前总价4位 (Optional) */
	TotalPriceScale4 int `json:"totalPriceScale4"`

	/* 折扣后订单价格 (Optional) */
	DiscountedTotalPrice int `json:"discountedTotalPrice"`

	/* 总折扣金额 (Optional) */
	TotalDiscount int `json:"totalDiscount"`

	/* 计算完价格后的详细订单列表 (Optional) */
	List []OrderPriceDetail `json:"list"`

	/* 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 (Optional) */
	TotalOriginalPrice int `json:"totalOriginalPrice"`

	/* 参与优惠的明细 (Optional) */
	FavorableInfos int `json:"favorableInfos"`

	/* 备注 (Optional) */
	Remark int `json:"remark"`
}

type OrderPriceDetail

type OrderPriceDetail struct {

	/* 原价(6位,原价为每个计费项原价之和) (Optional) */
	Price float64 `json:"price"`

	/* 原价(6位,与price一致,兼容之前4位原价保留字段) (Optional) */
	PriceScale4 float64 `json:"priceScale4"`

	/* 折扣金额(6位,折扣金额为每个计费项折扣金额之和) (Optional) */
	Discount float64 `json:"discount"`

	/* 应付金额(2位,应付金额=折扣后金额舍位保留2位小数) (Optional) */
	DiscountedPrice float64 `json:"discountedPrice"`

	/* 折扣后金额(6位,折扣后金额为每个计费项折扣后金额之和) (Optional) */
	AfterFavorablePrice float64 `json:"afterFavorablePrice"`

	/* 抹零金额(6位,抹零金额=折扣后金额-应付金额) (Optional) */
	ErasePrice float64 `json:"erasePrice"`

	/* 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 (Optional) */
	OriginalPrice float64 `json:"originalPrice"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点  0:主站  其他:专有云 (Optional) */
	Site int `json:"site"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 计费类型1:按配置2:按用量3:包年包月4:一次性5:抢占式 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 时长类型 1:小时2:天3:月4:年 5:周 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 网络类型 0:non1:非BGP2:BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* FavorableInfo转成json后的字符串 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 价格快照 (Optional) */
	PriceSnapShot string `json:"priceSnapShot"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 自然单列表 (Optional) */
	TaskId string `json:"taskId"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 变配明细(1-升配补差价,2-降配延时,3-临时升配,9-降配退款) (Optional) */
	ProcessType int `json:"processType"`

	/* 交易单模块sourceId (Optional) */
	SourceId string `json:"sourceId"`

	/* 资源退款金额 (Optional) */
	RefundPrice float64 `json:"refundPrice"`

	/* 资源现金退款金额 (Optional) */
	CashRefundPrice float64 `json:"cashRefundPrice"`

	/* 资源余额退款金额 (Optional) */
	BalanceRefundPrice float64 `json:"balanceRefundPrice"`

	/* 资源代金券退款金额 (Optional) */
	CouponRefundPrice float64 `json:"couponRefundPrice"`

	/* 退款订单列表 (Optional) */
	RefundOrderList []RefundOrder `json:"refundOrderList"`

	/* 计费项价格列表 (Optional) */
	BillingItemPriceList []BillingItemPrice `json:"billingItemPriceList"`
}

type OrderPriceProtocol

type OrderPriceProtocol struct {

	/* 资源id(新购时不传,升降配、续费必须传) (Optional) */
	ResourceId *string `json:"resourceId"`

	/* 业务线 (Optional) */
	AppCode *string `json:"appCode"`

	/* 产品线(必传) (Optional) */
	ServiceCode *string `json:"serviceCode"`

	/* 站点信息 0:主站  其他:专有云 (Optional) */
	Site *int `json:"site"`

	/* 地域(新购、升降配必传) (Optional) */
	Region *string `json:"region"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月(必传) 4:按次计费 (Optional) */
	BillingType *int `json:"billingType"`

	/* 时长(包年包月新购、续费必传) (Optional) */
	TimeSpan *int `json:"timeSpan"`

	/* 时长类型 0:无(非包年包月) 1:小时 2:天 3:月 4:年 5:周(包年包月新购、续费必传) (Optional) */
	TimeUnit *int `json:"timeUnit"`

	/* 网络类型 0:non 1:非BGP  2:BGP (Optional) */
	NetworkOperator *int `json:"networkOperator"`

	/* 计算公式(配置细项)(新购、升降配必传) (Optional) */
	Formula []Formula `json:"formula"`

	/* 配置细项 (Optional) */
	FormulaStr *string `json:"formulaStr"`

	/* 用户pin (Optional) */
	Pin *string `json:"pin"`

	/* 具体商品数量,默认为1 (Optional) */
	Count *int `json:"count"`

	/* 订单开始时间 (Optional) */
	StartTime *string `json:"startTime"`

	/* 临时升配结束时间,临时升配时必传 (Optional) */
	EndTime *string `json:"endTime"`

	/* 自然单列表 (Optional) */
	TaskId *string `json:"taskId"`

	/* 交易单模块sourceId (Optional) */
	SourceId *string `json:"sourceId"`

	/* 可用区 (Optional) */
	Az *string `json:"az"`

	/* 抢占式计费类型设置保护期,默认:0(未设置保护期) (Optional) */
	ProtectionPeriod *int `json:"protectionPeriod"`
}

type Pagination

type Pagination struct {

	/* 当前页(默认:1) (Optional) */
	CurrPageNo int `json:"currPageNo"`

	/* 总页数 (Optional) */
	NumberPages int `json:"numberPages"`

	/* 总记录数 (Optional) */
	NumberRecords int `json:"numberRecords"`

	/* 每页记录数(默认每页:10) (Optional) */
	PageSize int `json:"pageSize"`

	/* 起始页 (Optional) */
	StartIndex int `json:"startIndex"`
}

type PushBillsReq added in v1.59.0

type PushBillsReq struct {

	/* 操作类型: 1、新增账单 2、更新账单数据  */
	OpType int `json:"opType"`

	/* 数据来源:10、物联网 11、视频云 12、CDN 13、PCDN 14、IDC 15、通信云  */
	DataSource int `json:"dataSource"`

	/* 全局唯一ID  */
	GlobalId string `json:"globalId"`

	/* 用户pin,不可修改  */
	Pin string `json:"pin"`

	/* 需要推送的账单列表,一次最多传10条  */
	BillList []BillVo `json:"billList"`
}

type RefundCoupon added in v1.63.0

type RefundCoupon struct {

	/* 代金券编号 (Optional) */
	CouponNumber string `json:"couponNumber"`

	/* 代金券付费类型,0:免费,1:付费 (Optional) */
	PayType int `json:"payType"`

	/* 代金券退款金额 (Optional) */
	CouponRefundFee float64 `json:"couponRefundFee"`
}

type RefundFeeCondition added in v1.56.0

type RefundFeeCondition struct {

	/* 退款类型,退资源:REFUND_RESOURCE;退续费:REFUND_RENEW  */
	RefundType string `json:"refundType"`

	/* 退款时间(格式:yyyy-MM-dd HH:mm:ss) (Optional) */
	RefundTime string `json:"refundTime"`

	/* 退款资源列表  */
	RefundResources []RefundResource `json:"refundResources"`
}

type RefundOrder added in v1.59.0

type RefundOrder struct {

	/* 订单编号 (Optional) */
	OrderNumber string `json:"orderNumber"`

	/* 订单退款金额 (Optional) */
	RefundPrice float64 `json:"refundPrice"`

	/* 订单现金退款金额 (Optional) */
	CashRefundPrice float64 `json:"cashRefundPrice"`

	/* 订单余额退款金额 (Optional) */
	BalanceRefundPrice float64 `json:"balanceRefundPrice"`

	/* 订单代金券退款金额 (Optional) */
	CouponRefundPrice float64 `json:"couponRefundPrice"`
}

type RefundOrderFee added in v1.56.0

type RefundOrderFee struct {

	/* 订单编号 (Optional) */
	OrderNumber string `json:"orderNumber"`

	/* 订单退款金额 (Optional) */
	Fee float64 `json:"fee"`

	/* 现金退款金额 (Optional) */
	CashFee float64 `json:"cashFee"`

	/* 余额退款金额 (Optional) */
	BalanceFee float64 `json:"balanceFee"`

	/* 代金券退款金额 (Optional) */
	CouponFee float64 `json:"couponFee"`

	/* 退款代金券列表 (Optional) */
	CouponList []RefundCoupon `json:"couponList"`
}

type RefundResource added in v1.56.0

type RefundResource struct {

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 订单编号列表  */
	OrderNumbers []string `json:"orderNumbers"`
}

type RefundResourceFee added in v1.56.0

type RefundResourceFee struct {

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 状态: 1-成功 2-失败 (Optional) */
	Status int `json:"status"`

	/* 失败信息 (Optional) */
	Message string `json:"message"`

	/* 资源退款金额 (Optional) */
	Fee float64 `json:"fee"`

	/* 现金退款金额 (Optional) */
	CashFee float64 `json:"cashFee"`

	/* 余额退款金额 (Optional) */
	BalanceFee float64 `json:"balanceFee"`

	/* 代金券退款金额 (Optional) */
	CouponFee float64 `json:"couponFee"`

	/* 退款订单列表 (Optional) */
	OrderFees []RefundOrderFee `json:"orderFees"`
}

type RenewResourceSearchCondition added in v1.63.0

type RenewResourceSearchCondition struct {

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 开始时间(到期时间范围开始时间) (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间(到期时间范围结束时间) (Optional) */
	EndTime string `json:"endTime"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* >0: 订单还有几天到期; ==0: 订单已经到期; <0: 不管是否到期 (Optional) */
	ExpireInDays int `json:"expireInDays"`
}

type RenewlResourceSearchExpireDateVo added in v1.63.0

type RenewlResourceSearchExpireDateVo struct {

	/* 到期天数 (Optional) */
	ExpireInDays int `json:"expireInDays"`

	/* 时间 (Optional) */
	ExpireName string `json:"expireName"`

	/* 资源总数 (Optional) */
	Count int `json:"count"`
}

type RenewlResourceSearchRegionVo added in v1.63.0

type RenewlResourceSearchRegionVo struct {

	/* 地域code (Optional) */
	Region string `json:"region"`

	/* 地域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 资源总数 (Optional) */
	Count int `json:"count"`
}

type RenewlResourceSearchServiceVo added in v1.63.0

type RenewlResourceSearchServiceVo struct {

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品名称 (Optional) */
	ServiceName string `json:"serviceName"`

	/* 资源总数 (Optional) */
	Count int `json:"count"`
}

type ResourceAeVo

type ResourceAeVo struct {

	/* 自增主键 (Optional) */
	Id int `json:"id"`

	/* 站点标识1:中国 2:国际 (Optional) */
	Site int `json:"site"`

	/* 应用编码 (Optional) */
	AppCode string `json:"appCode"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 配置项 (Optional) */
	Formula string `json:"formula"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 账单ID (Optional) */
	SubBillId int `json:"subBillId"`

	/* 状态 0:无 1:正常 2:欠费, 3:因欠费而停机, 4:欠费删除资源, 6:已删除但已不欠费, 7:欠费延期,8:删除并且欠费,9:欠费删除数据,12:已过期, 13:因过期而停机, 14:过期删除资源、退款删除, 17:过期延期 19:过期删除数据23:管理员停服,24:管理员删除,34:用户删除 (Optional) */
	State int `json:"state"`

	/* 首次欠费时间(各欠费状态)或过期时间(各过期状态) (Optional) */
	StateTime string `json:"stateTime"`

	/* 变成此状态的原因.0:无 1:账单欠费, 2:资源过期 ,3:加入、移出白名单 ,4:补扣款成功, 5:规则修改,6:续费 7:管理员操作,8:用户操作,9:加入/移出回收站,11:账号注销删除 (Optional) */
	Op int `json:"op"`

	/* 是否为最后状态记录 (Optional) */
	IsLastRecord int `json:"isLastRecord"`

	/* 本条记录生成时刻、进入当前state的时刻 (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 资源预计释放时间 (Optional) */
	ToDeleteTime string `json:"toDeleteTime"`

	/* 用于中间层判断的状态标识 1:正常(重启) 3:欠费停服 4:欠费删除 13:到期停服 14:到期删除、退款删除 24:运营删除 34:用户删除 45:账号注销删除 (Optional) */
	CapState int `json:"capState"`
}

type ResourceBillQueryResultItem

type ResourceBillQueryResultItem struct {

	/* 账单id (Optional) */
	BillId int `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* serviceCode (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* serviceCodeName (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 区域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 账单开始时间 (Optional) */
	BillStartTime string `json:"billStartTime"`

	/* 账单结束时间 (Optional) */
	BillEndTime string `json:"billEndTime"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 总金额 (Optional) */
	TotalFee int `json:"totalFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 代金券支付金额 (Optional) */
	CashCouponPayFee int `json:"cashCouponPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 欠费金额 (Optional) */
	ArrearFee int `json:"arrearFee"`

	/* 原价 (Optional) */
	BillFee2 int `json:"billFee2"`

	/* 优惠金额 (Optional) */
	DiscountFee int `json:"discountFee"`

	/* 时间 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 时间单位 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 1:新购 2:续费 3:配置变更 (Optional) */
	OpTypeName string `json:"opTypeName"`

	/* 时间 (Optional) */
	TimeSpanName string `json:"timeSpanName"`

	/* 时间单位名称 1:小时 2:天 3:月 4:年 (Optional) */
	TimeUnitName string `json:"timeUnitName"`

	/* 结算日期 (Optional) */
	SettleTime string `json:"settleTime"`

	/* 1:老计费 2:新计费 (Optional) */
	SystemType int `json:"systemType"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type ResourceBo added in v1.56.0

type ResourceBo struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码code (Optional) */
	AppCode string `json:"appCode"`

	/* 应用码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 服务码code (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 服务码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源所属地域 (Optional) */
	Region string `json:"region"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源配置 (Optional) */
	Formula string `json:"formula"`

	/* 计费类型 1、按配置,2、按用量,3、包年包月,4、按次 (Optional) */
	BillingType int `json:"billingType"`

	/* 资源状态:1、正常,2、停服 (Optional) */
	Status int `json:"status"`

	/* 计费开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 计费结束时间 (Optional) */
	EndTime string `json:"endTime"`
}

type ResourceCanRefundVo added in v1.63.0

type ResourceCanRefundVo struct {

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 状态描述 (Optional) */
	StatusName string `json:"statusName"`

	/* 配置项 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* 资源到期时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 是否可退 (Optional) */
	CanRefund bool `json:"canRefund"`

	/* 不可退原因 (Optional) */
	Reason string `json:"reason"`

	/* 预估可退金额 (Optional) */
	RefundFee int `json:"refundFee"`

	/* 现金支付金额 (Optional) */
	CashPayFee int `json:"cashPayFee"`

	/* 余额支付金额 (Optional) */
	BalancePayFee int `json:"balancePayFee"`

	/* 代金券金额 (Optional) */
	CashCouponFee int `json:"cashCouponFee"`

	/* 退款订单列表 (Optional) */
	OrderFees []OrderFee `json:"orderFees"`
}

type ResourceCountBo added in v1.56.0

type ResourceCountBo struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码code (Optional) */
	AppCode string `json:"appCode"`

	/* 应用码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 服务码code (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 服务码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 资源数量 (Optional) */
	Count int `json:"count"`
}

type ResourceDiffPrice added in v1.63.0

type ResourceDiffPrice struct {

	/* 资源ID (Optional) */
	ResourceId string `json:"resourceId"`

	/* 差价 (Optional) */
	DiffPrice float64 `json:"diffPrice"`
}

type ResourceInfo added in v1.59.0

type ResourceInfo struct {

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 用户PIN  */
	Pin string `json:"pin"`

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 退款单号  */
	RefundNo string `json:"refundNo"`

	/* 订单编号列表,退续费订单时必传,一次退多个续费订单请按续费时间倒序传入 (Optional) */
	OrderNumberList []string `json:"orderNumberList"`
}

type ResourceOperateRecordReq added in v1.56.0

type ResourceOperateRecordReq struct {

	/* 站点  */
	Site int `json:"site"`

	/* 产品线  */
	AppCode string `json:"appCode"`

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 操作行为 (1:启动 2:关闭 3:变配 4:删除)  */
	OpType int `json:"opType"`

	/* 资源配置信息  */
	Formula []Formula `json:"formula"`

	/* 操作时间(格式为:yyyy-MM-dd HH:mm:ss)  */
	OpTime string `json:"opTime"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 用户  */
	Pin string `json:"pin"`

	/* 释放标识,不传默认释放(1:释放 0:不释放) (Optional) */
	Release int `json:"release"`
}

type ResourceOrderQueryCondition

type ResourceOrderQueryCondition struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 用户pin(pin、resourceId、resourceIdList 必传一个) (Optional) */
	Pin string `json:"pin"`

	/* 资源id(pin、resourceId、resourceIdList 必传一个) (Optional) */
	ResourceId string `json:"resourceId"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* 产品码列表 (Optional) */
	ServiceCodeList []string `json:"serviceCodeList"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 网络类型 0: non-BGP, 1: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* resourceIdList(pin、resourceId、resourceIdList 必传一个) (Optional) */
	ResourceIdList []string `json:"resourceIdList"`

	/* >0: 订单还有几天到期; ==0: 订单已经到期; <0: 不管是否到期 (Optional) */
	ExpireInDays int `json:"expireInDays"`

	/* isOnTrial (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 站点信息 0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 1、内部计算,使用getExpiringOrderCount时使用,不用传值 默认为-1mybatis筛选时不会关注 2、selectResourceOrderForTask定时任务查询列表时使用,停服天数,必须大于0 (Optional) */
	ExpiringInDays int `json:"expiringInDays"`

	/* billingTypeList (Optional) */
	BillingTypeList []int `json:"billingTypeList"`

	/* 交易单号列表 (Optional) */
	TransactionNos []string `json:"transactionNos"`

	/*  (Optional) */
	OpTypes []int `json:"opTypes"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* statusList (Optional) */
	StatusList []int `json:"statusList"`

	/* excludeResources (Optional) */
	ExcludeResources []string `json:"excludeResources"`

	/* orderByClaus (Optional) */
	OrderByClaus string `json:"orderByClaus"`

	/* 专有云节点的code(节点云查询使用) (Optional) */
	Node string `json:"node"`

	/* 部门(节点云查询使用) (Optional) */
	DepartmentId int `json:"departmentId"`

	/*  (Optional) */
	PinList []string `json:"pinList"`

	/* 是否是专有云 1:是  其他不是 (Optional) */
	IsSpecial int `json:"isSpecial"`

	/* 节点信息 (Optional) */
	NodeCode string `json:"nodeCode"`

	/* 超时时间,暂时不用 (Optional) */
	Timeout int `json:"timeout"`

	/* 当前页序号 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页结果数量 (Optional) */
	PageSize int `json:"pageSize"`

	/*  (Optional) */
	Offset int `json:"offset"`
}

type ResourceOrderRenewNewQueryCondition added in v1.63.0

type ResourceOrderRenewNewQueryCondition struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* appCode (Optional) */
	AppCode string `json:"appCode"`

	/* 产品码列表 (Optional) */
	ServiceCodeList []string `json:"serviceCodeList"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 网络类型 0: non-BGP, 1: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* resourceIdList (Optional) */
	ResourceIdList []string `json:"resourceIdList"`

	/* >0: 订单还有几天到期; ==0: 订单已经到期; <0: 不管是否到期 (Optional) */
	ExpireInDays int `json:"expireInDays"`

	/* isOnTrial (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 站点信息 0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 1、内部计算,使用getExpiringOrderCount时使用,不用传值 默认为-1mybatis筛选时不会关注 2、selectResourceOrderForTask定时任务查询列表时使用,停服天数,必须大于0 (Optional) */
	ExpiringInDays int `json:"expiringInDays"`

	/* billingTypeList (Optional) */
	BillingTypeList []int `json:"billingTypeList"`

	/* 交易单号列表 (Optional) */
	TransactionNos []string `json:"transactionNos"`

	/*  (Optional) */
	OpTypes []int `json:"opTypes"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* statusList (Optional) */
	StatusList []int `json:"statusList"`

	/* excludeResources (Optional) */
	ExcludeResources []string `json:"excludeResources"`

	/* orderByClaus (Optional) */
	OrderByClaus string `json:"orderByClaus"`

	/* 专有云节点的code(节点云查询使用) (Optional) */
	Node string `json:"node"`

	/* 部门(节点云查询使用) (Optional) */
	DepartmentId int `json:"departmentId"`

	/*  (Optional) */
	PinList []string `json:"pinList"`

	/* 是否是专有云 1:是  其他不是 (Optional) */
	IsSpecial int `json:"isSpecial"`

	/* 节点信息 (Optional) */
	NodeCode string `json:"nodeCode"`

	/* 超时时间,暂时不用 (Optional) */
	Timeout int `json:"timeout"`

	/* 当前页序号 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页结果数量 (Optional) */
	PageSize int `json:"pageSize"`

	/*  (Optional) */
	Offset int `json:"offset"`

	/* 开通自动续费AUTO 设置过期不续费DISABLE 全部 ALL 手动续费 OTHER (Optional) */
	RenewType string `json:"renewType"`

	/* 资源名称 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 标签过滤列表 (Optional) */
	TagFilters []TagFilter `json:"tagFilters"`
}

type ResourceOrderRenewNewVo added in v1.63.0

type ResourceOrderRenewNewVo struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 交易单唯一标识 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长类型 1:小时 2:天 3:月 4:年 5:周 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 时长字段,与timeUnit字段构成具体时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 网络类型0:无 1: non-BGP, 2: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 业务线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品线中文名称 (Optional) */
	ServiceName string `json:"serviceName"`

	/* 站点标识0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 地域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* 否为试用资源 0:非试用 1:试用 (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* formula转换成字符串 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 欠费过期状态,1:包年包月正常 2:包年包月到期  3:按配置、按用量正常  4:按配置、按用量欠费 (Optional) */
	AeStatus int `json:"aeStatus"`

	/* 欠费、过期资源释放时间 (Optional) */
	ReleasingTime string `json:"releasingTime"`

	/* 交易单模块sourceId 计费不关心 (Optional) */
	SourceId string `json:"sourceId"`

	/* 计费开始时间 续费时本次续费周期开始时间 (Optional) */
	BillingStartTime string `json:"billingStartTime"`

	/* 最新价格map (Optional) */
	PriceMap interface{} `json:"priceMap"`

	/* 价格快照 (Optional) */
	PriceSnapshot string `json:"priceSnapshot"`

	/* 订单折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 折扣后订单价格 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 即将到期天数 (Optional) */
	ExpiringDays int `json:"expiringDays"`

	/* 计费类型描述 例如:按配置、包年包月 (Optional) */
	BillingCategoryDescription string `json:"billingCategoryDescription"`

	/* 计费详情描述 例如:按配置、包年包月(一年) (Optional) */
	Description string `json:"description"`

	/* refundNo (Optional) */
	RefundNo string `json:"refundNo"`

	/* 计费类型单号 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 促销明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 资源名 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月) (Optional) */
	ProcessType int `json:"processType"`

	/* 资源申请人 (Optional) */
	Applicant string `json:"applicant"`

	/* 计费模式  1.停服停止计费  2.关机停止计费 (Optional) */
	BillingMode int `json:"billingMode"`

	/* 启服、停服、停止计费时间 (Optional) */
	OperateTime string `json:"operateTime"`

	/* 欠费类型 1、无欠费,2、按配置欠费,3、按用量欠费,4、按配置和按用量都欠费 (Optional) */
	ArrearsType int `json:"arrearsType"`

	/* 欠费、过期资源释放时间-仅面向资源回收站使用 (Optional) */
	RecycleBinReleasingTime string `json:"recycleBinReleasingTime"`

	/* 扩展信息 (Optional) */
	Remark string `json:"remark"`

	/* 标签信息 (Optional) */
	Tag []ResourceTagVo `json:"tag"`

	/* 绑定资源 (Optional) */
	BindResources []ResourceOrderRenewNewVo `json:"bindResources"`
}

type ResourceOrderRequest added in v1.56.0

type ResourceOrderRequest struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 交易单唯一标识 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长类型 1:小时 2:天 3:月 4:年 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 时长字段,与timeUnit字段构成具体时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 网络类型0:无 1: non-BGP, 2: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点标识0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* 否为试用资源 0:非试用 1:试用 (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* formula转换成字符串 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 欠费过期状态 (Optional) */
	AeStatus int `json:"aeStatus"`

	/* 欠费、过期资源释放时间 (Optional) */
	ReleasingTime string `json:"releasingTime"`

	/* 交易单模块sourceId 计费不关心 (Optional) */
	SourceId string `json:"sourceId"`

	/* 计费开始时间 续费时本次续费周期开始时间 (Optional) */
	BillingStartTime string `json:"billingStartTime"`

	/* 最新价格map (Optional) */
	PriceMap interface{} `json:"priceMap"`

	/* 价格快照 (Optional) */
	PriceSnapshot string `json:"priceSnapshot"`

	/* 订单折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 折扣后订单价格 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 即将到期天数 (Optional) */
	ExpiringDays int `json:"expiringDays"`

	/* 计费类型描述 例如:按配置、包年包月 (Optional) */
	BillingCategoryDescription string `json:"billingCategoryDescription"`

	/* 计费详情描述 例如:按配置、包年包月(一年) (Optional) */
	Description string `json:"description"`

	/* refundNo (Optional) */
	RefundNo string `json:"refundNo"`

	/* 计费类型单号 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 促销明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 资源名 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月) (Optional) */
	ProcessType int `json:"processType"`

	/* 资源申请人 (Optional) */
	Applicant string `json:"applicant"`

	/* 计费模式  1.停服停止计费  2.关机停止计费 (Optional) */
	BillingMode int `json:"billingMode"`

	/* 启服、停服、停止计费时间 (Optional) */
	OperateTime string `json:"operateTime"`
}

type ResourceOrderSnapshotQueryCondition added in v1.63.0

type ResourceOrderSnapshotQueryCondition struct {

	/* resourceIdList必传 (Optional) */
	ResourceIdList []string `json:"resourceIdList"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月,10:包年包月转配置 11:包年包月转用量 12:配置转用量 13:用量转配置) (Optional) */
	ProcessTypes []int `json:"processTypes"`

	/* 操作者类型:0-用户;1-管理员(运营);-1 系统 (Optional) */
	OperatorType int `json:"operatorType"`

	/* 操作类型 1:创建 2:续费 3:升配 4:删除 5:启服 6:停服 7:无理由退款 (Optional) */
	OpType int `json:"opType"`

	/* 起始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`
}

type ResourceOrderSnapshotVo added in v1.63.0

type ResourceOrderSnapshotVo struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 交易单唯一标识 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 资源单id (Optional) */
	ResourceOrderId int `json:"resourceOrderId"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长类型 1:小时 2:天 3:月 4:年 5:周 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 时长字段,与timeUnit字段构成具体时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 网络类型0:无 1: non-BGP, 2: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点标识0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 配置信息 (Optional) */
	Formula string `json:"formula"`

	/* 否为试用资源 0:非试用 1:试用 (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 价格快照 (Optional) */
	PriceSnapshot string `json:"priceSnapshot"`

	/* 操作类型 1:创建 2:续费 3:升配 4:删除 5:启服 6:停服 7:无理由退款 (Optional) */
	OpType int `json:"opType"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月,10:包年包月转配置 11:包年包月转用量 12:配置转用量 13:用量转配置) (Optional) */
	ProcessType int `json:"processType"`

	/* 用户时:用户pin 管理员时:操作人erp 系统时:空 (Optional) */
	OperatorName string `json:"operatorName"`

	/* 操作者类型:0-用户;1-管理员(运营);-1 系统 (Optional) */
	OperatorType int `json:"operatorType"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 最后更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 操作备注 (Optional) */
	OpComment string `json:"opComment"`

	/* 计费模式  1.停服停止计费  2.关机停止计费 (Optional) */
	BillingMode int `json:"billingMode"`
}

type ResourceOrderSnapshotsVo added in v1.63.0

type ResourceOrderSnapshotsVo struct {

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 资源单快照列表 (Optional) */
	ResourceOrderSnapshotVos []ResourceOrderSnapshotVo `json:"resourceOrderSnapshotVos"`
}

type ResourceOrderStatusCondition added in v1.13.0

type ResourceOrderStatusCondition struct {

	/* 站点信息 0:中国 1:国际 10:专有云 (Optional) */
	Site int `json:"site"`

	/* 服务编码  */
	ServiceCode string `json:"serviceCode"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 资源id列表(最多支持传入500个)  */
	ResourceIdList []string `json:"resourceIdList"`

	/* 当前页序号 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页结果数量 (Optional) */
	PageSize int `json:"pageSize"`
}

type ResourceOrderStatusResultItem added in v1.13.0

type ResourceOrderStatusResultItem struct {

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 操作时间 (Optional) */
	UpdateTime string `json:"updateTime"`
}

type ResourceOrderStatusVo

type ResourceOrderStatusVo struct {

	/* 资源id  */
	ResourceId string `json:"resourceId"`

	/* 用户pin  */
	Pin string `json:"pin"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 (Optional) */
	BillingType int `json:"billingType"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 站点信息 0:中国 1:国际  10:专有云 (Optional) */
	Site int `json:"site"`

	/* 操作时间 (Optional) */
	OperateTime string `json:"operateTime"`
}

type ResourceOrderVo

type ResourceOrderVo struct {

	/* 主键id (Optional) */
	Id int `json:"id"`

	/* 交易单唯一标识 (Optional) */
	TransactionNo string `json:"transactionNo"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 计费类型 1:按配置 2:按用量 3:包年包月 4:一次性 (Optional) */
	BillingType int `json:"billingType"`

	/* 时长类型 1:小时 2:天 3:月 4:年 5:周 (Optional) */
	TimeUnit int `json:"timeUnit"`

	/* 时长字段,与timeUnit字段构成具体时长 (Optional) */
	TimeSpan int `json:"timeSpan"`

	/* 资源状态 1:正常 2:停服 3:删除 (Optional) */
	Status int `json:"status"`

	/* 计费状态 0:停止计费 1:计费中 (Optional) */
	BillingStatus int `json:"billingStatus"`

	/* 网络类型0:无 1: non-BGP, 2: BGP (Optional) */
	NetworkOperator int `json:"networkOperator"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 应用码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 站点标识0:中国 1:国际 (Optional) */
	Site int `json:"site"`

	/* 资源区域 (Optional) */
	Region string `json:"region"`

	/* 配置信息 (Optional) */
	Formula []Formula `json:"formula"`

	/* 否为试用资源 0:非试用 1:试用 (Optional) */
	IsOnTrial int `json:"isOnTrial"`

	/* 开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 支付时间 (Optional) */
	PayTime string `json:"payTime"`

	/* formula转换成字符串 (Optional) */
	FormulaStr string `json:"formulaStr"`

	/* billingType兼容交易系统字段 (Optional) */
	ChargeMode int `json:"chargeMode"`

	/* timeSpan兼容交易系统字段 (Optional) */
	ChargeDuration int `json:"chargeDuration"`

	/* timeUnit兼容交易系统字段 (Optional) */
	ChargeUnit int `json:"chargeUnit"`

	/* 欠费过期状态,1:包年包月正常 2:包年包月到期  3:按配置、按用量正常  4:按配置、按用量欠费 (Optional) */
	AeStatus int `json:"aeStatus"`

	/* 欠费、过期资源释放时间 (Optional) */
	ReleasingTime string `json:"releasingTime"`

	/* 交易单模块sourceId 计费不关心 (Optional) */
	SourceId string `json:"sourceId"`

	/* 计费开始时间 续费时本次续费周期开始时间 (Optional) */
	BillingStartTime string `json:"billingStartTime"`

	/* 最新价格map (Optional) */
	PriceMap interface{} `json:"priceMap"`

	/* 价格快照 (Optional) */
	PriceSnapshot string `json:"priceSnapshot"`

	/* 订单折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 折扣后订单价格 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 即将到期天数 (Optional) */
	ExpiringDays int `json:"expiringDays"`

	/* 计费类型描述 例如:按配置、包年包月 (Optional) */
	BillingCategoryDescription string `json:"billingCategoryDescription"`

	/* 计费详情描述 例如:按配置、包年包月(一年) (Optional) */
	Description string `json:"description"`

	/* refundNo (Optional) */
	RefundNo string `json:"refundNo"`

	/* 计费类型单号 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 促销明细 (Optional) */
	FavorableInfo string `json:"favorableInfo"`

	/* 资源名 (Optional) */
	ResourceName string `json:"resourceName"`

	/* 变配明细(1-升配,2-降配,3-调整配置,4-续费,5-续费升配,6-续费降配,7-配置转包年包月) (Optional) */
	ProcessType int `json:"processType"`

	/* 资源申请人 (Optional) */
	Applicant string `json:"applicant"`

	/* 计费模式  1.停服停止计费  2.关机停止计费 (Optional) */
	BillingMode int `json:"billingMode"`

	/* 启服、停服、停止计费时间 (Optional) */
	OperateTime string `json:"operateTime"`

	/* 欠费类型 1、无欠费,2、按配置欠费,3、按用量欠费,4、按配置和按用量都欠费 (Optional) */
	ArrearsType int `json:"arrearsType"`

	/* 欠费、过期资源释放时间-仅面向资源回收站使用 (Optional) */
	RecycleBinReleasingTime string `json:"recycleBinReleasingTime"`
}

type ResourceRefundReq added in v1.59.0

type ResourceRefundReq struct {

	/* 退款类型,退资源:REFUND_RESOURCE;退续费订单:REFUND_RENEW  */
	RefundType string `json:"refundType"`

	/* 退款请求的唯一标示  */
	RefId string `json:"refId"`

	/* 操作者类型  0:用户 1:运营人员  */
	OperatorType int `json:"operatorType"`

	/* 操作人,用户时传pin; 运营人员传操作人erp;  */
	OperatorName string `json:"operatorName"`

	/* 退款资源列表  */
	ResourceList []ResourceInfo `json:"resourceList"`
}

type ResourceStopDeleteRule added in v1.56.0

type ResourceStopDeleteRule struct {

	/* 站点  */
	Site int `json:"site"`

	/* 产品线  */
	AppCode string `json:"appCode"`

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 规则类型 1:试用规则 2、用户产品规则 3:用户规则 4:产品规则 5:通用规则 6:用户等级产品规则  */
	RuleType int `json:"ruleType"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 按配置欠费是否停服  1:欠费需要停服 0:欠费不需要停服  */
	ArrearStop int `json:"arrearStop"`

	/* 按配置欠费停服延后时长(0:立即停服  n:n几小时后停服)  */
	ArrearStopDelayHours int `json:"arrearStopDelayHours"`

	/* 按配置欠费停服是否释放资源  1:需要释放资源 0:不需要释放资源  */
	ArrearDelete int `json:"arrearDelete"`

	/* 按配置欠费停服释放资源延后时长(0:立即释放资源 n:n几小时后释放资源)  */
	ArrearDeleteDelayHours int `json:"arrearDeleteDelayHours"`

	/* 到期是否停服  1:到期需要停服 0:到期不需要停服  */
	ExpireStop int `json:"expireStop"`

	/* 到期停服延后时长(0:立即停服  n:n几小时后停服)  */
	ExpireStopDelayHours int `json:"expireStopDelayHours"`

	/* 到期停服是否释放资源  1:需要释放资源 0:不需要释放资源  */
	ExpireDelete int `json:"expireDelete"`

	/* 到期停服释放资源延后时长(0:立即释放资源  n:n几小时后释放资源)  */
	ExpireDeleteDelayHours int `json:"expireDeleteDelayHours"`

	/* 按配置欠费释放类型 1:释放资源  2:释放数据  */
	ArrearDeleteType int `json:"arrearDeleteType"`

	/* 到期释放类型 1:释放资源  2:释放数据  */
	ExpireDeleteType int `json:"expireDeleteType"`

	/* 按用量欠费是否停服  1:欠费需要停服 0:欠费不需要停服  */
	FlowArrearStop int `json:"flowArrearStop"`

	/* 按用量欠费停服延后时长  */
	FlowArrearStopDelayHours int `json:"flowArrearStopDelayHours"`

	/* 按用量欠费停服是否释放资源  1:需要释放资源 0:不需要释放资源  */
	FlowArrearDelete int `json:"flowArrearDelete"`

	/* 按用量欠费停服释放资源延后时长  */
	FlowArrearDeleteDelayHours int `json:"flowArrearDeleteDelayHours"`

	/* 按用量欠费释放类型 1:释放资源  2:释放数据  */
	FlowArrearDeleteType int `json:"flowArrearDeleteType"`

	/* 客户级别 1-普通客户 2-VIP客户 (Optional) */
	ClientType int `json:"clientType"`
}

type ResourceStopDeleteRuleVo added in v1.56.0

type ResourceStopDeleteRuleVo struct {

	/* 主键 (Optional) */
	Id int `json:"id"`

	/* 站点 (Optional) */
	Site int `json:"site"`

	/* 产品线编码 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 规则类型 1:试用规则 2、用户产品规则 3:用户规则 4:产品规则 5:通用规则 6:用户等级产品规则 (Optional) */
	RuleType int `json:"ruleType"`

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 按配置欠费是否停服  1:欠费需要停服 0:欠费不需要停服 (Optional) */
	ArrearStop int `json:"arrearStop"`

	/* 按配置欠费停服延后时长 (Optional) */
	ArrearStopDelayHours int `json:"arrearStopDelayHours"`

	/* 按配置欠费停服是否释放资源  1:需要释放资源 0:不需要释放资源 (Optional) */
	ArrearDelete int `json:"arrearDelete"`

	/* 按配置欠费停服释放资源延后时长 (Optional) */
	ArrearDeleteDelayHours int `json:"arrearDeleteDelayHours"`

	/* 到期是否停服  1:到期需要停服 0:到期不需要停服 (Optional) */
	ExpireStop int `json:"expireStop"`

	/* 到期停服延后时长 (Optional) */
	ExpireStopDelayHours int `json:"expireStopDelayHours"`

	/* 到期停服是否释放资源  1:需要释放资源 0:不需要释放资源 (Optional) */
	ExpireDelete int `json:"expireDelete"`

	/* 到期停服释放资源延后时长 (Optional) */
	ExpireDeleteDelayHours int `json:"expireDeleteDelayHours"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 按配置欠费释放类型 1:释放资源  2:释放数据 (Optional) */
	ArrearDeleteType int `json:"arrearDeleteType"`

	/* 到期释放类型 1:释放资源  2:释放数据 (Optional) */
	ExpireDeleteType int `json:"expireDeleteType"`

	/* 按用量欠费是否停服  1:欠费需要停服 0:欠费不需要停服 (Optional) */
	FlowArrearStop int `json:"flowArrearStop"`

	/* 按用量欠费停服延后时长 (Optional) */
	FlowArrearStopDelayHours int `json:"flowArrearStopDelayHours"`

	/* 按用量欠费停服是否释放资源  1:需要释放资源 0:不需要释放资源 (Optional) */
	FlowArrearDelete int `json:"flowArrearDelete"`

	/* 按用量欠费停服释放资源延后时长 (Optional) */
	FlowArrearDeleteDelayHours int `json:"flowArrearDeleteDelayHours"`

	/* 按用量欠费释放类型 1:释放资源  2:释放数据 (Optional) */
	FlowArrearDeleteType int `json:"flowArrearDeleteType"`

	/* 客户级别 1-普通客户 2-VIP客户 (Optional) */
	ClientType int `json:"clientType"`
}

type ResourceTag

type ResourceTag struct {

	/* 标签键 (Optional) */
	TagKey string `json:"tagKey"`

	/* 标签值 (Optional) */
	TagValue string `json:"tagValue"`
}

type ResourceTagVo added in v1.13.0

type ResourceTagVo struct {

	/* 标签键 (Optional) */
	TagKey string `json:"tagKey"`

	/* 标签值 (Optional) */
	TagValue string `json:"tagValue"`
}

type ResourceUsageReq added in v1.59.0

type ResourceUsageReq struct {

	/* 用户pin  */
	Pin string `json:"pin"`

	/* 产品线编码  */
	AppCode string `json:"appCode"`

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 地域  */
	Region string `json:"region"`

	/* az (Optional) */
	Az string `json:"az"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 开始时间(格式:2021-01-01 00:00:00)  */
	StartTime string `json:"startTime"`

	/* 结束时间(格式:2021-01-01 23:59:59)  */
	EndTime string `json:"endTime"`

	/* 站点(0:中国站)  */
	Site int `json:"site"`

	/* 计费项  */
	Formula []Formula `json:"formula"`

	/* 子类用量数据统计,用于云存储分账账单 (Optional) */
	SubList []SubFormula `json:"subList"`
}

type ServiceBillAdjust added in v1.59.0

type ServiceBillAdjust struct {

	/* 产品线  */
	AppCode string `json:"appCode"`

	/* 产品  */
	ServiceCode string `json:"serviceCode"`

	/* 调整月份,格式:yyyyMM  */
	BillDate int `json:"billDate"`

	/* 地域  */
	Region string `json:"region"`

	/* 计费类型 1按配置 2按用量 3包年包月 4按次  */
	BillingType int `json:"billingType"`

	/* 原价 (Optional) */
	BillFee float64 `json:"billFee"`

	/* 优惠金额 (Optional) */
	DiscountFee float64 `json:"discountFee"`

	/* 调整金额 (Optional) */
	AdjustFee float64 `json:"adjustFee"`

	/* 调整现金金额 (Optional) */
	CashPayFee float64 `json:"cashPayFee"`

	/* 调整余额金额 (Optional) */
	BalancePayFee float64 `json:"balancePayFee"`

	/* 调整代金券金额 (Optional) */
	CashCouponFee float64 `json:"cashCouponFee"`

	/* 代金券券码 (Optional) */
	CouponNumber string `json:"couponNumber"`
}

type SplitItemBillItemCondition

type SplitItemBillItemCondition struct {

	/* 查询类型,1.按天,2.按月  */
	QueryType int `json:"queryType"`

	/* 开始查询账期,按月:yyyy-MM,按天:yyyy-MM-dd  */
	BillStartDate string `json:"billStartDate"`

	/* 结束查询账期,按月:yyyy-MM,按天:yyyy-MM-dd  */
	BillEndDate string `json:"billEndDate"`

	/* 产品 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品 List (Optional) */
	ServiceCodes []string `json:"serviceCodes"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 分拆项id (Optional) */
	SubId string `json:"subId"`

	/* 分拆项名称 (Optional) */
	SubName string `json:"subName"`

	/* 分拆项id List (Optional) */
	SubIds []string `json:"subIds"`

	/* 计费项key,精确匹配 (Optional) */
	BillItem string `json:"billItem"`

	/* 标签 (Optional) */
	Tags []interface{} `json:"tags"`
}

type SplitItemBillItemVO

type SplitItemBillItemVO struct {

	/* 账期 (Optional) */
	BillDate string `json:"billDate"`

	/* 账单时间 (Optional) */
	BillTime string `json:"billTime"`

	/* 用户PIN (Optional) */
	Pin string `json:"pin"`

	/* 使用人账号ID (Optional) */
	UserId string `json:"userId"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 产品线 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品编码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 地域 (Optional) */
	Region string `json:"region"`

	/* 地域名称 (Optional) */
	RegionName string `json:"regionName"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 可用区名称 (Optional) */
	AzName string `json:"azName"`

	/* 计费类型 固定值:按用量 (Optional) */
	BillingType string `json:"billingType"`

	/* 账单编号 (Optional) */
	BillId string `json:"billId"`

	/* 本次费用计算开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 本次费用计算结束时间 (Optional) */
	EndTime string `json:"endTime"`

	/* 分拆项ID (Optional) */
	SubId string `json:"subId"`

	/* 分拆项名称 (Optional) */
	SubName string `json:"subName"`

	/* 计费项 (Optional) */
	BillItem string `json:"billItem"`

	/* 计费项信息 (Optional) */
	BillItemName string `json:"billItemName"`

	/* 计费项单位 (Optional) */
	BillItemUnit string `json:"billItemUnit"`

	/* 单价信息 (Optional) */
	UnitPrice string `json:"unitPrice"`

	/* 计费项用量值 (Optional) */
	UsageValue int `json:"usageValue"`

	/* 抵扣用量值 (Optional) */
	DeductValue int `json:"deductValue"`

	/* 原价 (Optional) */
	BillFee int `json:"billFee"`

	/* 应付 (Optional) */
	ActualFee int `json:"actualFee"`

	/* 标签明细 (Optional) */
	Tags []ResourceTag `json:"tags"`
}

type SplitItemBillSummary added in v1.63.0

type SplitItemBillSummary struct {

	/* 账期 (Optional) */
	BillDate string `json:"billDate"`

	/* 账单生成时间,仅用于查询分账账单天汇总接口 (Optional) */
	BillTime string `json:"billTime"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 产品线代码 (Optional) */
	AppCode string `json:"appCode"`

	/* 产品线代码名称 (Optional) */
	AppCodeName string `json:"appCodeName"`

	/* 产品代码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品代码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 计费类型 (Optional) */
	BillingType int `json:"billingType"`

	/* 计费类型描述 (Optional) */
	BillingTypeName string `json:"billingTypeName"`

	/* 账单编号,仅用于查询分账账单天汇总接口 (Optional) */
	BillId string `json:"billId"`

	/* 资源id (Optional) */
	ResourceId string `json:"resourceId"`

	/* 区域 (Optional) */
	Region string `json:"region"`

	/* 可用区 (Optional) */
	Az string `json:"az"`

	/* 分拆项ID (Optional) */
	SubId string `json:"subId"`

	/* 分拆项名称 (Optional) */
	SubName string `json:"subName"`

	/* 计费项信息 (Optional) */
	FormulaInfo string `json:"formulaInfo"`

	/* 用量信息 (Optional) */
	UsageInfo string `json:"usageInfo"`

	/* 单价 (Optional) */
	UnitPriceInfo string `json:"unitPriceInfo"`

	/* 资源包抵扣 (Optional) */
	DeductUsageInfo string `json:"deductUsageInfo"`

	/* 原价 (Optional) */
	BillFee float64 `json:"billFee"`

	/* 应付金额 (Optional) */
	ActualFee float64 `json:"actualFee"`

	/* 标签明细 (Optional) */
	TagDetails []ResourceTagVo `json:"tagDetails"`
}

type SubFormula

type SubFormula struct {

	/* 子类ID (Optional) */
	SubId string `json:"subId"`

	/* 子类名称 (Optional) */
	SubName string `json:"subName"`

	/* 子类计费项 (Optional) */
	Formula []Formula `json:"formula"`
}

type TagFilter added in v1.63.0

type TagFilter struct {

	/* 标签键 (Optional) */
	Key string `json:"key"`

	/* 标签值列表 (Optional) */
	Values []string `json:"values"`
}

type TidbPostpaidPinServiceMonthSummaryVo

type TidbPostpaidPinServiceMonthSummaryVo struct {

	/* 主键 (Optional) */
	Id int `json:"id"`

	/* 账期 (Optional) */
	BillDate string `json:"billDate"`

	/* 账单编号 (Optional) */
	BillId string `json:"billId"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 代付人pin (Optional) */
	PayerPin string `json:"payerPin"`

	/* 站点标识1:中国 2:国际 (Optional) */
	Site int `json:"site"`

	/* 应用编码 (Optional) */
	AppCode string `json:"appCode"`

	/* 服务编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 服务编码名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 主体编码 (Optional) */
	Org string `json:"org"`

	/* 应付金额,2位精度 (Optional) */
	ActualFee float64 `json:"actualFee"`

	/* 币种 (Optional) */
	Currency string `json:"currency"`

	/* 消费类型1、后付费,2.预付费 (Optional) */
	ConsumeType int `json:"consumeType"`

	/* 状态 (Optional) */
	Status int `json:"status"`

	/* 本条记录生成时刻、进入当前state的时刻 (Optional) */
	CreateTime string `json:"createTime"`

	/* 修改时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 版本 (Optional) */
	Version int `json:"version"`
}

type UnreleasedSc added in v1.63.0

type UnreleasedSc struct {

	/* 类型  1:可一键处理 2:需手动处理 (Optional) */
	AccessType int `json:"accessType"`

	/* 产品编码 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品名称 (Optional) */
	ServiceCodeName string `json:"serviceCodeName"`

	/* 描述 (Optional) */
	Desc string `json:"desc"`

	/* 控制台链接 (Optional) */
	ScUrl string `json:"scUrl"`

	/* 实例数量 (Optional) */
	ResourceCount string `json:"resourceCount"`
}

type UpdateBillingStatusReq added in v1.56.0

type UpdateBillingStatusReq struct {

	/* 产品编码  */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 操作(STOP 停止计费 ; RESTART 恢复计费)  */
	Action string `json:"action"`

	/* 操作说明 (Optional) */
	Comment string `json:"comment"`
}

type UsageAdjust added in v1.59.0

type UsageAdjust struct {

	/* 产品  */
	ServiceCode string `json:"serviceCode"`

	/* 资源ID  */
	ResourceId string `json:"resourceId"`

	/* 计费项code  */
	Property string `json:"property"`

	/* 调整金额  */
	AdjustUsage float64 `json:"adjustUsage"`
}

Source Files

Jump to

Keyboard shortcuts

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