v2

package
v0.1.26 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BssClientBuilder

func BssClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForAutoRenewalResources

func GenReqDefForAutoRenewalResources() *def.HttpRequestDef

func GenReqDefForCancelAutoRenewalResources

func GenReqDefForCancelAutoRenewalResources() *def.HttpRequestDef

func GenReqDefForCancelCustomerOrder

func GenReqDefForCancelCustomerOrder() *def.HttpRequestDef

func GenReqDefForCancelResourcesSubscription

func GenReqDefForCancelResourcesSubscription() *def.HttpRequestDef

func GenReqDefForChangeEnterpriseRealnameAuthentication

func GenReqDefForChangeEnterpriseRealnameAuthentication() *def.HttpRequestDef

func GenReqDefForCheckUserIdentity

func GenReqDefForCheckUserIdentity() *def.HttpRequestDef

func GenReqDefForCreateEnterpriseProjectAuth

func GenReqDefForCreateEnterpriseProjectAuth() *def.HttpRequestDef

func GenReqDefForCreateEnterpriseRealnameAuthentication

func GenReqDefForCreateEnterpriseRealnameAuthentication() *def.HttpRequestDef

func GenReqDefForCreatePartnerCoupons

func GenReqDefForCreatePartnerCoupons() *def.HttpRequestDef

func GenReqDefForCreatePersonalRealnameAuth

func GenReqDefForCreatePersonalRealnameAuth() *def.HttpRequestDef

func GenReqDefForCreatePostal

func GenReqDefForCreatePostal() *def.HttpRequestDef

func GenReqDefForCreateSubCustomer

func GenReqDefForCreateSubCustomer() *def.HttpRequestDef

func GenReqDefForCreateSubEnterpriseAccount

func GenReqDefForCreateSubEnterpriseAccount() *def.HttpRequestDef

func GenReqDefForDeletePostal

func GenReqDefForDeletePostal() *def.HttpRequestDef

func GenReqDefForListCities

func GenReqDefForListCities() *def.HttpRequestDef

func GenReqDefForListConsumeSubCustomers added in v0.0.85

func GenReqDefForListConsumeSubCustomers() *def.HttpRequestDef

func GenReqDefForListConversions

func GenReqDefForListConversions() *def.HttpRequestDef

func GenReqDefForListCosts added in v0.0.103

func GenReqDefForListCosts() *def.HttpRequestDef

func GenReqDefForListCounties

func GenReqDefForListCounties() *def.HttpRequestDef

func GenReqDefForListCouponQuotasRecords

func GenReqDefForListCouponQuotasRecords() *def.HttpRequestDef

func GenReqDefForListCustomerBillsFeeRecords

func GenReqDefForListCustomerBillsFeeRecords() *def.HttpRequestDef

func GenReqDefForListCustomerBillsMonthlyBreakDown

func GenReqDefForListCustomerBillsMonthlyBreakDown() *def.HttpRequestDef

func GenReqDefForListCustomerOnDemandResources

func GenReqDefForListCustomerOnDemandResources() *def.HttpRequestDef

func GenReqDefForListCustomerOrders

func GenReqDefForListCustomerOrders() *def.HttpRequestDef

func GenReqDefForListCustomersBalancesDetail

func GenReqDefForListCustomersBalancesDetail() *def.HttpRequestDef

func GenReqDefForListCustomerselfResourceRecordDetails

func GenReqDefForListCustomerselfResourceRecordDetails() *def.HttpRequestDef

func GenReqDefForListCustomerselfResourceRecords

func GenReqDefForListCustomerselfResourceRecords() *def.HttpRequestDef

func GenReqDefForListEnterpriseMultiAccount

func GenReqDefForListEnterpriseMultiAccount() *def.HttpRequestDef

func GenReqDefForListEnterpriseOrganizations

func GenReqDefForListEnterpriseOrganizations() *def.HttpRequestDef

func GenReqDefForListEnterpriseSubCustomers

func GenReqDefForListEnterpriseSubCustomers() *def.HttpRequestDef

func GenReqDefForListFreeResourceInfos added in v0.0.61

func GenReqDefForListFreeResourceInfos() *def.HttpRequestDef

func GenReqDefForListFreeResourceUsages added in v0.0.47

func GenReqDefForListFreeResourceUsages() *def.HttpRequestDef

func GenReqDefForListFreeResourcesUsageRecords added in v0.1.22

func GenReqDefForListFreeResourcesUsageRecords() *def.HttpRequestDef

func GenReqDefForListIncentiveDiscountPolicies added in v0.0.68

func GenReqDefForListIncentiveDiscountPolicies() *def.HttpRequestDef

func GenReqDefForListIndirectPartners

func GenReqDefForListIndirectPartners() *def.HttpRequestDef

func GenReqDefForListIssuedCouponQuotas

func GenReqDefForListIssuedCouponQuotas() *def.HttpRequestDef

func GenReqDefForListIssuedPartnerCoupons

func GenReqDefForListIssuedPartnerCoupons() *def.HttpRequestDef

func GenReqDefForListMeasureUnits

func GenReqDefForListMeasureUnits() *def.HttpRequestDef

func GenReqDefForListOnDemandResourceRatings

func GenReqDefForListOnDemandResourceRatings() *def.HttpRequestDef

func GenReqDefForListOrderCouponsByOrderId

func GenReqDefForListOrderCouponsByOrderId() *def.HttpRequestDef

func GenReqDefForListOrderDiscounts

func GenReqDefForListOrderDiscounts() *def.HttpRequestDef

func GenReqDefForListPartnerAccountChangeRecords added in v0.0.68

func GenReqDefForListPartnerAccountChangeRecords() *def.HttpRequestDef

func GenReqDefForListPartnerAdjustRecords

func GenReqDefForListPartnerAdjustRecords() *def.HttpRequestDef

func GenReqDefForListPartnerBalances

func GenReqDefForListPartnerBalances() *def.HttpRequestDef

func GenReqDefForListPartnerCouponsRecord

func GenReqDefForListPartnerCouponsRecord() *def.HttpRequestDef

func GenReqDefForListPayPerUseCustomerResources

func GenReqDefForListPayPerUseCustomerResources() *def.HttpRequestDef

func GenReqDefForListPostalAddress

func GenReqDefForListPostalAddress() *def.HttpRequestDef

func GenReqDefForListProvinces

func GenReqDefForListProvinces() *def.HttpRequestDef

func GenReqDefForListQuotaCoupons

func GenReqDefForListQuotaCoupons() *def.HttpRequestDef

func GenReqDefForListRateOnPeriodDetail

func GenReqDefForListRateOnPeriodDetail() *def.HttpRequestDef

func GenReqDefForListResourceTypes

func GenReqDefForListResourceTypes() *def.HttpRequestDef

func GenReqDefForListResourceUsage added in v0.0.59

func GenReqDefForListResourceUsage() *def.HttpRequestDef

func GenReqDefForListResourceUsageSummary added in v0.0.59

func GenReqDefForListResourceUsageSummary() *def.HttpRequestDef

func GenReqDefForListServiceResources

func GenReqDefForListServiceResources() *def.HttpRequestDef

func GenReqDefForListServiceTypes

func GenReqDefForListServiceTypes() *def.HttpRequestDef

func GenReqDefForListStoredValueCards added in v0.0.83

func GenReqDefForListStoredValueCards() *def.HttpRequestDef

func GenReqDefForListSubCustomerBillDetail added in v0.0.59

func GenReqDefForListSubCustomerBillDetail() *def.HttpRequestDef

func GenReqDefForListSubCustomerCoupons

func GenReqDefForListSubCustomerCoupons() *def.HttpRequestDef

func GenReqDefForListSubCustomers

func GenReqDefForListSubCustomers() *def.HttpRequestDef

func GenReqDefForListSubcustomerMonthlyBills

func GenReqDefForListSubcustomerMonthlyBills() *def.HttpRequestDef

func GenReqDefForListUsageTypes

func GenReqDefForListUsageTypes() *def.HttpRequestDef

func GenReqDefForPayOrders

func GenReqDefForPayOrders() *def.HttpRequestDef

func GenReqDefForReclaimCouponQuotas

func GenReqDefForReclaimCouponQuotas() *def.HttpRequestDef

func GenReqDefForReclaimIndirectPartnerAccount

func GenReqDefForReclaimIndirectPartnerAccount() *def.HttpRequestDef

func GenReqDefForReclaimPartnerCoupons

func GenReqDefForReclaimPartnerCoupons() *def.HttpRequestDef

func GenReqDefForReclaimSubEnterpriseAmount

func GenReqDefForReclaimSubEnterpriseAmount() *def.HttpRequestDef

func GenReqDefForReclaimToPartnerAccount

func GenReqDefForReclaimToPartnerAccount() *def.HttpRequestDef

func GenReqDefForRenewalResources

func GenReqDefForRenewalResources() *def.HttpRequestDef

func GenReqDefForSendSmsVerificationCode

func GenReqDefForSendSmsVerificationCode() *def.HttpRequestDef

func GenReqDefForSendVerificationMessageCode

func GenReqDefForSendVerificationMessageCode() *def.HttpRequestDef

func GenReqDefForShowCustomerAccountBalances

func GenReqDefForShowCustomerAccountBalances() *def.HttpRequestDef

func GenReqDefForShowCustomerMonthlySum

func GenReqDefForShowCustomerMonthlySum() *def.HttpRequestDef

func GenReqDefForShowCustomerOrderDetails

func GenReqDefForShowCustomerOrderDetails() *def.HttpRequestDef

func GenReqDefForShowMultiAccountTransferAmount

func GenReqDefForShowMultiAccountTransferAmount() *def.HttpRequestDef

func GenReqDefForShowRealnameAuthenticationReviewResult

func GenReqDefForShowRealnameAuthenticationReviewResult() *def.HttpRequestDef

func GenReqDefForShowRefundOrderDetails

func GenReqDefForShowRefundOrderDetails() *def.HttpRequestDef

func GenReqDefForUpdateCouponQuotas

func GenReqDefForUpdateCouponQuotas() *def.HttpRequestDef

func GenReqDefForUpdateCustomerAccountAmount

func GenReqDefForUpdateCustomerAccountAmount() *def.HttpRequestDef

func GenReqDefForUpdateIndirectPartnerAccount

func GenReqDefForUpdateIndirectPartnerAccount() *def.HttpRequestDef

func GenReqDefForUpdatePeriodToOnDemand

func GenReqDefForUpdatePeriodToOnDemand() *def.HttpRequestDef

