v20240125

package
v1.0.1038 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "2024-01-25"
View Source
const (

	// 账号没有cam授权。
	UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) CreateSavingPlanOrder

func (c *Client) CreateSavingPlanOrder(request *CreateSavingPlanOrderRequest) (response *CreateSavingPlanOrderResponse, err error)

CreateSavingPlanOrder 创建节省计划订单

func (*Client) CreateSavingPlanOrderWithContext

func (c *Client) CreateSavingPlanOrderWithContext(ctx context.Context, request *CreateSavingPlanOrderRequest) (response *CreateSavingPlanOrderResponse, err error)

CreateSavingPlanOrder 创建节省计划订单

func (*Client) DescribeSavingPlanDeduct added in v1.0.928

func (c *Client) DescribeSavingPlanDeduct(request *DescribeSavingPlanDeductRequest) (response *DescribeSavingPlanDeductResponse, err error)

DescribeSavingPlanDeduct 查询节省计划抵扣明细

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeSavingPlanDeductWithContext added in v1.0.928

func (c *Client) DescribeSavingPlanDeductWithContext(ctx context.Context, request *DescribeSavingPlanDeductRequest) (response *DescribeSavingPlanDeductResponse, err error)

DescribeSavingPlanDeduct 查询节省计划抵扣明细

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeSavingPlanOverview added in v1.0.928

func (c *Client) DescribeSavingPlanOverview(request *DescribeSavingPlanOverviewRequest) (response *DescribeSavingPlanOverviewResponse, err error)

DescribeSavingPlanOverview 查用当前用户明细节省计划总览查询时段内的使用情况

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeSavingPlanOverviewWithContext added in v1.0.928

func (c *Client) DescribeSavingPlanOverviewWithContext(ctx context.Context, request *DescribeSavingPlanOverviewRequest) (response *DescribeSavingPlanOverviewResponse, err error)

DescribeSavingPlanOverview 查用当前用户明细节省计划总览查询时段内的使用情况

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeSavingPlanUsage added in v1.0.928

func (c *Client) DescribeSavingPlanUsage(request *DescribeSavingPlanUsageRequest) (response *DescribeSavingPlanUsageResponse, err error)

DescribeSavingPlanUsage 查用当前用户明细节省计划查询时段内的使用情况

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

func (*Client) DescribeSavingPlanUsageWithContext added in v1.0.928

func (c *Client) DescribeSavingPlanUsageWithContext(ctx context.Context, request *DescribeSavingPlanUsageRequest) (response *DescribeSavingPlanUsageResponse, err error)

DescribeSavingPlanUsage 查用当前用户明细节省计划查询时段内的使用情况

可能返回的错误码:

UNAUTHORIZEDOPERATION_CAMNOAUTH = "UnauthorizedOperation.CamNoAuth"

type CreateSavingPlanOrderRequest

