v2

package
v0.0.19-beta Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 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 GenReqDefForBatchSetSubCustomerDiscount

func GenReqDefForBatchSetSubCustomerDiscount() *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 GenReqDefForListCounties

func GenReqDefForListCounties() *def.HttpRequestDef

func GenReqDefForListCouponQuotasRecords

func GenReqDefForListCouponQuotasRecords() *def.HttpRequestDef

func GenReqDefForListCustomerBillsFeeRecords

func GenReqDefForListCustomerBillsFeeRecords() *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 GenReqDefForListIndirectPartners

func GenReqDefForListIndirectPartners() *def.HttpRequestDef

func GenReqDefForListIssuedCouponQuotas

func GenReqDefForListIssuedCouponQuotas() *def.HttpRequestDef

func GenReqDefForListIssuedPartnerCoupons

func GenReqDefForListIssuedPartnerCoupons() *def.HttpRequestDef

func GenReqDefForListOnDemandResourceRatings

func GenReqDefForListOnDemandResourceRatings() *def.HttpRequestDef

func GenReqDefForListOrderCouponsByOrderId

func GenReqDefForListOrderCouponsByOrderId() *def.HttpRequestDef

func GenReqDefForListPartnerAdjustRecords

func GenReqDefForListPartnerAdjustRecords() *def.HttpRequestDef

func GenReqDefForListPartnerBalances

func GenReqDefForListPartnerBalances() *def.HttpRequestDef

func GenReqDefForListPartnerCouponsRecord

func GenReqDefForListPartnerCouponsRecord() *def.HttpRequestDef

func GenReqDefForListPartnerPayOrders

func GenReqDefForListPartnerPayOrders() *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 GenReqDefForListResourceUsages

func GenReqDefForListResourceUsages() *def.HttpRequestDef

func GenReqDefForListServiceResources

func GenReqDefForListServiceResources() *def.HttpRequestDef

func GenReqDefForListServiceTypes

func GenReqDefForListServiceTypes() *def.HttpRequestDef

func GenReqDefForListSkuInventories

func GenReqDefForListSkuInventories() *def.HttpRequestDef

func GenReqDefForListSubCustomerCoupons

func GenReqDefForListSubCustomerCoupons() *def.HttpRequestDef

func GenReqDefForListSubCustomerDiscounts

func GenReqDefForListSubCustomerDiscounts() *def.HttpRequestDef

func GenReqDefForListSubCustomerResFeeRecords

func GenReqDefForListSubCustomerResFeeRecords() *def.HttpRequestDef

func GenReqDefForListSubCustomers

func GenReqDefForListSubCustomers() *def.HttpRequestDef

func GenReqDefForListSubcustomerMonthlyBills

func GenReqDefForListSubcustomerMonthlyBills() *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 GenReqDefForShowCusotmerAccountBalances

func GenReqDefForShowCusotmerAccountBalances() *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 GenReqDefForUpdatePostal

func GenReqDefForUpdatePostal() *def.HttpRequestDef

func GenReqDefForUpdateSubEnterpriseAmount

func GenReqDefForUpdateSubEnterpriseAmount() *def.HttpRequestDef

Types

type BssClient

type BssClient struct {
	// contains filtered or unexported fields
}

func NewBssClient

func NewBssClient(hcClient *http_client.HcHttpClient) *BssClient

func (*BssClient) AutoRenewalResources

功能描述:设置包周期资源自动续费

func (*BssClient) BatchSetSubCustomerDiscount

功能描述:设置伙伴折扣

func (*BssClient) CancelAutoRenewalResources

功能描述:取消包年/包月资源自动续费

func (*BssClient) CancelCustomerOrder

功能描述:取消包周期订单

func (*BssClient) CancelResourcesSubscription

功能描述:退订包周期资源

func (*BssClient) ChangeEnterpriseRealnameAuthentication

功能描述:实名认证变更申请

func (*BssClient) CheckUserIdentity

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

功能描述:校验客户的注册信息

func (*BssClient) CreateEnterpriseProjectAuth

功能描述:客户开通自身的企业项目功能

func (*BssClient) CreateEnterpriseRealnameAuthentication

功能描述:企业实名认证申请V2

func (*BssClient) CreatePartnerCoupons

功能描述:伙伴给子客户发券

func (*BssClient) CreatePersonalRealnameAuth

功能描述:个人实名认证申请

func (*BssClient) CreatePostal

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

功能描述:新增邮寄地址

func (*BssClient) CreateSubCustomer

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

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

func (*BssClient) CreateSubEnterpriseAccount

功能描述:创建企业子账号

func (*BssClient) DeletePostal

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

功能描述:删除邮寄地址

func (*BssClient) ListCities

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

功能描述:根据省份查询城市列表

func (*BssClient) ListCounties

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

功能描述:根据城市查询区县列表

func (*BssClient) ListCouponQuotasRecords

功能描述:查询优惠券额度发放回收记录

func (*BssClient) ListCustomerBillsFeeRecords

功能描述:客户在客户自建平台查询自己的流水账单

func (*BssClient) ListCustomerOnDemandResources

功能描述:查询客户按需资源列表

func (*BssClient) ListCustomerOrders

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

功能描述:查询订单列表

func (*BssClient) ListCustomersBalancesDetail