func GenReqDefForUpdatePostal

func GenReqDefForUpdatePostal() *def.HttpRequestDef

func GenReqDefForUpdateSubEnterpriseAmount

func GenReqDefForUpdateSubEnterpriseAmount() *def.HttpRequestDef

Types

type AutoRenewalResourcesInvoker added in v0.0.90

type AutoRenewalResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*AutoRenewalResourcesInvoker) Invoke added in v0.0.90

type BssClient

type BssClient struct {
	HcClient *http_client.HcHttpClient
}

func NewBssClient

func NewBssClient(hcClient *http_client.HcHttpClient) *BssClient

func (*BssClient) AutoRenewalResources

AutoRenewalResources 设置包年/包月资源自动续费

为防止资源到期被删除,客户可为长期使用的包年/包月资源开通自动续费。

客户在费用中心开通自动续费请参见[这里](https://support.huaweicloud.com/usermanual-billing/renewals_topic_20000003.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 首先要客户成功支付包年/包月资源订单,才能进行自动续费的开通。 >- 目前支持设置自动续费的包年/包月产品请参见[自动续费规则说明](https://support.huaweicloud.com/usermanual-billing/renewals_topic_20000002.html)。 >- 在调用本接口前,您可以调用“[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)”接口获取资源ID、资源过期时间以及资源过期后扣费策略等信息。 >- 自动续费将于产品到期前7天的凌晨3:00开始扣款,请保持账户余额充足。若由于账户中余额不足等原因导致第一次未扣费成功,系统将每天凌晨3:00尝试进行一次扣款,直到扣款成功或保留产品资源的最后一天。 >- 续费周期与原资源的购买周期一致。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) AutoRenewalResourcesInvoker added in v0.0.90

func (c *BssClient) AutoRenewalResourcesInvoker(request *model.AutoRenewalResourcesRequest) *AutoRenewalResourcesInvoker

AutoRenewalResourcesInvoker 设置包年/包月资源自动续费

func (*BssClient) CancelAutoRenewalResources

CancelAutoRenewalResources 取消包年/包月资源自动续费

客户设置自动续费后,还可以执行取消自动续费的操作。关闭自动续费后,资源到期将不会被自动续费。

客户在费用中心取消包年/包月资源自动续费请参见[这里](https://support.huaweicloud.com/usermanual-billing/renewals_topic_20000005.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 前提是已经调用“[设置包年/包月资源自动续费](https://support.huaweicloud.com/api-oce/api_order_00022.html)”接口设置自动续费或在调用“[续订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00018.html)”接口时设置到期策略为自动续订。 >- 目前支持取消自动续费的包年/包月产品同支持自动续费的包年/包月产品。 >- 在调用本接口前,您可以调用“[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-bpconsole/api_order_00021.html)”接口获取资源ID、资源过期时间以及资源过期后扣费策略等信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CancelAutoRenewalResourcesInvoker added in v0.0.90

func (c *BssClient) CancelAutoRenewalResourcesInvoker(request *model.CancelAutoRenewalResourcesRequest) *CancelAutoRenewalResourcesInvoker

CancelAutoRenewalResourcesInvoker 取消包年/包月资源自动续费

func (*BssClient) CancelCustomerOrder

CancelCustomerOrder 取消待支付订单

客户可以对待支付的订单进行取消操作。

客户登录费用中心取消包年包月产品的待支付订单请单击[这里](https://support.huaweicloud.com/usermanual-billing/zh-cn_topic_0031465730.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >只有订单状态是“待支付”的时候,才能取消订单。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CancelCustomerOrderInvoker added in v0.0.90

func (c *BssClient) CancelCustomerOrderInvoker(request *model.CancelCustomerOrderRequest) *CancelCustomerOrderInvoker

CancelCustomerOrderInvoker 取消待支付订单

func (*BssClient) CancelResourcesSubscription

CancelResourcesSubscription 退订包年/包月资源

客户购买包年/包月资源后,支持客户退订包年/包月实例。退订资源实例包括资源续费部分和当前正在使用的部分,退订后资源将无法使用。

客户在费用中心退订已购买的包年包月资源请参见[这里](https://support.huaweicloud.com/usermanual-billing/zh-cn_topic_0083138805.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 首先要成功支付包年/包月产品,产生一条开通成功的包年/包月资源,才能进行退订。 >- 调用接口后,如果某个主资源有对应的从资源,系统会将主资源和从资源一起退订,主资源的从资源信息可以通过调用[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)接口获取。 >- 注意:如ECS主机挂载新购的云硬盘,但此硬盘不是该ECS主资源的从资源,主从资源信息必须以调用[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)接口获取的信息为准。 >- 调用该接口后,您还可以调用“[查询退款订单的金额详情](查询退款订单的金额详情.md)”接口查询退订订单对应的金额来自哪些订单。 >- 该接口支持5天无理由全额退订,具体规则请参见“[退订规则说明](https://support.huaweicloud.com/usermanual-billing/unsubscription_topic_20000081.html)”。 >- 您正在退订使用中的资源,请仔细确认资源信息和退款信息。未放入回收站的资源退订后无法恢复,若您要保留资源,仅退订未使用的续费周期,请退订续费周期。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CancelResourcesSubscriptionInvoker added in v0.0.90

func (c *BssClient) CancelResourcesSubscriptionInvoker(request *model.CancelResourcesSubscriptionRequest) *CancelResourcesSubscriptionInvoker

CancelResourcesSubscriptionInvoker 退订包年/包月资源

func (*BssClient) ChangeEnterpriseRealnameAuthentication

ChangeEnterpriseRealnameAuthentication 申请实名认证变更

客户可以进行实名认证变更申请。

个人客户登录帐号中心通过实名认证变更为企业帐号的方式及流程请参见[这里](https://support.huaweicloud.com/usermanual-account/zh-cn_topic_0103532632.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ChangeEnterpriseRealnameAuthenticationInvoker added in v0.0.90

func (c *BssClient) ChangeEnterpriseRealnameAuthenticationInvoker(request *model.ChangeEnterpriseRealnameAuthenticationRequest) *ChangeEnterpriseRealnameAuthenticationInvoker

ChangeEnterpriseRealnameAuthenticationInvoker 申请实名认证变更

func (*BssClient) CheckUserIdentity

func (c *BssClient) CheckUserIdentity(request *model.CheckUserIdentityRequest) (*model.CheckUserIdentityResponse, error)

CheckUserIdentity 校验客户注册信息

客户注册时可检查客户的登录名称、手机号或者邮箱是否可以用于注册。

>![](public_sys-resources/icon-note.gif) **说明:** >针对校验手机号场景,目前仅支持校验手机号注册数量是否超过上限。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CheckUserIdentityInvoker added in v0.0.90

func (c *BssClient) CheckUserIdentityInvoker(request *model.CheckUserIdentityRequest) *CheckUserIdentityInvoker

CheckUserIdentityInvoker 校验客户注册信息

func (*BssClient) CreateEnterpriseProjectAuth

CreateEnterpriseProjectAuth 开通客户企业项目权限

客户在自建平台开通客户企业项目权限。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreateEnterpriseProjectAuthInvoker added in v0.0.90

func (c *BssClient) CreateEnterpriseProjectAuthInvoker(request *model.CreateEnterpriseProjectAuthRequest) *CreateEnterpriseProjectAuthInvoker

CreateEnterpriseProjectAuthInvoker 开通客户企业项目权限

func (*BssClient) CreateEnterpriseRealnameAuthentication

CreateEnterpriseRealnameAuthentication 申请企业实名认证

企业客户可以进行企业实名认证申请。

客户登录帐号中心进行企业实名认证的方式及流程请参见[这里](https://support.huaweicloud.com/usermanual-account/zh-cn_topic_0077914253.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreateEnterpriseRealnameAuthenticationInvoker added in v0.0.90

func (c *BssClient) CreateEnterpriseRealnameAuthenticationInvoker(request *model.CreateEnterpriseRealnameAuthenticationRequest) *CreateEnterpriseRealnameAuthenticationInvoker

CreateEnterpriseRealnameAuthenticationInvoker 申请企业实名认证

func (*BssClient) CreatePartnerCoupons

CreatePartnerCoupons 发放优惠券

合作伙伴可以在拥有的代金券额度范围内为客户下发优惠券。

伙伴登录合作伙伴中心为客户发放代金券请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/espp_050502.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >只能给代售子客户发放优惠券。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreatePartnerCouponsInvoker added in v0.0.90

func (c *BssClient) CreatePartnerCouponsInvoker(request *model.CreatePartnerCouponsRequest) *CreatePartnerCouponsInvoker

CreatePartnerCouponsInvoker 发放优惠券

func (*BssClient) CreatePersonalRealnameAuth

CreatePersonalRealnameAuth 申请个人实名认证

个人客户可以进行个人实名认证申请。

客户登录帐号中心进行个人实名认证的方式及流程请参见[这里](https://support.huaweicloud.com/usermanual-account/zh-cn_topic_0077914254.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreatePersonalRealnameAuthInvoker added in v0.0.90

func (c *BssClient) CreatePersonalRealnameAuthInvoker(request *model.CreatePersonalRealnameAuthRequest) *CreatePersonalRealnameAuthInvoker

CreatePersonalRealnameAuthInvoker 申请个人实名认证

func (*BssClient) CreatePostal

func (c *BssClient) CreatePostal(request *model.CreatePostalRequest) (*model.CreatePostalResponse, error)

CreatePostal 新增邮寄地址

伙伴可以新增自己的邮寄地址信息。

伙伴登录伙伴中心新增邮寄地址请参见[向华为云索取发票](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435143.html),进入索取发票页面,选择纸质发票,即可设置邮件地址。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreatePostalInvoker added in v0.0.90

func (c *BssClient) CreatePostalInvoker(request *model.CreatePostalRequest) *CreatePostalInvoker

CreatePostalInvoker 新增邮寄地址

func (*BssClient) CreateSubCustomer

func (c *BssClient) CreateSubCustomer(request *model.CreateSubCustomerRequest) (*model.CreateSubCustomerResponse, error)

CreateSubCustomer 创建客户

在伙伴销售平台创建客户时同步创建华为云账号,并将客户在伙伴销售平台上的账号与华为云账号进行映射。同时,创建的华为云账号与伙伴账号关联绑定。

华为云总经销商(一级经销商)可以注册云经销商(二级经销商)的子客户。注册完成后,子客户可以自动和云经销商绑定。

>![](public_sys-resources/icon-caution.gif) **注意:** >- 调用该接口为客户创建华为云账号后,如果想从合作伙伴销售平台跳转至华为云官网,还需要进行SAML认证,具体请参见“[Web UI方式](https://support.huaweicloud.com/api-bpconsole/jac_00001.html)”中的“SAML认证”。 >- 如果创建的时候不输入手机号,那么客户将无法收到华为云发出的任何提醒短信,需要客户自己登录到华为云平台补充手机号。 >- 调用“创建客户”接口时,华为云会同步创建华为云客户账号,将客户ID及账号名返回给伙伴平台,然后华为云异步完成客户与伙伴的关联。伙伴与客户的关联结果可通过“[查询客户列表](https://support.huaweicloud.com/api-bpconsole/mc_00021.html)”查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreateSubCustomerInvoker added in v0.0.90

func (c *BssClient) CreateSubCustomerInvoker(request *model.CreateSubCustomerRequest) *CreateSubCustomerInvoker

CreateSubCustomerInvoker 创建客户

func (*BssClient) CreateSubEnterpriseAccount

CreateSubEnterpriseAccount 创建企业子账号

企业主账号在自建平台创建企业子账号。

企业主账号创建企业子账号请参见[这里](https://support.huaweicloud.com/usermanual-em/zh-cn_topic_0104194162.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) CreateSubEnterpriseAccountInvoker added in v0.0.90

func (c *BssClient) CreateSubEnterpriseAccountInvoker(request *model.CreateSubEnterpriseAccountRequest) *CreateSubEnterpriseAccountInvoker

CreateSubEnterpriseAccountInvoker 创建企业子账号

func (*BssClient) DeletePostal

func (c *BssClient) DeletePostal(request *model.DeletePostalRequest) (*model.DeletePostalResponse, error)

DeletePostal 删除邮寄地址

伙伴可以删除自己的邮寄地址信息。

伙伴登录伙伴中心修改邮寄地址请参见[向华为云索取发票](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435143.html),进入索取发票页面,选择删除邮寄地址,即可删除邮件地址。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) DeletePostalInvoker added in v0.0.90

func (c *BssClient) DeletePostalInvoker(request *model.DeletePostalRequest) *DeletePostalInvoker

DeletePostalInvoker 删除邮寄地址

func (*BssClient) ListCities

func (c *BssClient) ListCities(request *model.ListCitiesRequest) (*model.ListCitiesResponse, error)

ListCities 查询城市信息

伙伴在伙伴销售平台上查询城市信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCitiesInvoker added in v0.0.90

func (c *BssClient) ListCitiesInvoker(request *model.ListCitiesRequest) *ListCitiesInvoker

ListCitiesInvoker 查询城市信息

func (*BssClient) ListConsumeSubCustomers added in v0.0.85

ListConsumeSubCustomers 查询伙伴消费子客户列表

伙伴在伙伴销售平台可实时查询消费账期内的子客户列表,可以用于查询子客户的消费记录。

>![](public_sys-resources/icon-note.gif) **说明:** >若当前子客户与伙伴无关联关系,仍可查询账期内处于关联状态且有消费的子客户列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListConsumeSubCustomersInvoker added in v0.0.90

func (c *BssClient) ListConsumeSubCustomersInvoker(request *model.ListConsumeSubCustomersRequest) *ListConsumeSubCustomersInvoker

ListConsumeSubCustomersInvoker 查询伙伴消费子客户列表

func (*BssClient) ListConversions

func (c *BssClient) ListConversions(request *model.ListConversionsRequest) (*model.ListConversionsResponse, error)

ListConversions 查询度量单位进制

伙伴在伙伴销售平台上查询度量单位的进制转换信息,用于不同度量单位之间的转换。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListConversionsInvoker added in v0.0.90

func (c *BssClient) ListConversionsInvoker(request *model.ListConversionsRequest) *ListConversionsInvoker

ListConversionsInvoker 查询度量单位进制

func (*BssClient) ListCosts added in v0.0.103

func (c *BssClient) ListCosts(request *model.ListCostsRequest) (*model.ListCostsResponse, error)

ListCosts 查询成本数据

客户在自建平台查询成本分析数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCostsInvoker added in v0.0.103

func (c *BssClient) ListCostsInvoker(request *model.ListCostsRequest) *ListCostsInvoker

ListCostsInvoker 查询成本数据

func (*BssClient) ListCounties

func (c *BssClient) ListCounties(request *model.ListCountiesRequest) (*model.ListCountiesResponse, error)

ListCounties 查询区县信息

伙伴在伙伴销售平台上查询区县信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCountiesInvoker added in v0.0.90

func (c *BssClient) ListCountiesInvoker(request *model.ListCountiesRequest) *ListCountiesInvoker

ListCountiesInvoker 查询区县信息

func (*BssClient) ListCouponQuotasRecords

ListCouponQuotasRecords 查询代金券额度的发放回收记录

华为云总经销商(一级经销商)可以查看给云经销商(二级经销商)发放或回收代金券额度的操作记录。

一级经销商可以登录伙伴中心,进入“客户业务** **\\> 代金券管理”,选择“代金券额度”页签,单击“操作记录”查看代金券额度的发放和回收记录。

>![](public_sys-resources/icon-note.gif) **说明:** >伙伴也可以单击代金券额度所在行的“操作记录”,查看该代金券额度对应的操作记录日志。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCouponQuotasRecordsInvoker added in v0.0.90

func (c *BssClient) ListCouponQuotasRecordsInvoker(request *model.ListCouponQuotasRecordsRequest) *ListCouponQuotasRecordsInvoker

ListCouponQuotasRecordsInvoker 查询代金券额度的发放回收记录

func (*BssClient) ListCustomerBillsFeeRecords

ListCustomerBillsFeeRecords 查询流水账单

客户在自建平台查询自己的消费流水账单。

客户登录费用中心查询自己的消费流水账单请参见[这里](https://support.huaweicloud.com/usermanual-billing/bills-topic_80000001.html#bills-topic_80000001__zh-cn_topic_0000001162496407_s716e04d5d0ba4e9d9a76a8bcbfbcfe73)的“**查看流水账单**”。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerBillsFeeRecordsInvoker added in v0.0.90

func (c *BssClient) ListCustomerBillsFeeRecordsInvoker(request *model.ListCustomerBillsFeeRecordsRequest) *ListCustomerBillsFeeRecordsInvoker

ListCustomerBillsFeeRecordsInvoker 查询流水账单

func (*BssClient) ListCustomerBillsMonthlyBreakDown

ListCustomerBillsMonthlyBreakDown 查询月度成本

客户可以查询指定月份的月度摊销成本。当前仅支持查询近18个月的摊销成本。摊销成本计算规则请参见[成本摊销规则](https://support.huaweicloud.com/usermanual-cost/costcenter_000002_01.html)。

客户可查询的数据范围同成本中心提供的[数据范围](https://support.huaweicloud.com/usermanual-cost/costcenter_0000004.html)一致。

客户登录成本中心导出成本明细请参见[导出成本明细数据](https://support.huaweicloud.com/usermanual-cost/costcenter_000002_03.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >该接口仅面向已开通成本中心的客户开放。如何开启成本中心请参见[这里](https://support.huaweicloud.com/usermanual-cost/costcenter_000004.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerBillsMonthlyBreakDownInvoker added in v0.0.90

func (c *BssClient) ListCustomerBillsMonthlyBreakDownInvoker(request *model.ListCustomerBillsMonthlyBreakDownRequest) *ListCustomerBillsMonthlyBreakDownInvoker

ListCustomerBillsMonthlyBreakDownInvoker 查询月度成本

func (*BssClient) ListCustomerOnDemandResources

ListCustomerOnDemandResources 查询客户按需资源列表

合作伙伴可以查询关联的代售类客户已开通的按需资源。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerOnDemandResourcesInvoker added in v0.0.90

func (c *BssClient) ListCustomerOnDemandResourcesInvoker(request *model.ListCustomerOnDemandResourcesRequest) *ListCustomerOnDemandResourcesInvoker

ListCustomerOnDemandResourcesInvoker 查询客户按需资源列表

func (*BssClient) ListCustomerOrders

func (c *BssClient) ListCustomerOrders(request *model.ListCustomerOrdersRequest) (*model.ListCustomerOrdersResponse, error)

ListCustomerOrders 查询订单列表

客户购买包年/包月资源后,可以查看待审核、处理中、已取消、已完成和待支付等状态的订单。

伙伴登录伙伴中心查看客户订单请单击[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0076200001.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >如果想查询某条订单下的资源信息,在调用本接口获取订单ID后,请调用“[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)”接口在请求参数输入订单号进行查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerOrdersInvoker added in v0.0.90

func (c *BssClient) ListCustomerOrdersInvoker(request *model.ListCustomerOrdersRequest) *ListCustomerOrdersInvoker

ListCustomerOrdersInvoker 查询订单列表

func (*BssClient) ListCustomersBalancesDetail

ListCustomersBalancesDetail 查询客户账户余额

合作伙伴可以查询关联的代售类客户的账户余额。

伙伴登录伙伴中心查询客户余额请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435115.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >顾问销售类客户是客户在华为云充值,合作伙伴无法调用此接口查询其账户余额。代售类客户的账户由合作伙伴拨款,所以可以查询到。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomersBalancesDetailInvoker added in v0.0.90

func (c *BssClient) ListCustomersBalancesDetailInvoker(request *model.ListCustomersBalancesDetailRequest) *ListCustomersBalancesDetailInvoker

ListCustomersBalancesDetailInvoker 查询客户账户余额

func (*BssClient) ListCustomerselfResourceRecordDetails

ListCustomerselfResourceRecordDetails 查询资源详单

客户在自建平台查询自己的资源详单,用于反映各类资源的消耗情况。

客户登录费用中心查询资源详单请参见[这里](https://support.huaweicloud.com/usermanual-billing/bills_topic_100000063.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >由于资源消费呈现的是资源维度的8位小数原始消费金额,实际从账户扣费时按2位小数进行扣费(即扣到分),会存在精度差异,所以,不推荐消费汇总和资源消费直接对账。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerselfResourceRecordDetailsInvoker added in v0.0.90

func (c *BssClient) ListCustomerselfResourceRecordDetailsInvoker(request *model.ListCustomerselfResourceRecordDetailsRequest) *ListCustomerselfResourceRecordDetailsInvoker

ListCustomerselfResourceRecordDetailsInvoker 查询资源详单

func (*BssClient) ListCustomerselfResourceRecords

ListCustomerselfResourceRecords 查询资源消费记录

客户在自建平台查询每个资源的消费明细数据。

客户登录费用中心查询资源消费记录请参见[这里](https://support.huaweicloud.com/usermanual-billing/bills_topic_100000061.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListCustomerselfResourceRecordsInvoker added in v0.0.90

func (c *BssClient) ListCustomerselfResourceRecordsInvoker(request *model.ListCustomerselfResourceRecordsRequest) *ListCustomerselfResourceRecordsInvoker

ListCustomerselfResourceRecordsInvoker 查询资源消费记录

func (*BssClient) ListEnterpriseMultiAccount

ListEnterpriseMultiAccount 查询企业子账号可回收余额

企业主账号在自建平台查询企业子账号的可回收余额。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListEnterpriseMultiAccountInvoker added in v0.0.90

func (c *BssClient) ListEnterpriseMultiAccountInvoker(request *model.ListEnterpriseMultiAccountRequest) *ListEnterpriseMultiAccountInvoker

ListEnterpriseMultiAccountInvoker 查询企业子账号可回收余额

func (*BssClient) ListEnterpriseOrganizations

ListEnterpriseOrganizations 查询企业组织结构

企业主账号在自建平台查询企业组织结构。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListEnterpriseOrganizationsInvoker added in v0.0.90

func (c *BssClient) ListEnterpriseOrganizationsInvoker(request *model.ListEnterpriseOrganizationsRequest) *ListEnterpriseOrganizationsInvoker

ListEnterpriseOrganizationsInvoker 查询企业组织结构

func (*BssClient) ListEnterpriseSubCustomers

ListEnterpriseSubCustomers 查询企业子账号列表

企业主账号在自建平台查询企业子账号信息列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListEnterpriseSubCustomersInvoker added in v0.0.90

func (c *BssClient) ListEnterpriseSubCustomersInvoker(request *model.ListEnterpriseSubCustomersRequest) *ListEnterpriseSubCustomersInvoker

ListEnterpriseSubCustomersInvoker 查询企业子账号列表

func (*BssClient) ListFreeResourceInfos added in v0.0.61

ListFreeResourceInfos 查询资源包列表

客户在伙伴销售平台查询客户的资源包列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListFreeResourceInfosInvoker added in v0.0.90

func (c *BssClient) ListFreeResourceInfosInvoker(request *model.ListFreeResourceInfosRequest) *ListFreeResourceInfosInvoker

ListFreeResourceInfosInvoker 查询资源包列表

func (*BssClient) ListFreeResourceUsages added in v0.0.47

ListFreeResourceUsages 查询资源包使用量

客户在伙伴销售平台根据资源项维度查询客户的资源包使用量。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListFreeResourceUsagesInvoker added in v0.0.90

func (c *BssClient) ListFreeResourceUsagesInvoker(request *model.ListFreeResourceUsagesRequest) *ListFreeResourceUsagesInvoker

ListFreeResourceUsagesInvoker 查询资源包使用量

func (*BssClient) ListFreeResourcesUsageRecords added in v0.1.22

ListFreeResourcesUsageRecords 查询资源包使用明细

客户在自建平台查询资源包使用明细。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListFreeResourcesUsageRecordsInvoker added in v0.1.22

func (c *BssClient) ListFreeResourcesUsageRecordsInvoker(request *model.ListFreeResourcesUsageRecordsRequest) *ListFreeResourcesUsageRecordsInvoker

ListFreeResourcesUsageRecordsInvoker 查询资源包使用明细

func (*BssClient) ListIncentiveDiscountPolicies added in v0.0.68

ListIncentiveDiscountPolicies 查询产品的折扣和激励策略

伙伴在伙伴销售平台上查询产品的折扣和激励策略。

伙伴登录合作伙伴中心查看产品的折扣和激励策略请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120400.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListIncentiveDiscountPoliciesInvoker added in v0.0.90

func (c *BssClient) ListIncentiveDiscountPoliciesInvoker(request *model.ListIncentiveDiscountPoliciesRequest) *ListIncentiveDiscountPoliciesInvoker

ListIncentiveDiscountPoliciesInvoker 查询产品的折扣和激励策略

func (*BssClient) ListIndirectPartners

ListIndirectPartners 查询云经销商列表

华为云总经销商(一级经销商)可以查询云经销商(二级经销商)列表。

一级经销商在伙伴中心查询二级经销商列表的方式请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120210.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListIndirectPartnersInvoker added in v0.0.90

func (c *BssClient) ListIndirectPartnersInvoker(request *model.ListIndirectPartnersRequest) *ListIndirectPartnersInvoker

ListIndirectPartnersInvoker 查询云经销商列表

func (*BssClient) ListIssuedCouponQuotas

ListIssuedCouponQuotas 查询已发放的代金券额度

华为云总经销商(一级经销商)可以查看发放给云经销商(二级经销商)的代金券额度列表。

一级经销商登录伙伴中心,进入“客户业务** **\\> 代金券管理”,选择“已发放代金券额度”可查看代金券额度列表。

>![](public_sys-resources/icon-note.gif) **说明:** >调用该接口之前,需通过客户经理联系华为运营人员,为合作伙伴设置代金券发放额度。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListIssuedCouponQuotasInvoker added in v0.0.90

func (c *BssClient) ListIssuedCouponQuotasInvoker(request *model.ListIssuedCouponQuotasRequest) *ListIssuedCouponQuotasInvoker

ListIssuedCouponQuotasInvoker 查询已发放的代金券额度

func (*BssClient) ListIssuedPartnerCoupons

ListIssuedPartnerCoupons 查询已发放的优惠券

合作伙伴可以查询已发放的优惠券列表。

伙伴登录伙伴中心,进入“客户业务** **\\> 代金券管理”,选择“已发放代金券”页签,即可查询已发放的代金券。

伙伴登录伙伴中心,进入“客户业务 \\> 现金券管理”,选择“已发放现金券”页签,即可查询已发放的现金券。

>![](public_sys-resources/icon-note.gif) **说明:** >只可查到失效时间在12个月内的代金/现金劵。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListIssuedPartnerCouponsInvoker added in v0.0.90

func (c *BssClient) ListIssuedPartnerCouponsInvoker(request *model.ListIssuedPartnerCouponsRequest) *ListIssuedPartnerCouponsInvoker

ListIssuedPartnerCouponsInvoker 查询已发放的优惠券

func (*BssClient) ListMeasureUnits

func (c *BssClient) ListMeasureUnits(request *model.ListMeasureUnitsRequest) (*model.ListMeasureUnitsResponse, error)

ListMeasureUnits 查询度量单位列表

伙伴在伙伴销售平台上查询资源使用量,包年包月资源的时长及金额的度量单位及名称,度量单位类型等。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListMeasureUnitsInvoker added in v0.0.90

func (c *BssClient) ListMeasureUnitsInvoker(request *model.ListMeasureUnitsRequest) *ListMeasureUnitsInvoker

ListMeasureUnitsInvoker 查询度量单位列表

func (*BssClient) ListOnDemandResourceRatings

ListOnDemandResourceRatings 查询按需产品价格

伙伴在销售平台按照条件查询按需产品的价格。

如果购买该产品的租户享受折扣,可以在查询结果中返回折扣金额以及扣除折扣后的最后成交价。

如果该租户享受多种折扣,系统会优先返回客户享受的商务折扣的折扣金额和最终成交价。

>![](public_sys-resources/icon-caution.gif) **注意:** >华为云根据云服务类型、资源类型、云服务区和资源规格四个条件来查询产品,查询时请确认这4个查询条件均输入正确,否则该接口会返回无法找到产品的错误。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListOnDemandResourceRatingsInvoker added in v0.0.90

func (c *BssClient) ListOnDemandResourceRatingsInvoker(request *model.ListOnDemandResourceRatingsRequest) *ListOnDemandResourceRatingsInvoker

ListOnDemandResourceRatingsInvoker 查询按需产品价格

func (*BssClient) ListOrderCouponsByOrderId

ListOrderCouponsByOrderId 查询订单可用优惠券

客户在伙伴销售平台支付待支付订单时,查询可使用的优惠券列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListOrderCouponsByOrderIdInvoker added in v0.0.90

func (c *BssClient) ListOrderCouponsByOrderIdInvoker(request *model.ListOrderCouponsByOrderIdRequest) *ListOrderCouponsByOrderIdInvoker

ListOrderCouponsByOrderIdInvoker 查询订单可用优惠券

func (*BssClient) ListOrderDiscounts

func (c *BssClient) ListOrderDiscounts(request *model.ListOrderDiscountsRequest) (*model.ListOrderDiscountsResponse, error)

ListOrderDiscounts 查询订单可用折扣

客户在伙伴销售平台支付待支付订单时,查询可使用的折扣信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListOrderDiscountsInvoker added in v0.0.90

func (c *BssClient) ListOrderDiscountsInvoker(request *model.ListOrderDiscountsRequest) *ListOrderDiscountsInvoker

ListOrderDiscountsInvoker 查询订单可用折扣

func (*BssClient) ListPartnerAccountChangeRecords added in v0.0.68

ListPartnerAccountChangeRecords 查询收支明细

伙伴在伙伴销售平台上查询自身的收支明细情况。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPartnerAccountChangeRecordsInvoker added in v0.0.90

func (c *BssClient) ListPartnerAccountChangeRecordsInvoker(request *model.ListPartnerAccountChangeRecordsRequest) *ListPartnerAccountChangeRecordsInvoker

ListPartnerAccountChangeRecordsInvoker 查询收支明细

func (*BssClient) ListPartnerAdjustRecords

ListPartnerAdjustRecords 查询调账记录

伙伴在伙伴销售平台查询向客户及关联的云经销商(二级经销商)拨款或回收的调账记录。

伙伴登录伙伴中心,在“拨款”或“回收”页面,单击“调账记录”,可以查看一级经销商为二级经销商调账的记录。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPartnerAdjustRecordsInvoker added in v0.0.90

func (c *BssClient) ListPartnerAdjustRecordsInvoker(request *model.ListPartnerAdjustRecordsRequest) *ListPartnerAdjustRecordsInvoker

ListPartnerAdjustRecordsInvoker 查询调账记录

func (*BssClient) ListPartnerBalances

ListPartnerBalances 查询云经销商账户余额

华为云总经销商(一级经销商)可以查询关联的云经销商(二级经销商)的账户余额;云经销商伙伴可以查询自己的账户余额。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPartnerBalancesInvoker added in v0.0.90

func (c *BssClient) ListPartnerBalancesInvoker(request *model.ListPartnerBalancesRequest) *ListPartnerBalancesInvoker

ListPartnerBalancesInvoker 查询云经销商账户余额

func (*BssClient) ListPartnerCouponsRecord

ListPartnerCouponsRecord 查询优惠券的发放回收记录

合作伙伴可查看给客户发放和回收优惠券的操作记录。

合作伙伴登录伙伴中心查看、导出代金券操作日志请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435103.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPartnerCouponsRecordInvoker added in v0.0.90

func (c *BssClient) ListPartnerCouponsRecordInvoker(request *model.ListPartnerCouponsRecordRequest) *ListPartnerCouponsRecordInvoker

ListPartnerCouponsRecordInvoker 查询优惠券的发放回收记录

func (*BssClient) ListPayPerUseCustomerResources

ListPayPerUseCustomerResources 查询客户包年/包月资源列表

客户在伙伴销售平台查询某个或所有的包年/包月资源。

>![](public_sys-resources/icon-note.gif) **说明:** >成功调用本接口后,如果您需要对已生效状态的资源进行续订,您可以调用“[查询包年/包月产品价格](https://support.huaweicloud.com/api-bpconsole/bcloud_01002.html)”接口对查询到的包年/包月资源进行续订询价,然后再调用“[续订包年/包月资源](https://support.huaweicloud.com/api-bpconsole/api_order_00018.html)”接口进行续订。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPayPerUseCustomerResourcesInvoker added in v0.0.90

func (c *BssClient) ListPayPerUseCustomerResourcesInvoker(request *model.ListPayPerUseCustomerResourcesRequest) *ListPayPerUseCustomerResourcesInvoker

ListPayPerUseCustomerResourcesInvoker 查询客户包年/包月资源列表

func (*BssClient) ListPostalAddress

func (c *BssClient) ListPostalAddress(request *model.ListPostalAddressRequest) (*model.ListPostalAddressResponse, error)

ListPostalAddress 查询邮寄地址

伙伴可以查询自己的邮寄地址信息。

伙伴登录伙伴中心查询邮寄地址请参见[向华为云索取发票](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435143.html),进入索取发票页面,即可查看邮寄地址。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListPostalAddressInvoker added in v0.0.90

func (c *BssClient) ListPostalAddressInvoker(request *model.ListPostalAddressRequest) *ListPostalAddressInvoker

ListPostalAddressInvoker 查询邮寄地址

func (*BssClient) ListProvinces

func (c *BssClient) ListProvinces(request *model.ListProvincesRequest) (*model.ListProvincesResponse, error)

ListProvinces 查询省份信息

伙伴在伙伴销售平台上查询省份信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListProvincesInvoker added in v0.0.90

func (c *BssClient) ListProvincesInvoker(request *model.ListProvincesRequest) *ListProvincesInvoker

ListProvincesInvoker 查询省份信息

func (*BssClient) ListQuotaCoupons

func (c *BssClient) ListQuotaCoupons(request *model.ListQuotaCouponsRequest) (*model.ListQuotaCouponsResponse, error)

ListQuotaCoupons 查询优惠券额度

合作伙伴可以查看所拥有的优惠劵额度。

伙伴登录合作伙伴中心查看所拥有的代金券额度请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435100.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListQuotaCouponsInvoker added in v0.0.90

func (c *BssClient) ListQuotaCouponsInvoker(request *model.ListQuotaCouponsRequest) *ListQuotaCouponsInvoker

ListQuotaCouponsInvoker 查询优惠券额度

func (*BssClient) ListRateOnPeriodDetail

ListRateOnPeriodDetail 查询包年/包月产品价格

伙伴在销售平台按照条件查询包年/包月产品开通时候的价格。

如果购买该产品的客户享受折扣,可以在查询结果中返回折扣金额以及扣除折扣后的最后成交价。

如果该客户享受多种折扣,系统会返回每种折扣的批价结果。如果客户在下单的时候选择自动支付,则系统会优先应用商务折扣的批价结果。

>![](public_sys-resources/icon-caution.gif) **注意:** >华为云根据云服务类型、资源类型、云服务区和资源规格四个条件来查询产品,查询时请确认这4个查询条件均输入正确,否则该接口会返回无法找到产品的错误。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListRateOnPeriodDetailInvoker added in v0.0.90

func (c *BssClient) ListRateOnPeriodDetailInvoker(request *model.ListRateOnPeriodDetailRequest) *ListRateOnPeriodDetailInvoker

ListRateOnPeriodDetailInvoker 查询包年/包月产品价格

func (*BssClient) ListResourceTypes

func (c *BssClient) ListResourceTypes(request *model.ListResourceTypesRequest) (*model.ListResourceTypesResponse, error)

ListResourceTypes 查询资源类型列表

伙伴在伙伴销售平台查询资源类型的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListResourceTypesInvoker added in v0.0.90

func (c *BssClient) ListResourceTypesInvoker(request *model.ListResourceTypesRequest) *ListResourceTypesInvoker

ListResourceTypesInvoker 查询资源类型列表

func (*BssClient) ListResourceUsage added in v0.0.59

func (c *BssClient) ListResourceUsage(request *model.ListResourceUsageRequest) (*model.ListResourceUsageResponse, error)

ListResourceUsage 查询95计费资源用量明细

客户在自建平台查询自己的资源使用量明细。

>![](public_sys-resources/icon-note.gif) **说明:** >当前仅支持查询CDN和OBS两种云服务类型的资源用量明细,仅针对95计费场景。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListResourceUsageInvoker added in v0.0.90

func (c *BssClient) ListResourceUsageInvoker(request *model.ListResourceUsageRequest) *ListResourceUsageInvoker

ListResourceUsageInvoker 查询95计费资源用量明细

func (*BssClient) ListResourceUsageSummary added in v0.0.59

ListResourceUsageSummary 查询95计费资源用量汇总

客户在自建平台查询自己的资源使用量汇总。

>![](public_sys-resources/icon-note.gif) **说明:** >- 当前仅支持查询CDN和OBS两种云服务类型的资源用量汇总,仅针对95计费场景。 >- 使用量汇总列表只包含月汇总金额和资源ID,若要查询具体某个资源的用量明细,请调用[查询资源用量明细](https://support.huaweicloud.com/api-oce/zh-cn_topic_0000001190606757.html)接口获取。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListResourceUsageSummaryInvoker added in v0.0.90

func (c *BssClient) ListResourceUsageSummaryInvoker(request *model.ListResourceUsageSummaryRequest) *ListResourceUsageSummaryInvoker

ListResourceUsageSummaryInvoker 查询95计费资源用量汇总

func (*BssClient) ListServiceResources

ListServiceResources 根据云服务类型查询资源列表

伙伴在伙伴销售平台根据云服务类型查询关联的资源类型编码和名称,用于查询按需产品的价格或包年/包月产品的价格。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListServiceResourcesInvoker added in v0.0.90

func (c *BssClient) ListServiceResourcesInvoker(request *model.ListServiceResourcesRequest) *ListServiceResourcesInvoker

ListServiceResourcesInvoker 根据云服务类型查询资源列表

func (*BssClient) ListServiceTypes

func (c *BssClient) ListServiceTypes(request *model.ListServiceTypesRequest) (*model.ListServiceTypesResponse, error)

ListServiceTypes 查询云服务类型列表

伙伴在伙伴销售平台查询云服务类型的列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListServiceTypesInvoker added in v0.0.90

func (c *BssClient) ListServiceTypesInvoker(request *model.ListServiceTypesRequest) *ListServiceTypesInvoker

ListServiceTypesInvoker 查询云服务类型列表

func (*BssClient) ListStoredValueCards added in v0.0.83

ListStoredValueCards 查询储值卡列表

客户可以查询已购买的储值卡列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListStoredValueCardsInvoker added in v0.0.90

func (c *BssClient) ListStoredValueCardsInvoker(request *model.ListStoredValueCardsRequest) *ListStoredValueCardsInvoker

ListStoredValueCardsInvoker 查询储值卡列表

func (*BssClient) ListSubCustomerBillDetail added in v0.0.59

ListSubCustomerBillDetail 查询伙伴子客户消费记录

伙伴在伙伴销售平台可实时查询子客户的消费记录,了解客户的资源消耗情况。

伙伴在伙伴中心查询客户消费明细请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435155.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 消费记录支持查询18个月内的记录。 >- 如果是客户经理主管来查询,只支持按照单个客户经理查询,必须输入客户经理ID。 >- 目前支持伙伴查询所有子客户(包含代售类和顾问销售类)的消费记录。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListSubCustomerBillDetailInvoker added in v0.0.90

func (c *BssClient) ListSubCustomerBillDetailInvoker(request *model.ListSubCustomerBillDetailRequest) *ListSubCustomerBillDetailInvoker

ListSubCustomerBillDetailInvoker 查询伙伴子客户消费记录

func (*BssClient) ListSubCustomerCoupons

ListSubCustomerCoupons 查询优惠券列表

伙伴可以查询自身的优惠券信息。

伙伴登录伙伴中心查询已发放代金券列表请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435101.html),查看已下发代金券的内容。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListSubCustomerCouponsInvoker added in v0.0.90

func (c *BssClient) ListSubCustomerCouponsInvoker(request *model.ListSubCustomerCouponsRequest) *ListSubCustomerCouponsInvoker

ListSubCustomerCouponsInvoker 查询优惠券列表

func (*BssClient) ListSubCustomers

func (c *BssClient) ListSubCustomers(request *model.ListSubCustomersRequest) (*model.ListSubCustomersResponse, error)

ListSubCustomers 查询客户列表

伙伴可以查询合作伙伴的客户信息列表。

伙伴登录合作伙伴中心查询客户信息列表请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435115.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListSubCustomersInvoker added in v0.0.90

func (c *BssClient) ListSubCustomersInvoker(request *model.ListSubCustomersRequest) *ListSubCustomersInvoker

ListSubCustomersInvoker 查询客户列表

func (*BssClient) ListSubcustomerMonthlyBills

ListSubcustomerMonthlyBills 查询客户月度消费账单

合作伙伴可查询客户的消费汇总账单,消费按月汇总。

伙伴在伙伴中心查询客户月度消费账单请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435154.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >消费汇总数据仅包含前一天24点前的数据。每天刷新一次,更新前一天的数据。 >该接口用于合作伙伴查询其代售类客户在华为的消费情况,如果输入某个客户ID,则是查询单个客户的,否则是查询该伙伴下所有使用伙伴拨款消费的客户的消费记录(包括退订记录)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListSubcustomerMonthlyBillsInvoker added in v0.0.90

func (c *BssClient) ListSubcustomerMonthlyBillsInvoker(request *model.ListSubcustomerMonthlyBillsRequest) *ListSubcustomerMonthlyBillsInvoker

ListSubcustomerMonthlyBillsInvoker 查询客户月度消费账单

func (*BssClient) ListUsageTypes

func (c *BssClient) ListUsageTypes(request *model.ListUsageTypesRequest) (*model.ListUsageTypesResponse, error)

ListUsageTypes 查询使用量类型列表

伙伴在伙伴销售平台查询资源的使用量类型列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ListUsageTypesInvoker added in v0.0.90

func (c *BssClient) ListUsageTypesInvoker(request *model.ListUsageTypesRequest) *ListUsageTypesInvoker

ListUsageTypesInvoker 查询使用量类型列表

func (*BssClient) PayOrders

func (c *BssClient) PayOrders(request *model.PayOrdersRequest) (*model.PayOrdersResponse, error)

PayOrders 支付包年/包月产品订单

客户可以对待支付状态的包年/包月产品订单进行支付。

客户登录费用中心支付包年包月产品的待支付订单请单击[这里](https://support.huaweicloud.com/usermanual-billing/zh-cn_topic_0031512547.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- API支持月度结算和余额支付两种支付方式,月度结算优先。 >- 余额支付包括现金账户和信用账户两种支付方式,如果两个账户都有余额,则优先现金账户支付。 >- 同时使用订单折扣和优惠券的互斥规则如下: > - 如果优惠券的限制属性上存在simultaneousUseWithEmpowerDiscount字段,并且值为0,则折扣和优惠券不能同时使用。 > - 如果优惠券的限制属性上存在minConsumeDiscount字段,当折扣ID包含的所有订单项上的折扣率discount\\_ratio都小于minConsumeDiscount字段时,则折扣ID和优惠券不能同时使用。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) PayOrdersInvoker added in v0.0.90

func (c *BssClient) PayOrdersInvoker(request *model.PayOrdersRequest) *PayOrdersInvoker

PayOrdersInvoker 支付包年/包月产品订单

func (*BssClient) ReclaimCouponQuotas

ReclaimCouponQuotas 回收云经销商的代金券额度

华为云总经销商(一级经销商)可以回收已发放给云经销商(二级经销商)的代金券额度。

一级经销商在伙伴中心回收已发放给二级经销商的代金券额度请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120206.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ReclaimCouponQuotasInvoker added in v0.0.90

func (c *BssClient) ReclaimCouponQuotasInvoker(request *model.ReclaimCouponQuotasRequest) *ReclaimCouponQuotasInvoker

ReclaimCouponQuotasInvoker 回收云经销商的代金券额度

func (*BssClient) ReclaimIndirectPartnerAccount

ReclaimIndirectPartnerAccount 回收云经销商账户拨款

华为云总经销商(一级经销商)可以回收云经销商(二级经销商)的账户余额。

一级经销商在伙伴中心回收二级经销商账户拨款请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120205.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ReclaimIndirectPartnerAccountInvoker added in v0.0.90

func (c *BssClient) ReclaimIndirectPartnerAccountInvoker(request *model.ReclaimIndirectPartnerAccountRequest) *ReclaimIndirectPartnerAccountInvoker

ReclaimIndirectPartnerAccountInvoker 回收云经销商账户拨款

func (*BssClient) ReclaimPartnerCoupons

ReclaimPartnerCoupons 回收优惠券

对于合作伙伴已经下发给客户的优惠券,如遇发错或其他特殊情况,合作伙伴有回收的权利。优惠券回收后,客户将不再拥有该优惠券。

伙伴登录合作伙伴中心回收为客户发放的代金券请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/espp_050503.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >只能回收代售类子客户的优惠券。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ReclaimPartnerCouponsInvoker added in v0.0.90

func (c *BssClient) ReclaimPartnerCouponsInvoker(request *model.ReclaimPartnerCouponsRequest) *ReclaimPartnerCouponsInvoker

ReclaimPartnerCouponsInvoker 回收优惠券

func (*BssClient) ReclaimSubEnterpriseAmount

ReclaimSubEnterpriseAmount 企业主账号从企业子账号回收拨款

企业主账号在自建平台回收给企业子账号的拨款。

如果回收的是企业子账户的信用账户,可以回收所有额度;如果回收金额大于子账户信用余额的时候,可能会导致子账户欠费,请慎重选择。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ReclaimSubEnterpriseAmountInvoker added in v0.0.90

func (c *BssClient) ReclaimSubEnterpriseAmountInvoker(request *model.ReclaimSubEnterpriseAmountRequest) *ReclaimSubEnterpriseAmountInvoker

ReclaimSubEnterpriseAmountInvoker 企业主账号从企业子账号回收拨款

func (*BssClient) ReclaimToPartnerAccount

ReclaimToPartnerAccount 回收客户账户余额

当客户不再使用华为云产品时,合作伙伴可以回收代售类客户账户余额。

伙伴登录伙伴中心回收代售类客户账户余额请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435147.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ReclaimToPartnerAccountInvoker added in v0.0.90

func (c *BssClient) ReclaimToPartnerAccountInvoker(request *model.ReclaimToPartnerAccountRequest) *ReclaimToPartnerAccountInvoker

ReclaimToPartnerAccountInvoker 回收客户账户余额

func (*BssClient) RenewalResources

func (c *BssClient) RenewalResources(request *model.RenewalResourcesRequest) (*model.RenewalResourcesResponse, error)

RenewalResources 续订包年/包月资源

客户的包年/包月资源即将到期时,可进行包年/包月资源的续订。

客户在费用中心执行续订操作请参见[这里](https://support.huaweicloud.com/usermanual-billing/renewals_topic_10000003.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 调用接口后,如果某个主资源有对应的从资源,系统会将主资源和从资源一起续订,主资源的从资源信息可以通过调用[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)接口获取。 >- 注意:如ECS主机挂载新购的云硬盘,但此硬盘不是该ECS主资源的从资源,主从资源信息必须以调用[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)接口获取的信息为准。 >- 本接口支持自动支付,支付时使用折扣或优惠券的说明,请参见[支付使用折扣或优惠券说明](https://support.huaweicloud.com/api-oce/appendix_00001.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) RenewalResourcesInvoker added in v0.0.90

func (c *BssClient) RenewalResourcesInvoker(request *model.RenewalResourcesRequest) *RenewalResourcesInvoker

RenewalResourcesInvoker 续订包年/包月资源

func (*BssClient) SendSmsVerificationCode

SendSmsVerificationCode 发送短信验证码

企业主账号在自建平台发送短信验证码。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) SendSmsVerificationCodeInvoker added in v0.0.90

func (c *BssClient) SendSmsVerificationCodeInvoker(request *model.SendSmsVerificationCodeRequest) *SendSmsVerificationCodeInvoker

SendSmsVerificationCodeInvoker 发送短信验证码

func (*BssClient) SendVerificationMessageCode

SendVerificationMessageCode 发送验证码

客户注册时,如果填写了手机号,可以向对应的手机发送注册验证码,校验信息的正确性。使用个人银行卡方式进行实名认证时,通过该接口向指定的手机发送验证码。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) SendVerificationMessageCodeInvoker added in v0.0.90

func (c *BssClient) SendVerificationMessageCodeInvoker(request *model.SendVerificationMessageCodeRequest) *SendVerificationMessageCodeInvoker

SendVerificationMessageCodeInvoker 发送验证码

func (*BssClient) ShowCustomerAccountBalances

ShowCustomerAccountBalances 查询账户余额

客户可以查询自身的账户余额。

客户可以登录费用中心进入“[总览](https://account.huaweicloud.com/usercenter/#/userindex/allview)”页面,在“可用额度”区域可以查询自身的账户余额。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowCustomerAccountBalancesInvoker added in v0.0.90

func (c *BssClient) ShowCustomerAccountBalancesInvoker(request *model.ShowCustomerAccountBalancesRequest) *ShowCustomerAccountBalancesInvoker

ShowCustomerAccountBalancesInvoker 查询账户余额

func (*BssClient) ShowCustomerMonthlySum

ShowCustomerMonthlySum 查询汇总账单

客户在自建平台查询自身的消费汇总账单,此账单按月汇总消费数据。

客户登录费用中心查询自身的消费汇总账单请参见[这里](https://support.huaweicloud.com/usermanual-billing/bills-topic_80000001.html#bills-topic_80000001__zh-cn_topic_0000001162496407_s620ce713baf04899a416d781d1817931)的“**查看汇总**”。

>![](public_sys-resources/icon-note.gif) **说明:** >当前支持查看2019/01月份至今的费用账单。企业主账号展示的费用账单,包含关联的统一还款企业子账号的消费数据。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowCustomerMonthlySumInvoker added in v0.0.90

func (c *BssClient) ShowCustomerMonthlySumInvoker(request *model.ShowCustomerMonthlySumRequest) *ShowCustomerMonthlySumInvoker

ShowCustomerMonthlySumInvoker 查询汇总账单

func (*BssClient) ShowCustomerOrderDetails

ShowCustomerOrderDetails 查询订单详情

客户可以在伙伴销售平台查看订单详情。

客户登录费用中心查看订单详情请单击[这里](https://support.huaweicloud.com/usermanual-billing/order_topic_9000001.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >如果想查询某条订单下的资源信息,请调用“[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)”接口在请求参数输入订单号进行查询。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowCustomerOrderDetailsInvoker added in v0.0.90

func (c *BssClient) ShowCustomerOrderDetailsInvoker(request *model.ShowCustomerOrderDetailsRequest) *ShowCustomerOrderDetailsInvoker

ShowCustomerOrderDetailsInvoker 查询订单详情

func (*BssClient) ShowMultiAccountTransferAmount

ShowMultiAccountTransferAmount 查询企业主账号可拨款余额

企业主账号在自建平台查询自己的可拨款余额。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowMultiAccountTransferAmountInvoker added in v0.0.90

func (c *BssClient) ShowMultiAccountTransferAmountInvoker(request *model.ShowMultiAccountTransferAmountRequest) *ShowMultiAccountTransferAmountInvoker

ShowMultiAccountTransferAmountInvoker 查询企业主账号可拨款余额

func (*BssClient) ShowRealnameAuthenticationReviewResult

ShowRealnameAuthenticationReviewResult 查询实名认证审核结果

如果实名认证申请或实名认证变更申请的响应中,显示需要人工审核,使用该接口查询审核结果。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowRealnameAuthenticationReviewResultInvoker added in v0.0.90

func (c *BssClient) ShowRealnameAuthenticationReviewResultInvoker(request *model.ShowRealnameAuthenticationReviewResultRequest) *ShowRealnameAuthenticationReviewResultInvoker

ShowRealnameAuthenticationReviewResultInvoker 查询实名认证审核结果

func (*BssClient) ShowRefundOrderDetails

ShowRefundOrderDetails 查询退款订单的金额详情

客户在伙伴销售平台查询某次退订订单或者降配订单的退款金额来自哪些资源和对应订单。

>![](public_sys-resources/icon-note.gif) **说明:** >- 可以在调用完“[退订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00019.html)”接口生成退订订单ID后,调用该接口查询退订订单对应的金额所属资源和订单。例如,调用“[退订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00019.html)”接口退订资源及其已续费周期后,您可以调用本小节的接口查询到退订金额归属的原开通订单ID和原续费订单ID。 >- 2018年5月份之后退订的订单才能查询到归属的原订单ID。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) ShowRefundOrderDetailsInvoker added in v0.0.90

func (c *BssClient) ShowRefundOrderDetailsInvoker(request *model.ShowRefundOrderDetailsRequest) *ShowRefundOrderDetailsInvoker

ShowRefundOrderDetailsInvoker 查询退款订单的金额详情

func (*BssClient) UpdateCouponQuotas

func (c *BssClient) UpdateCouponQuotas(request *model.UpdateCouponQuotasRequest) (*model.UpdateCouponQuotasResponse, error)

UpdateCouponQuotas 向云经销商发放代金券额度

华为云总经销商(一级经销商)可以向云经销商(二级经销商)发放代金券额度。

一级经销商在伙伴中心向二级经销商发放代金券额度请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120206.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdateCouponQuotasInvoker added in v0.0.90

func (c *BssClient) UpdateCouponQuotasInvoker(request *model.UpdateCouponQuotasRequest) *UpdateCouponQuotasInvoker

UpdateCouponQuotasInvoker 向云经销商发放代金券额度

func (*BssClient) UpdateCustomerAccountAmount

UpdateCustomerAccountAmount 向客户账户拨款

合作伙伴可以为代售类客户账户拨款。

伙伴登录伙伴中心为代售类客户账户拨款请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435147.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdateCustomerAccountAmountInvoker added in v0.0.90

func (c *BssClient) UpdateCustomerAccountAmountInvoker(request *model.UpdateCustomerAccountAmountRequest) *UpdateCustomerAccountAmountInvoker

UpdateCustomerAccountAmountInvoker 向客户账户拨款

func (*BssClient) UpdateIndirectPartnerAccount

UpdateIndirectPartnerAccount 向云经销商账户拨款

华为云总经销商(一级经销商)可以向云经销商(二级经销商)账户拨款。

一级经销商在伙伴中心向二级经销商拨款请参见[这里](https://support.huaweicloud.com/usermanual-bpconsole/dp_120205.html)。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdateIndirectPartnerAccountInvoker added in v0.0.90

func (c *BssClient) UpdateIndirectPartnerAccountInvoker(request *model.UpdateIndirectPartnerAccountRequest) *UpdateIndirectPartnerAccountInvoker

UpdateIndirectPartnerAccountInvoker 向云经销商账户拨款

func (*BssClient) UpdatePeriodToOnDemand

UpdatePeriodToOnDemand 设置或取消包年/包月资源到期转按需

客户可以设置包年/包月资源到期后转为按需资源计费。包年/包月计费模式到期后,按需的计费模式即生效。

客户在费用中心设置包年包月资源到期转按需请参见[这里](https://support.huaweicloud.com/usermanual-billing/renewals_topic_50000003.html)。

>![](public_sys-resources/icon-note.gif) **说明:** >- 客户需要成功支付包年/包月资源订单后,才能设置资源的到期转按需。 >- 目前解决方案组合产品、按需套餐包不支持到期转按需。 >- 在调用本接口前,您可以调用“[查询客户包年/包月资源列表](https://support.huaweicloud.com/api-oce/api_order_00021.html)”接口获取资源ID、资源过期时间以及资源过期后的扣费策略等信息。 >- 设置包年/包月资源到期转按需后,包年/包月资源到期后将自动变成按需计费。 >- 取消包年/包月资源到期转按需的前提是已经调用“[设置或取消包年/包月资源到期转按需](https://support.huaweicloud.com/api-oce/api_order_00024.html)”接口设置包年/包月资源的到期转按需或在调用“[续订包年/包月资源](https://support.huaweicloud.com/api-oce/api_order_00018.html)”接口时设置到期策略为到期转按需。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdatePeriodToOnDemandInvoker added in v0.0.90

func (c *BssClient) UpdatePeriodToOnDemandInvoker(request *model.UpdatePeriodToOnDemandRequest) *UpdatePeriodToOnDemandInvoker

UpdatePeriodToOnDemandInvoker 设置或取消包年/包月资源到期转按需

func (*BssClient) UpdatePostal

func (c *BssClient) UpdatePostal(request *model.UpdatePostalRequest) (*model.UpdatePostalResponse, error)

UpdatePostal 修改邮寄地址

伙伴可以修改自己的邮寄地址信息。

伙伴登录伙伴中心修改邮寄地址请参见[向华为云索取发票](https://support.huaweicloud.com/usermanual-bpconsole/zh-cn_topic_0072435143.html),进入索取发票页面,选择修改邮寄地址,即可修改邮件地址。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdatePostalInvoker added in v0.0.90

func (c *BssClient) UpdatePostalInvoker(request *model.UpdatePostalRequest) *UpdatePostalInvoker

UpdatePostalInvoker 修改邮寄地址

func (*BssClient) UpdateSubEnterpriseAmount

UpdateSubEnterpriseAmount 企业主账号向企业子账号拨款

企业主账号在自建平台向企业子账号拨款。

Please refer to HUAWEI cloud API Explorer for details.

func (*BssClient) UpdateSubEnterpriseAmountInvoker added in v0.0.90

func (c *BssClient) UpdateSubEnterpriseAmountInvoker(request *model.UpdateSubEnterpriseAmountRequest) *UpdateSubEnterpriseAmountInvoker

UpdateSubEnterpriseAmountInvoker 企业主账号向企业子账号拨款

type CancelAutoRenewalResourcesInvoker added in v0.0.90

type CancelAutoRenewalResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelAutoRenewalResourcesInvoker) Invoke added in v0.0.90

type CancelCustomerOrderInvoker added in v0.0.90

type CancelCustomerOrderInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelCustomerOrderInvoker) Invoke added in v0.0.90

type CancelResourcesSubscriptionInvoker added in v0.0.90

type CancelResourcesSubscriptionInvoker struct {
	*invoker.BaseInvoker
}

func (*CancelResourcesSubscriptionInvoker) Invoke added in v0.0.90

type ChangeEnterpriseRealnameAuthenticationInvoker added in v0.0.90

type ChangeEnterpriseRealnameAuthenticationInvoker struct {
	*invoker.BaseInvoker
}

func (*ChangeEnterpriseRealnameAuthenticationInvoker) Invoke added in v0.0.90

type CheckUserIdentityInvoker added in v0.0.90

type CheckUserIdentityInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckUserIdentityInvoker) Invoke added in v0.0.90

type CreateEnterpriseProjectAuthInvoker added in v0.0.90

type CreateEnterpriseProjectAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateEnterpriseProjectAuthInvoker) Invoke added in v0.0.90

type CreateEnterpriseRealnameAuthenticationInvoker added in v0.0.90

type CreateEnterpriseRealnameAuthenticationInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateEnterpriseRealnameAuthenticationInvoker) Invoke added in v0.0.90

type CreatePartnerCouponsInvoker added in v0.0.90

type CreatePartnerCouponsInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePartnerCouponsInvoker) Invoke added in v0.0.90

type CreatePersonalRealnameAuthInvoker added in v0.0.90

type CreatePersonalRealnameAuthInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePersonalRealnameAuthInvoker) Invoke added in v0.0.90

type CreatePostalInvoker added in v0.0.90

type CreatePostalInvoker struct {
	*invoker.BaseInvoker
}

func (*CreatePostalInvoker) Invoke added in v0.0.90

type CreateSubCustomerInvoker added in v0.0.90

type CreateSubCustomerInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSubCustomerInvoker) Invoke added in v0.0.90

type CreateSubEnterpriseAccountInvoker added in v0.0.90

type CreateSubEnterpriseAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateSubEnterpriseAccountInvoker) Invoke added in v0.0.90

type DeletePostalInvoker added in v0.0.90

type DeletePostalInvoker struct {
	*invoker.BaseInvoker
}

func (*DeletePostalInvoker) Invoke added in v0.0.90

type ListCitiesInvoker added in v0.0.90

type ListCitiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCitiesInvoker) Invoke added in v0.0.90

type ListConsumeSubCustomersInvoker added in v0.0.90

type ListConsumeSubCustomersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListConsumeSubCustomersInvoker) Invoke added in v0.0.90

type ListConversionsInvoker added in v0.0.90

type ListConversionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListConversionsInvoker) Invoke added in v0.0.90

type ListCostsInvoker added in v0.0.103

type ListCostsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCostsInvoker) Invoke added in v0.0.103

type ListCountiesInvoker added in v0.0.90

type ListCountiesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCountiesInvoker) Invoke added in v0.0.90

type ListCouponQuotasRecordsInvoker added in v0.0.90

type ListCouponQuotasRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCouponQuotasRecordsInvoker) Invoke added in v0.0.90

type ListCustomerBillsFeeRecordsInvoker added in v0.0.90

type ListCustomerBillsFeeRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerBillsFeeRecordsInvoker) Invoke added in v0.0.90

type ListCustomerBillsMonthlyBreakDownInvoker added in v0.0.90

type ListCustomerBillsMonthlyBreakDownInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerBillsMonthlyBreakDownInvoker) Invoke added in v0.0.90

type ListCustomerOnDemandResourcesInvoker added in v0.0.90

type ListCustomerOnDemandResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerOnDemandResourcesInvoker) Invoke added in v0.0.90

type ListCustomerOrdersInvoker added in v0.0.90

type ListCustomerOrdersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerOrdersInvoker) Invoke added in v0.0.90

type ListCustomersBalancesDetailInvoker added in v0.0.90

type ListCustomersBalancesDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomersBalancesDetailInvoker) Invoke added in v0.0.90

type ListCustomerselfResourceRecordDetailsInvoker added in v0.0.90

type ListCustomerselfResourceRecordDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerselfResourceRecordDetailsInvoker) Invoke added in v0.0.90

type ListCustomerselfResourceRecordsInvoker added in v0.0.90

type ListCustomerselfResourceRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListCustomerselfResourceRecordsInvoker) Invoke added in v0.0.90