type CreateSavingPlanOrderRequest struct {
	*tchttp.BaseRequest

	// 地域编码
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域编码
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 预付费类型
	PrePayType *string `json:"PrePayType,omitnil,omitempty" name:"PrePayType"`

	// 时长
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 时长单位
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 商品唯一标识
	CommodityCode *string `json:"CommodityCode,omitnil,omitempty" name:"CommodityCode"`

	// 承诺时长内的小额金额(单位:元)
	PromiseUseAmount *int64 `json:"PromiseUseAmount,omitnil,omitempty" name:"PromiseUseAmount"`

	// 节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻
	SpecifyEffectTime *string `json:"SpecifyEffectTime,omitnil,omitempty" name:"SpecifyEffectTime"`

	// 可重入ID
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

func NewCreateSavingPlanOrderRequest

func NewCreateSavingPlanOrderRequest() (request *CreateSavingPlanOrderRequest)

func (*CreateSavingPlanOrderRequest) FromJsonString

func (r *CreateSavingPlanOrderRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSavingPlanOrderRequest) ToJsonString

func (r *CreateSavingPlanOrderRequest) ToJsonString() string

type CreateSavingPlanOrderRequestParams

type CreateSavingPlanOrderRequestParams struct {
	// 地域编码
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域编码
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 预付费类型
	PrePayType *string `json:"PrePayType,omitnil,omitempty" name:"PrePayType"`

	// 时长
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 时长单位
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 商品唯一标识
	CommodityCode *string `json:"CommodityCode,omitnil,omitempty" name:"CommodityCode"`

	// 承诺时长内的小额金额(单位:元)
	PromiseUseAmount *int64 `json:"PromiseUseAmount,omitnil,omitempty" name:"PromiseUseAmount"`

	// 节省计划的指定生效时间,若不传则为当前下单时间。传参数格式:"2023-10-01 00:00:00",仅支持指定日期的0点时刻
	SpecifyEffectTime *string `json:"SpecifyEffectTime,omitnil,omitempty" name:"SpecifyEffectTime"`

	// 可重入ID
	ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"`
}

Predefined struct for user

type CreateSavingPlanOrderResponse

type CreateSavingPlanOrderResponse struct {
	*tchttp.BaseResponse
	Response *CreateSavingPlanOrderResponseParams `json:"Response"`
}

func NewCreateSavingPlanOrderResponse

func NewCreateSavingPlanOrderResponse() (response *CreateSavingPlanOrderResponse)

func (*CreateSavingPlanOrderResponse) FromJsonString

func (r *CreateSavingPlanOrderResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateSavingPlanOrderResponse) ToJsonString

func (r *CreateSavingPlanOrderResponse) ToJsonString() string

type CreateSavingPlanOrderResponseParams

type CreateSavingPlanOrderResponseParams struct {
	// 订单号
	BigDealId *string `json:"BigDealId,omitnil,omitempty" name:"BigDealId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSavingPlanDeductRequest added in v1.0.928

type DescribeSavingPlanDeductRequest struct {
	*tchttp.BaseRequest

	// 分页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 节省计划使用开始的查询结束时间
	StartEndDate *string `json:"StartEndDate,omitnil,omitempty" name:"StartEndDate"`

	// 节省计划使用开始的查询开始时间
	StartStartDate *string `json:"StartStartDate,omitnil,omitempty" name:"StartStartDate"`

	// 地域编码
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域编码
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 节省计划资源id
	SpId *string `json:"SpId,omitnil,omitempty" name:"SpId"`

	// 抵扣查询结束时间,格式:yyyy-MM-dd HH:mm:ss
	DeductEndDate *string `json:"DeductEndDate,omitnil,omitempty" name:"DeductEndDate"`

	// 抵扣查询开始时间,格式:yyyy-MM-dd HH:mm:ss
	DeductStartDate *string `json:"DeductStartDate,omitnil,omitempty" name:"DeductStartDate"`

	// 节省计划使用结束的查询结束时间
	EndEndDate *string `json:"EndEndDate,omitnil,omitempty" name:"EndEndDate"`

	// 节省计划使用结束的查询开始时间
	EndStartDate *string `json:"EndStartDate,omitnil,omitempty" name:"EndStartDate"`
}

func NewDescribeSavingPlanDeductRequest added in v1.0.928

func NewDescribeSavingPlanDeductRequest() (request *DescribeSavingPlanDeductRequest)

func (*DescribeSavingPlanDeductRequest) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanDeductRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanDeductRequest) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanDeductRequest) ToJsonString() string

type DescribeSavingPlanDeductRequestParams added in v1.0.928

type DescribeSavingPlanDeductRequestParams struct {
	// 分页偏移量
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 节省计划使用开始的查询结束时间
	StartEndDate *string `json:"StartEndDate,omitnil,omitempty" name:"StartEndDate"`

	// 节省计划使用开始的查询开始时间
	StartStartDate *string `json:"StartStartDate,omitnil,omitempty" name:"StartStartDate"`

	// 地域编码
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 区域编码
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 节省计划资源id
	SpId *string `json:"SpId,omitnil,omitempty" name:"SpId"`

	// 抵扣查询结束时间,格式:yyyy-MM-dd HH:mm:ss
	DeductEndDate *string `json:"DeductEndDate,omitnil,omitempty" name:"DeductEndDate"`

	// 抵扣查询开始时间,格式:yyyy-MM-dd HH:mm:ss
	DeductStartDate *string `json:"DeductStartDate,omitnil,omitempty" name:"DeductStartDate"`

	// 节省计划使用结束的查询结束时间
	EndEndDate *string `json:"EndEndDate,omitnil,omitempty" name:"EndEndDate"`

	// 节省计划使用结束的查询开始时间
	EndStartDate *string `json:"EndStartDate,omitnil,omitempty" name:"EndStartDate"`
}

Predefined struct for user

type DescribeSavingPlanDeductResponse added in v1.0.928

type DescribeSavingPlanDeductResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSavingPlanDeductResponseParams `json:"Response"`
}

func NewDescribeSavingPlanDeductResponse added in v1.0.928

func NewDescribeSavingPlanDeductResponse() (response *DescribeSavingPlanDeductResponse)

func (*DescribeSavingPlanDeductResponse) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanDeductResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanDeductResponse) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanDeductResponse) ToJsonString() string

type DescribeSavingPlanDeductResponseParams added in v1.0.928

type DescribeSavingPlanDeductResponseParams struct {
	// 查询命中的节省计划抵扣明细数据总条数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 查询命中的节省计划抵扣明细数据明细
	Deducts []*SavingPlanDeductDetail `json:"Deducts,omitnil,omitempty" name:"Deducts"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSavingPlanOverviewRequest added in v1.0.928

type DescribeSavingPlanOverviewRequest struct {
	*tchttp.BaseRequest

	// 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束时间,格式yyyy-MM-dd
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeSavingPlanOverviewRequest added in v1.0.928

func NewDescribeSavingPlanOverviewRequest() (request *DescribeSavingPlanOverviewRequest)

func (*DescribeSavingPlanOverviewRequest) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanOverviewRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanOverviewRequest) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanOverviewRequest) ToJsonString() string

type DescribeSavingPlanOverviewRequestParams added in v1.0.928

type DescribeSavingPlanOverviewRequestParams struct {
	// 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束时间,格式yyyy-MM-dd
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeSavingPlanOverviewResponse added in v1.0.928

type DescribeSavingPlanOverviewResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSavingPlanOverviewResponseParams `json:"Response"`
}

func NewDescribeSavingPlanOverviewResponse added in v1.0.928

func NewDescribeSavingPlanOverviewResponse() (response *DescribeSavingPlanOverviewResponse)

func (*DescribeSavingPlanOverviewResponse) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanOverviewResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanOverviewResponse) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanOverviewResponse) ToJsonString() string

