v2

package
v0.0.3-beta Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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(request *model.AutoRenewalResourcesRequest) *def.HttpRequestDef

func GenReqDefForBatchSetSubCustomerDiscount

func GenReqDefForBatchSetSubCustomerDiscount(request *model.BatchSetSubCustomerDiscountRequest) *def.HttpRequestDef

func GenReqDefForCancelAutoRenewalResources

func GenReqDefForCancelAutoRenewalResources(request *model.CancelAutoRenewalResourcesRequest) *def.HttpRequestDef

func GenReqDefForCancelCustomerOrder

func GenReqDefForCancelCustomerOrder(request *model.CancelCustomerOrderRequest) *def.HttpRequestDef

func GenReqDefForCancelResourcesSubscription

func GenReqDefForCancelResourcesSubscription(request *model.CancelResourcesSubscriptionRequest) *def.HttpRequestDef

func GenReqDefForCheckUserIdentity

func GenReqDefForCheckUserIdentity(request *model.CheckUserIdentityRequest) *def.HttpRequestDef

func GenReqDefForCreatePartnerCoupons

func GenReqDefForCreatePartnerCoupons(request *model.CreatePartnerCouponsRequest) *def.HttpRequestDef

func GenReqDefForCreatePersonalRealnameAuth

func GenReqDefForCreatePersonalRealnameAuth(request *model.CreatePersonalRealnameAuthRequest) *def.HttpRequestDef

func GenReqDefForCreatePostal

func GenReqDefForCreatePostal(request *model.CreatePostalRequest) *def.HttpRequestDef

func GenReqDefForCreateSubCustomer

func GenReqDefForCreateSubCustomer(request *model.CreateSubCustomerRequest) *def.HttpRequestDef

func GenReqDefForCreateSubEnterpriseAccount

func GenReqDefForCreateSubEnterpriseAccount(request *model.CreateSubEnterpriseAccountRequest) *def.HttpRequestDef

func GenReqDefForDeletePostal

func GenReqDefForDeletePostal(request *model.DeletePostalRequest) *def.HttpRequestDef

func GenReqDefForListCities

func GenReqDefForListCities(request *model.ListCitiesRequest) *def.HttpRequestDef

func GenReqDefForListCounties

func GenReqDefForListCounties(request *model.ListCountiesRequest) *def.HttpRequestDef

func GenReqDefForListCouponQuotasRecords

func GenReqDefForListCouponQuotasRecords(request *model.ListCouponQuotasRecordsRequest) *def.HttpRequestDef

func GenReqDefForListCustomerOnDemandResources

func GenReqDefForListCustomerOnDemandResources(request *model.ListCustomerOnDemandResourcesRequest) *def.HttpRequestDef

func GenReqDefForListCustomerOrders

func GenReqDefForListCustomerOrders(request *model.ListCustomerOrdersRequest) *def.HttpRequestDef

func GenReqDefForListCustomersBalancesDetail

func GenReqDefForListCustomersBalancesDetail(request *model.ListCustomersBalancesDetailRequest) *def.HttpRequestDef

func GenReqDefForListCustomerselfResourceRecordDetails

func GenReqDefForListCustomerselfResourceRecordDetails(request *model.ListCustomerselfResourceRecordDetailsRequest) *def.HttpRequestDef

func GenReqDefForListCustomerselfResourceRecords

func GenReqDefForListCustomerselfResourceRecords(request *model.ListCustomerselfResourceRecordsRequest) *def.HttpRequestDef

func GenReqDefForListIndirectPartners

func GenReqDefForListIndirectPartners(request *model.ListIndirectPartnersRequest) *def.HttpRequestDef

func GenReqDefForListIssuedCouponQuotas

func GenReqDefForListIssuedCouponQuotas(request *model.ListIssuedCouponQuotasRequest) *def.HttpRequestDef

func GenReqDefForListIssuedPartnerCoupons

func GenReqDefForListIssuedPartnerCoupons(request *model.ListIssuedPartnerCouponsRequest) *def.HttpRequestDef

func GenReqDefForListOnDemandResourceRatings

func GenReqDefForListOnDemandResourceRatings(request *model.ListOnDemandResourceRatingsRequest) *def.HttpRequestDef

func GenReqDefForListOrderCouponsByOrderId

func GenReqDefForListOrderCouponsByOrderId(request *model.ListOrderCouponsByOrderIdRequest) *def.HttpRequestDef

func GenReqDefForListPartnerAdjustRecords

