models

package
v1.60.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountingRule added in v1.60.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.60.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"`
}

type AccountingRuleVo added in v1.60.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 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.60.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 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) */
	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 int `json:"totalFee"`

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

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

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

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

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

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

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

type BillingRuleRequest added in v1.60.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.60.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 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 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 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 {

	/* 折扣前总价 (Optional) */
	Price int `json:"price"`

	/* 四位小数价格 (Optional) */
	PriceScale4 int `json:"priceScale4"`

	/* 折扣金额 (Optional) */
	Discount int `json:"discount"`

	/* 折扣后订单金额 (Optional) */
	DiscountedPrice int `json:"discountedPrice"`

	/* 订单原价 包年时 一年原价为12个月价格,totalPrice为10个月价格 (Optional) */
	OriginalPrice int `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"`

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

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

	/* 时长类型 1:小时2:天3:月4:年 (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-临时升配) (Optional) */
	ProcessType int `json:"processType"`

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

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:年(包年包月新购、续费必传) (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"`
}

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 RefundFeeCondition added in v1.60.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 RefundOrderFee added in v1.60.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"`
}

type RefundResource added in v1.60.0

type RefundResource struct {

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

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

type RefundResourceFee added in v1.60.0

type RefundResourceFee struct {

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

	/* 资源退款金额 (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 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:用户删除,35:退款删除 (Optional) */
	State int `json:"state"`

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

	/* 变成此状态的原因.0:无 1:账单欠费, 2:资源过期 ,3:加入、移出白名单 ,4:补扣款成功, 5:规则修改,6:续费 7:管理员操作,8:用户操作 (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"`

	/*  (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.60.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 ResourceCountBo added in v1.60.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 ResourceOperateRecordReq added in v1.60.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 ResourceOrderRequest added in v1.60.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 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:年 (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"`
}

type ResourceStopDeleteRule added in v1.60.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.60.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 ResourceTagVo added in v1.13.0

type ResourceTagVo struct {

	/* 标签键 (Optional) */
	TagKey string `json:"tagKey"`

	/* 标签值 (Optional) */
	TagValue string `json:"tagValue"`
}

type UpdateBillingStatusReq added in v1.60.0

type UpdateBillingStatusReq struct {

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

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

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

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

Jump to

Keyboard shortcuts

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