type DescribeSavingPlanOverviewResponseParams added in v1.0.928

type DescribeSavingPlanOverviewResponseParams struct {
	// 节省计划总览明细数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Overviews []*SavingPlanOverviewDetail `json:"Overviews,omitnil,omitempty" name:"Overviews"`

	// 查询命中的节省计划总览明细数据总条数
	Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeSavingPlanUsageRequest added in v1.0.928

type DescribeSavingPlanUsageRequest struct {
	*tchttp.BaseRequest

	// 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束时间,格式yyyy-MM-dd
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 查询结果数据的时间间隔
	TimeInterval *string `json:"TimeInterval,omitnil,omitempty" name:"TimeInterval"`
}

func NewDescribeSavingPlanUsageRequest added in v1.0.928

func NewDescribeSavingPlanUsageRequest() (request *DescribeSavingPlanUsageRequest)

func (*DescribeSavingPlanUsageRequest) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanUsageRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanUsageRequest) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanUsageRequest) ToJsonString() string

type DescribeSavingPlanUsageRequestParams added in v1.0.928

type DescribeSavingPlanUsageRequestParams struct {
	// 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
	StartDate *string `json:"StartDate,omitnil,omitempty" name:"StartDate"`

	// 结束时间,格式yyyy-MM-dd
	EndDate *string `json:"EndDate,omitnil,omitempty" name:"EndDate"`

	// 分页偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页数量,最大值为200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 查询结果数据的时间间隔
	TimeInterval *string `json:"TimeInterval,omitnil,omitempty" name:"TimeInterval"`
}

Predefined struct for user

type DescribeSavingPlanUsageResponse added in v1.0.928

type DescribeSavingPlanUsageResponse struct {
	*tchttp.BaseResponse
	Response *DescribeSavingPlanUsageResponseParams `json:"Response"`
}

func NewDescribeSavingPlanUsageResponse added in v1.0.928

func NewDescribeSavingPlanUsageResponse() (response *DescribeSavingPlanUsageResponse)

func (*DescribeSavingPlanUsageResponse) FromJsonString added in v1.0.928

func (r *DescribeSavingPlanUsageResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeSavingPlanUsageResponse) ToJsonString added in v1.0.928

func (r *DescribeSavingPlanUsageResponse) ToJsonString() string

type DescribeSavingPlanUsageResponseParams added in v1.0.928