func GenReqDefForListPartnerAdjustRecords(request *model.ListPartnerAdjustRecordsRequest) *def.HttpRequestDef

func GenReqDefForListPartnerBalances

func GenReqDefForListPartnerBalances(request *model.ListPartnerBalancesRequest) *def.HttpRequestDef

func GenReqDefForListPartnerCouponsRecord

func GenReqDefForListPartnerCouponsRecord(request *model.ListPartnerCouponsRecordRequest) *def.HttpRequestDef

func GenReqDefForListPartnerPayOrders

func GenReqDefForListPartnerPayOrders(request *model.ListPartnerPayOrdersRequest) *def.HttpRequestDef

func GenReqDefForListPayPerUseCustomerResources

func GenReqDefForListPayPerUseCustomerResources(request *model.ListPayPerUseCustomerResourcesRequest) *def.HttpRequestDef

func GenReqDefForListProvinces

func GenReqDefForListProvinces(request *model.ListProvincesRequest) *def.HttpRequestDef

func GenReqDefForListQuotaCoupons

func GenReqDefForListQuotaCoupons(request *model.ListQuotaCouponsRequest) *def.HttpRequestDef

func GenReqDefForListRateOnPeriodDetail

func GenReqDefForListRateOnPeriodDetail(request *model.ListRateOnPeriodDetailRequest) *def.HttpRequestDef

func GenReqDefForListResourceUsages

func GenReqDefForListResourceUsages(request *model.ListResourceUsagesRequest) *def.HttpRequestDef

func GenReqDefForListSkuInventories

func GenReqDefForListSkuInventories(request *model.ListSkuInventoriesRequest) *def.HttpRequestDef

func GenReqDefForListSubCustomerCoupons

func GenReqDefForListSubCustomerCoupons(request *model.ListSubCustomerCouponsRequest) *def.HttpRequestDef

func GenReqDefForListSubCustomerDiscounts

func GenReqDefForListSubCustomerDiscounts(request *model.ListSubCustomerDiscountsRequest) *def.HttpRequestDef

func GenReqDefForListSubCustomerResFeeRecords

func GenReqDefForListSubCustomerResFeeRecords(request *model.ListSubCustomerResFeeRecordsRequest) *def.HttpRequestDef

func GenReqDefForListSubCustomers

func GenReqDefForListSubCustomers(request *model.ListSubCustomersRequest) *def.HttpRequestDef

func GenReqDefForListSubcustomerMonthlyBills

func GenReqDefForListSubcustomerMonthlyBills(request *model.ListSubcustomerMonthlyBillsRequest) *def.HttpRequestDef

func GenReqDefForPayOrders

func GenReqDefForPayOrders(request *model.PayOrdersRequest) *def.HttpRequestDef

func GenReqDefForReclaimCouponQuotas

func GenReqDefForReclaimCouponQuotas(request *model.ReclaimCouponQuotasRequest) *def.HttpRequestDef

func GenReqDefForReclaimIndirectPartnerAccount

func GenReqDefForReclaimIndirectPartnerAccount(request *model.ReclaimIndirectPartnerAccountRequest) *def.HttpRequestDef

func GenReqDefForReclaimPartnerCoupons

func GenReqDefForReclaimPartnerCoupons(request *model.ReclaimPartnerCouponsRequest) *def.HttpRequestDef

func GenReqDefForReclaimSubEnterpriseAmount

func GenReqDefForReclaimSubEnterpriseAmount(request *model.ReclaimSubEnterpriseAmountRequest) *def.HttpRequestDef

func GenReqDefForReclaimToPartnerAccount

func GenReqDefForReclaimToPartnerAccount(request *model.ReclaimToPartnerAccountRequest) *def.HttpRequestDef

func GenReqDefForRenewalResources

func GenReqDefForRenewalResources(request *model.RenewalResourcesRequest) *def.HttpRequestDef

func GenReqDefForSendSmsVerificationCode

func GenReqDefForSendSmsVerificationCode(request *model.SendSmsVerificationCodeRequest) *def.HttpRequestDef

func GenReqDefForSendVerificationMessageCode

func GenReqDefForSendVerificationMessageCode(request *model.SendVerificationMessageCodeRequest) *def.HttpRequestDef

func GenReqDefForShowCusotmerAccountBalances

func GenReqDefForShowCusotmerAccountBalances(request *model.ShowCusotmerAccountBalancesRequest) *def.HttpRequestDef