功能描述:批量查询伙伴子客户账户余额

func (*BssClient) ListCustomerselfResourceRecordDetails

功能描述:客户在客户自建平台查询自己的资源详单,用于反映各类资源的消耗情况。资源详单数据有延迟,最大延迟24小时。

func (*BssClient) ListCustomerselfResourceRecords

功能描述:查询资源消费记录(客户)

func (*BssClient) ListEnterpriseMultiAccount

功能描述:查询企业子可回收余额

func (*BssClient) ListEnterpriseOrganizations

功能描述:企业主账号在客户自建平台查询企业组织结构

func (*BssClient) ListEnterpriseSubCustomers

功能描述:企业主账号在客户自建平台查询企业子账号信息列表

func (*BssClient) ListIndirectPartners

功能描述:查询精英服务商列表

func (*BssClient) ListIssuedCouponQuotas

功能描述:一级经销商查询发给二级经销商的额度

func (*BssClient) ListIssuedPartnerCoupons

功能描述:查询已发放的优惠券列表

func (*BssClient) ListOnDemandResourceRatings

功能描述:按需资源询价

func (*BssClient) ListOrderCouponsByOrderId

功能描述:查询订单详情

func (*BssClient) ListPartnerAdjustRecords

功能描述:查询调账回收记录

func (*BssClient) ListPartnerBalances

功能描述:查询伙伴账户余额

func (*BssClient) ListPartnerCouponsRecord

功能描述:查询优惠券的发放回收记录

func (*BssClient) ListPartnerPayOrders

功能描述:查询伙伴代付订单列表

func (*BssClient) ListPayPerUseCustomerResources

功能描述:查询客户包年/包月资源列表

func (*BssClient) ListPostalAddress

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

功能描述:查询邮寄地址

func (*BssClient) ListProvinces

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

功能描述:根据国家查询省份列表

func (*BssClient) ListQuotaCoupons

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

功能描述:查询优惠券额度列表

func (*BssClient) ListRateOnPeriodDetail

功能描述:包周期资源订购询价

func (*BssClient) ListResourceTypes

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

功能描述:查询资源类型

func (*BssClient) ListResourceUsages

func (c *BssClient) ListResourceUsages(request *model.ListResourceUsagesRequest) (*model.ListResourceUsagesResponse, error)

功能描述:查询套餐内使用量

func (*BssClient) ListServiceResources

功能描述:根据云服务类型查询资源列表

func (*BssClient) ListServiceTypes

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

功能描述:查询云服务类型列表

func (*BssClient) ListSkuInventories

func (c *BssClient) ListSkuInventories(request *model.ListSkuInventoriesRequest) (*model.ListSkuInventoriesResponse, error)

功能描述:查询硬件库存

func (*BssClient) ListSubCustomerCoupons

功能描述:查询优惠券列表

func (*BssClient) ListSubCustomerDiscounts

功能描述:查询伙伴折扣

func (*BssClient) ListSubCustomerResFeeRecords

功能描述:查询客户消费记录

func (*BssClient) ListSubCustomers

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

功能描述:查询客户列表

func (*BssClient) ListSubcustomerMonthlyBills

功能描述:合作伙伴可查询客户的消费汇总账单,消费按月汇总

func (*BssClient) PayOrders

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

功能描述:支付包周期订单

func (*BssClient) ReclaimCouponQuotas

功能描述:一级经销商给二级经销商回收额度

func (*BssClient) ReclaimIndirectPartnerAccount

功能描述:合作伙伴可以回收二级渠道账户余额

func (*BssClient) ReclaimPartnerCoupons

功能描述:伙伴回收子客户优惠券

func (*BssClient) ReclaimSubEnterpriseAmount

功能描述:企业主账号从企业子账号回收拨款

func (*BssClient) ReclaimToPartnerAccount

功能描述:回收子客户余额(支持一级回收二级的子客户余额)

func (*BssClient) RenewalResources

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

功能描述:续订包周期资源

func (*BssClient) SendSmsVerificationCode

功能描述:发送短信验证码

func (*BssClient) SendVerificationMessageCode

功能描述:发送验证码

func (*BssClient) ShowCusotmerAccountBalances

功能描述:查询客户账户余额

func (*BssClient) ShowCustomerMonthlySum

功能描述:客户可以查询自身的消费汇总单的功能,消费按月汇总。每天刷新一次,更新前一天的数据。

func (*BssClient) ShowCustomerOrderDetails

功能描述:查询订单详情

func (*BssClient) ShowMultiAccountTransferAmount

功能描述:查询企业主的可拨款余额

func (*BssClient) ShowRealnameAuthenticationReviewResult

功能描述:查询实名认证审核结果

func (*BssClient) ShowRefundOrderDetails

功能描述:查询退款订单的金额详情

func (*BssClient) UpdateCouponQuotas

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

功能描述:向精英服务商发放代金券额度

func (*BssClient) UpdateCustomerAccountAmount

功能描述:从伙伴账户调账给子客户

func (*BssClient) UpdateIndirectPartnerAccount

功能描述:从伙伴账户调账给二级渠道

func (*BssClient) UpdatePostal

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

功能描述:修改邮寄地址

func (*BssClient) UpdateSubEnterpriseAmount

功能描述:企业主账号向企业子账号拨款

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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