type ListEnterpriseMultiAccountInvoker added in v0.0.90

type ListEnterpriseMultiAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEnterpriseMultiAccountInvoker) Invoke added in v0.0.90

type ListEnterpriseOrganizationsInvoker added in v0.0.90

type ListEnterpriseOrganizationsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEnterpriseOrganizationsInvoker) Invoke added in v0.0.90

type ListEnterpriseSubCustomersInvoker added in v0.0.90

type ListEnterpriseSubCustomersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListEnterpriseSubCustomersInvoker) Invoke added in v0.0.90

type ListFreeResourceInfosInvoker added in v0.0.90

type ListFreeResourceInfosInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFreeResourceInfosInvoker) Invoke added in v0.0.90

type ListFreeResourceUsagesInvoker added in v0.0.90

type ListFreeResourceUsagesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFreeResourceUsagesInvoker) Invoke added in v0.0.90

type ListFreeResourcesUsageRecordsInvoker added in v0.1.22

type ListFreeResourcesUsageRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListFreeResourcesUsageRecordsInvoker) Invoke added in v0.1.22

type ListIncentiveDiscountPoliciesInvoker added in v0.0.90

type ListIncentiveDiscountPoliciesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListIncentiveDiscountPoliciesInvoker) Invoke added in v0.0.90