func GenReqDefForShowCustomerMonthlySum

func GenReqDefForShowCustomerMonthlySum(request *model.ShowCustomerMonthlySumRequest) *def.HttpRequestDef

func GenReqDefForShowCustomerOrderDetails

func GenReqDefForShowCustomerOrderDetails(request *model.ShowCustomerOrderDetailsRequest) *def.HttpRequestDef

func GenReqDefForShowRefundOrderDetails

func GenReqDefForShowRefundOrderDetails(request *model.ShowRefundOrderDetailsRequest) *def.HttpRequestDef

func GenReqDefForUpdateCouponQuotas

func GenReqDefForUpdateCouponQuotas(request *model.UpdateCouponQuotasRequest) *def.HttpRequestDef

func GenReqDefForUpdateCustomerAccountAmount

func GenReqDefForUpdateCustomerAccountAmount(request *model.UpdateCustomerAccountAmountRequest) *def.HttpRequestDef

func GenReqDefForUpdateIndirectPartnerAccount

func GenReqDefForUpdateIndirectPartnerAccount(request *model.UpdateIndirectPartnerAccountRequest) *def.HttpRequestDef

func GenReqDefForUpdatePostal

func GenReqDefForUpdatePostal(request *model.UpdatePostalRequest) *def.HttpRequestDef

func GenReqDefForUpdateSubEnterpriseAmount

func GenReqDefForUpdateSubEnterpriseAmount(request *model.UpdateSubEnterpriseAmountRequest) *def.HttpRequestDef

func GenRespForCancelCustomerOrder

func GenRespForCancelCustomerOrder() (*model.CancelCustomerOrderResponse, *def.HttpResponseDef)

func GenRespForCheckUserIdentity

func GenRespForCheckUserIdentity() (*model.CheckUserIdentityResponse, *def.HttpResponseDef)

func GenRespForCreatePostal

func GenRespForCreatePostal() (*model.CreatePostalResponse, *def.HttpResponseDef)

func GenRespForCreateSubCustomer

func GenRespForCreateSubCustomer() (*model.CreateSubCustomerResponse, *def.HttpResponseDef)

func GenRespForDeletePostal

func GenRespForDeletePostal() (*model.DeletePostalResponse, *def.HttpResponseDef)

func GenRespForListCities

func GenRespForListCities() (*model.ListCitiesResponse, *def.HttpResponseDef)

func GenRespForListCounties

func GenRespForListCounties() (*model.ListCountiesResponse, *def.HttpResponseDef)

func GenRespForListCustomerOrders

func GenRespForListCustomerOrders() (*model.ListCustomerOrdersResponse, *def.HttpResponseDef)

func GenRespForListPartnerBalances

func GenRespForListPartnerBalances() (*model.ListPartnerBalancesResponse, *def.HttpResponseDef)

func GenRespForListProvinces

func GenRespForListProvinces() (*model.ListProvincesResponse, *def.HttpResponseDef)

func GenRespForListQuotaCoupons

func GenRespForListQuotaCoupons() (*model.ListQuotaCouponsResponse, *def.HttpResponseDef)

func GenRespForListResourceUsages

func GenRespForListResourceUsages() (*model.ListResourceUsagesResponse, *def.HttpResponseDef)

func GenRespForListSkuInventories

func GenRespForListSkuInventories() (*model.ListSkuInventoriesResponse, *def.HttpResponseDef)

func GenRespForListSubCustomers

func GenRespForListSubCustomers() (*model.ListSubCustomersResponse, *def.HttpResponseDef)

func GenRespForPayOrders

func GenRespForPayOrders() (*model.PayOrdersResponse, *def.HttpResponseDef)

func GenRespForReclaimCouponQuotas

func GenRespForReclaimCouponQuotas() (*model.ReclaimCouponQuotasResponse, *def.HttpResponseDef)

func GenRespForRenewalResources

func GenRespForRenewalResources() (*model.RenewalResourcesResponse, *def.HttpResponseDef)

func GenRespForUpdateCouponQuotas

func GenRespForUpdateCouponQuotas() (*model.UpdateCouponQuotasResponse, *def.HttpResponseDef)

func GenRespForUpdatePostal

func GenRespForUpdatePostal() (*model.UpdatePostalResponse, *def.HttpResponseDef)

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) 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) 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) 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) 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) ListResourceUsages

func (c *BssClient) ListResourceUsages(request *model.ListResourceUsagesRequest) (*model.ListResourceUsagesResponse, 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) 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