type DescribeSavingPlanUsageResponseParams struct {
	// 查询命中的节省计划总览明细数据总条数
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// 节省计划使用率数据
	// 注意:此字段可能返回 null,表示取不到有效值。
	Usages []*SavingPlanUsageDetail `json:"Usages,omitnil,omitempty" name:"Usages"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SavingPlanDeductDetail added in v1.0.928

type SavingPlanDeductDetail struct {
	// 账号id
	// 注意:此字段可能返回 null,表示取不到有效值。
	OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"`

	// 账号名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	OwnerUinName *string `json:"OwnerUinName,omitnil,omitempty" name:"OwnerUinName"`

	// 抵扣账号id
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerUin *string `json:"PayerUin,omitnil,omitempty" name:"PayerUin"`

	// 抵扣账号名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayerUinName *string `json:"PayerUinName,omitnil,omitempty" name:"PayerUinName"`

	// 节省计划资源id
	// 注意:此字段可能返回 null,表示取不到有效值。
	SpId *string `json:"SpId,omitnil,omitempty" name:"SpId"`

	// 产品编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductCode *string `json:"ProductCode,omitnil,omitempty" name:"ProductCode"`

	// 产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ProductName *string `json:"ProductName,omitnil,omitempty" name:"ProductName"`

	// 子产品编码
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubProductCode *string `json:"SubProductCode,omitnil,omitempty" name:"SubProductCode"`

	// 子产品名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	SubProductName *string `json:"SubProductName,omitnil,omitempty" name:"SubProductName"`

	// 交易ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	OutTradeNo *string `json:"OutTradeNo,omitnil,omitempty" name:"OutTradeNo"`

	// 地域id
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionId *int64 `json:"RegionId,omitnil,omitempty" name:"RegionId"`

	// 地域名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"`

	// 地区id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZoneId *int64 `json:"ZoneId,omitnil,omitempty" name:"ZoneId"`

	// 地区名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"`

	// 开始使用时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SpStartTime *string `json:"SpStartTime,omitnil,omitempty" name:"SpStartTime"`

	// 结束使用时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SpEndTime *string `json:"SpEndTime,omitnil,omitempty" name:"SpEndTime"`

	// 折扣时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeductTime *string `json:"DeductTime,omitnil,omitempty" name:"DeductTime"`

	// 抵扣金额,单位分
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeductAmount *string `json:"DeductAmount,omitnil,omitempty" name:"DeductAmount"`

	// 抵扣折扣率
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeductDiscount *string `json:"DeductDiscount,omitnil,omitempty" name:"DeductDiscount"`

	// 抵扣比率
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeductRate *string `json:"DeductRate,omitnil,omitempty" name:"DeductRate"`
}

type SavingPlanOverviewDetail added in v1.0.928

type SavingPlanOverviewDetail struct {
	// 节省计划类型
	SpType *string `json:"SpType,omitnil,omitempty" name:"SpType"`

	// 支付金额(单位:元)
	PayAmount *string `json:"PayAmount,omitnil,omitempty" name:"PayAmount"`

	// 开始时间 yyyy-mm-dd HH:mm:ss格式
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间 yyyy-mm-dd HH:mm:ss格式
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 状态
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 累计节省金额(单位:元)
	SavingAmount *string `json:"SavingAmount,omitnil,omitempty" name:"SavingAmount"`

	// 地域
	Region []*string `json:"Region,omitnil,omitempty" name:"Region"`

	// 支付类型
	// 注意:此字段可能返回 null,表示取不到有效值。
	PayType *uint64 `json:"PayType,omitnil,omitempty" name:"PayType"`

	// 购买时间 yyyy-mm-dd HH:mm:ss格式
	// 注意:此字段可能返回 null,表示取不到有效值。
	BuyTime *string `json:"BuyTime,omitnil,omitempty" name:"BuyTime"`
}

type SavingPlanUsageDetail added in v1.0.928

type SavingPlanUsageDetail struct {
	// 节省计划类型
	SpType *string `json:"SpType,omitnil,omitempty" name:"SpType"`

	// 节省计划状态
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 累计抵扣的金额(单位:元)
	DeductAmount *string `json:"DeductAmount,omitnil,omitempty" name:"DeductAmount"`

	// 累计承诺消费金额(单位:元)
	PromiseAmount *string `json:"PromiseAmount,omitnil,omitempty" name:"PromiseAmount"`

	// 累计净节省金额(单位:元)
	NetSavings *string `json:"NetSavings,omitnil,omitempty" name:"NetSavings"`

	// 使用率
	UtilizationRate *float64 `json:"UtilizationRate,omitnil,omitempty" name:"UtilizationRate"`

	// 累计流失金额(单位:元)
	LossAmount *string `json:"LossAmount,omitnil,omitempty" name:"LossAmount"`

	// 累计按量计费预期金额(单位:元)
	DosageAmount *string `json:"DosageAmount,omitnil,omitempty" name:"DosageAmount"`

	// 累计成本金额(单位:元)
	CostAmount *string `json:"CostAmount,omitnil,omitempty" name:"CostAmount"`

	// 地域
	// 注意:此字段可能返回 null,表示取不到有效值。
	Region []*string `json:"Region,omitnil,omitempty" name:"Region"`
}

Jump to

Keyboard shortcuts

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