type ListIndirectPartnersInvoker added in v0.0.90

type ListIndirectPartnersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListIndirectPartnersInvoker) Invoke added in v0.0.90

type ListIssuedCouponQuotasInvoker added in v0.0.90

type ListIssuedCouponQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ListIssuedCouponQuotasInvoker) Invoke added in v0.0.90

type ListIssuedPartnerCouponsInvoker added in v0.0.90

type ListIssuedPartnerCouponsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListIssuedPartnerCouponsInvoker) Invoke added in v0.0.90

type ListMeasureUnitsInvoker added in v0.0.90

type ListMeasureUnitsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMeasureUnitsInvoker) Invoke added in v0.0.90

type ListOnDemandResourceRatingsInvoker added in v0.0.90

type ListOnDemandResourceRatingsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOnDemandResourceRatingsInvoker) Invoke added in v0.0.90

type ListOrderCouponsByOrderIdInvoker added in v0.0.90

type ListOrderCouponsByOrderIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOrderCouponsByOrderIdInvoker) Invoke added in v0.0.90

type ListOrderDiscountsInvoker added in v0.0.90

type ListOrderDiscountsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListOrderDiscountsInvoker) Invoke added in v0.0.90

type ListPartnerAccountChangeRecordsInvoker added in v0.0.90

type ListPartnerAccountChangeRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPartnerAccountChangeRecordsInvoker) Invoke added in v0.0.90

type ListPartnerAdjustRecordsInvoker added in v0.0.90

type ListPartnerAdjustRecordsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPartnerAdjustRecordsInvoker) Invoke added in v0.0.90

type ListPartnerBalancesInvoker added in v0.0.90

type ListPartnerBalancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPartnerBalancesInvoker) Invoke added in v0.0.90

type ListPartnerCouponsRecordInvoker added in v0.0.90

type ListPartnerCouponsRecordInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPartnerCouponsRecordInvoker) Invoke added in v0.0.90

type ListPayPerUseCustomerResourcesInvoker added in v0.0.90

type ListPayPerUseCustomerResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPayPerUseCustomerResourcesInvoker) Invoke added in v0.0.90

type ListPostalAddressInvoker added in v0.0.90

type ListPostalAddressInvoker struct {
	*invoker.BaseInvoker
}

func (*ListPostalAddressInvoker) Invoke added in v0.0.90

type ListProvincesInvoker added in v0.0.90

type ListProvincesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProvincesInvoker) Invoke added in v0.0.90

type ListQuotaCouponsInvoker added in v0.0.90

type ListQuotaCouponsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListQuotaCouponsInvoker) Invoke added in v0.0.90

type ListRateOnPeriodDetailInvoker added in v0.0.90

type ListRateOnPeriodDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListRateOnPeriodDetailInvoker) Invoke added in v0.0.90

type ListResourceTypesInvoker added in v0.0.90

type ListResourceTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceTypesInvoker) Invoke added in v0.0.90

type ListResourceUsageInvoker added in v0.0.90

type ListResourceUsageInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceUsageInvoker) Invoke added in v0.0.90

type ListResourceUsageSummaryInvoker added in v0.0.90

type ListResourceUsageSummaryInvoker struct {
	*invoker.BaseInvoker
}

func (*ListResourceUsageSummaryInvoker) Invoke added in v0.0.90

type ListServiceResourcesInvoker added in v0.0.90

type ListServiceResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServiceResourcesInvoker) Invoke added in v0.0.90

type ListServiceTypesInvoker added in v0.0.90

type ListServiceTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListServiceTypesInvoker) Invoke added in v0.0.90

type ListStoredValueCardsInvoker added in v0.0.90

type ListStoredValueCardsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListStoredValueCardsInvoker) Invoke added in v0.0.90

type ListSubCustomerBillDetailInvoker added in v0.0.90

type ListSubCustomerBillDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSubCustomerBillDetailInvoker) Invoke added in v0.0.90

type ListSubCustomerCouponsInvoker added in v0.0.90

type ListSubCustomerCouponsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSubCustomerCouponsInvoker) Invoke added in v0.0.90

type ListSubCustomersInvoker added in v0.0.90

type ListSubCustomersInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSubCustomersInvoker) Invoke added in v0.0.90

type ListSubcustomerMonthlyBillsInvoker added in v0.0.90

type ListSubcustomerMonthlyBillsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSubcustomerMonthlyBillsInvoker) Invoke added in v0.0.90

type ListUsageTypesInvoker added in v0.0.90

type ListUsageTypesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListUsageTypesInvoker) Invoke added in v0.0.90

type PayOrdersInvoker added in v0.0.90

type PayOrdersInvoker struct {
	*invoker.BaseInvoker
}

func (*PayOrdersInvoker) Invoke added in v0.0.90

type ReclaimCouponQuotasInvoker added in v0.0.90

type ReclaimCouponQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*ReclaimCouponQuotasInvoker) Invoke added in v0.0.90

type ReclaimIndirectPartnerAccountInvoker added in v0.0.90

type ReclaimIndirectPartnerAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*ReclaimIndirectPartnerAccountInvoker) Invoke added in v0.0.90

type ReclaimPartnerCouponsInvoker added in v0.0.90

type ReclaimPartnerCouponsInvoker struct {
	*invoker.BaseInvoker
}

func (*ReclaimPartnerCouponsInvoker) Invoke added in v0.0.90

type ReclaimSubEnterpriseAmountInvoker added in v0.0.90

type ReclaimSubEnterpriseAmountInvoker struct {
	*invoker.BaseInvoker
}

func (*ReclaimSubEnterpriseAmountInvoker) Invoke added in v0.0.90

type ReclaimToPartnerAccountInvoker added in v0.0.90

type ReclaimToPartnerAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*ReclaimToPartnerAccountInvoker) Invoke added in v0.0.90

type RenewalResourcesInvoker added in v0.0.90

type RenewalResourcesInvoker struct {
	*invoker.BaseInvoker
}

func (*RenewalResourcesInvoker) Invoke added in v0.0.90

type SendSmsVerificationCodeInvoker added in v0.0.90

type SendSmsVerificationCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*SendSmsVerificationCodeInvoker) Invoke added in v0.0.90

type SendVerificationMessageCodeInvoker added in v0.0.90

type SendVerificationMessageCodeInvoker struct {
	*invoker.BaseInvoker
}

func (*SendVerificationMessageCodeInvoker) Invoke added in v0.0.90

type ShowCustomerAccountBalancesInvoker added in v0.0.90

type ShowCustomerAccountBalancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCustomerAccountBalancesInvoker) Invoke added in v0.0.90

type ShowCustomerMonthlySumInvoker added in v0.0.90

type ShowCustomerMonthlySumInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCustomerMonthlySumInvoker) Invoke added in v0.0.90

type ShowCustomerOrderDetailsInvoker added in v0.0.90

type ShowCustomerOrderDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowCustomerOrderDetailsInvoker) Invoke added in v0.0.90

type ShowMultiAccountTransferAmountInvoker added in v0.0.90

type ShowMultiAccountTransferAmountInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowMultiAccountTransferAmountInvoker) Invoke added in v0.0.90

type ShowRealnameAuthenticationReviewResultInvoker added in v0.0.90

type ShowRealnameAuthenticationReviewResultInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRealnameAuthenticationReviewResultInvoker) Invoke added in v0.0.90

type ShowRefundOrderDetailsInvoker added in v0.0.90

type ShowRefundOrderDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowRefundOrderDetailsInvoker) Invoke added in v0.0.90

type UpdateCouponQuotasInvoker added in v0.0.90

type UpdateCouponQuotasInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCouponQuotasInvoker) Invoke added in v0.0.90

type UpdateCustomerAccountAmountInvoker added in v0.0.90

type UpdateCustomerAccountAmountInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateCustomerAccountAmountInvoker) Invoke added in v0.0.90

type UpdateIndirectPartnerAccountInvoker added in v0.0.90

type UpdateIndirectPartnerAccountInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateIndirectPartnerAccountInvoker) Invoke added in v0.0.90

type UpdatePeriodToOnDemandInvoker added in v0.0.90

type UpdatePeriodToOnDemandInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePeriodToOnDemandInvoker) Invoke added in v0.0.90

type UpdatePostalInvoker added in v0.0.90

type UpdatePostalInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdatePostalInvoker) Invoke added in v0.0.90

type UpdateSubEnterpriseAmountInvoker added in v0.0.90

type UpdateSubEnterpriseAmountInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateSubEnterpriseAmountInvoker) Invoke added in v0.0.90

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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