Documentation ¶
Index ¶
- type DescribeCustomerBillByProductRequest
- func NewDescribeCustomerBillByProductRequest(regionId string, startTime string, endTime string, pageSize int, pageIndex int) *DescribeCustomerBillByProductRequest
- func NewDescribeCustomerBillByProductRequestWithAllParams(regionId string, pin *string, startTime string, endTime string, pageSize int, ...) *DescribeCustomerBillByProductRequest
- func NewDescribeCustomerBillByProductRequestWithoutParam() *DescribeCustomerBillByProductRequest
- func (r DescribeCustomerBillByProductRequest) GetRegionId() string
- func (r *DescribeCustomerBillByProductRequest) SetEndTime(endTime string)
- func (r *DescribeCustomerBillByProductRequest) SetPageIndex(pageIndex int)
- func (r *DescribeCustomerBillByProductRequest) SetPageSize(pageSize int)
- func (r *DescribeCustomerBillByProductRequest) SetPin(pin string)
- func (r *DescribeCustomerBillByProductRequest) SetRegionId(regionId string)
- func (r *DescribeCustomerBillByProductRequest) SetStartTime(startTime string)
- type DescribeCustomerBillByProductResponse
- type DescribeCustomerBillByProductResult
- type GetEachConsumptionRequest
- func NewGetEachConsumptionRequest(regionId string, startTime string, endTime string, pageSize int, pageIndex int) *GetEachConsumptionRequest
- func NewGetEachConsumptionRequestWithAllParams(regionId string, startTime string, endTime string, pin *string, pageSize int, ...) *GetEachConsumptionRequest
- func NewGetEachConsumptionRequestWithoutParam() *GetEachConsumptionRequest
- func (r GetEachConsumptionRequest) GetRegionId() string
- func (r *GetEachConsumptionRequest) SetEndTime(endTime string)
- func (r *GetEachConsumptionRequest) SetPageIndex(pageIndex int)
- func (r *GetEachConsumptionRequest) SetPageSize(pageSize int)
- func (r *GetEachConsumptionRequest) SetPin(pin string)
- func (r *GetEachConsumptionRequest) SetRegionId(regionId string)
- func (r *GetEachConsumptionRequest) SetStartTime(startTime string)
- type GetEachConsumptionResponse
- type GetEachConsumptionResult
- type GetTotalConsumptionRequest
- func NewGetTotalConsumptionRequest(regionId string, startTime string, endTime string) *GetTotalConsumptionRequest
- func NewGetTotalConsumptionRequestWithAllParams(regionId string, startTime string, endTime string) *GetTotalConsumptionRequest
- func NewGetTotalConsumptionRequestWithoutParam() *GetTotalConsumptionRequest
- type GetTotalConsumptionResponse
- type GetTotalConsumptionResult
- type QueryMyCustomerListRequest
- func NewQueryMyCustomerListRequest(regionId string) *QueryMyCustomerListRequest
- func NewQueryMyCustomerListRequestWithAllParams(regionId string, customerPin *string, aliasName *string, loginName *string, ...) *QueryMyCustomerListRequest
- func NewQueryMyCustomerListRequestWithoutParam() *QueryMyCustomerListRequest
- func (r QueryMyCustomerListRequest) GetRegionId() string
- func (r *QueryMyCustomerListRequest) SetAliasName(aliasName string)
- func (r *QueryMyCustomerListRequest) SetCustomerPin(customerPin string)
- func (r *QueryMyCustomerListRequest) SetEndRelTime(endRelTime string)
- func (r *QueryMyCustomerListRequest) SetLoginName(loginName string)
- func (r *QueryMyCustomerListRequest) SetPageIndex(pageIndex int)
- func (r *QueryMyCustomerListRequest) SetPageSize(pageSize int)
- func (r *QueryMyCustomerListRequest) SetRegionId(regionId string)
- func (r *QueryMyCustomerListRequest) SetStartRelTime(startRelTime string)
- type QueryMyCustomerListResponse
- type QueryMyCustomerListResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescribeCustomerBillByProductRequest ¶ added in v1.15.0
type DescribeCustomerBillByProductRequest struct { core.JDCloudRequest /* */ RegionId string `json:"regionId"` /* pin (Optional) */ Pin *string `json:"pin"` /* 按月查询开始时间(yyyy-MM-dd),不可跨月 */ StartTime string `json:"startTime"` /* 按月查询结束时间(yyyy-MM-dd),不可跨月 */ EndTime string `json:"endTime"` /* 每页条数,不超过100 */ PageSize int `json:"pageSize"` /* 第几页 */ PageIndex int `json:"pageIndex"` }
func NewDescribeCustomerBillByProductRequest ¶ added in v1.15.0
func NewDescribeCustomerBillByProductRequest( regionId string, startTime string, endTime string, pageSize int, pageIndex int, ) *DescribeCustomerBillByProductRequest
* param regionId: (Required) * param startTime: 按月查询开始时间(yyyy-MM-dd),不可跨月 (Required) * param endTime: 按月查询结束时间(yyyy-MM-dd),不可跨月 (Required) * param pageSize: 每页条数,不超过100 (Required) * param pageIndex: 第几页 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDescribeCustomerBillByProductRequestWithAllParams ¶ added in v1.15.0
func NewDescribeCustomerBillByProductRequestWithAllParams( regionId string, pin *string, startTime string, endTime string, pageSize int, pageIndex int, ) *DescribeCustomerBillByProductRequest
* param regionId: (Required) * param pin: pin (Optional) * param startTime: 按月查询开始时间(yyyy-MM-dd),不可跨月 (Required) * param endTime: 按月查询结束时间(yyyy-MM-dd),不可跨月 (Required) * param pageSize: 每页条数,不超过100 (Required) * param pageIndex: 第几页 (Required)
func NewDescribeCustomerBillByProductRequestWithoutParam ¶ added in v1.15.0
func NewDescribeCustomerBillByProductRequestWithoutParam() *DescribeCustomerBillByProductRequest
This constructor has better compatible ability when API parameters changed
func (DescribeCustomerBillByProductRequest) GetRegionId ¶ added in v1.15.0
func (r DescribeCustomerBillByProductRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DescribeCustomerBillByProductRequest) SetEndTime ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetEndTime(endTime string)
param endTime: 按月查询结束时间(yyyy-MM-dd),不可跨月(Required)
func (*DescribeCustomerBillByProductRequest) SetPageIndex ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetPageIndex(pageIndex int)
param pageIndex: 第几页(Required)
func (*DescribeCustomerBillByProductRequest) SetPageSize ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetPageSize(pageSize int)
param pageSize: 每页条数,不超过100(Required)
func (*DescribeCustomerBillByProductRequest) SetPin ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetPin(pin string)
param pin: pin(Optional)
func (*DescribeCustomerBillByProductRequest) SetRegionId ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetRegionId(regionId string)
param regionId: (Required)
func (*DescribeCustomerBillByProductRequest) SetStartTime ¶ added in v1.15.0
func (r *DescribeCustomerBillByProductRequest) SetStartTime(startTime string)
param startTime: 按月查询开始时间(yyyy-MM-dd),不可跨月(Required)
type DescribeCustomerBillByProductResponse ¶ added in v1.15.0
type DescribeCustomerBillByProductResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DescribeCustomerBillByProductResult `json:"result"` }
type DescribeCustomerBillByProductResult ¶ added in v1.15.0
type DescribeCustomerBillByProductResult struct { Pagination partner.Pagination `json:"pagination"` Result []partner.ServiceCodeBill `json:"result"` }
type GetEachConsumptionRequest ¶ added in v1.15.0
type GetEachConsumptionRequest struct { core.JDCloudRequest /* */ RegionId string `json:"regionId"` /* 按月查询开始时间(yyyy/MM/dd) */ StartTime string `json:"startTime"` /* 按月查询结束时间(yyyy/MM/dd) */ EndTime string `json:"endTime"` /* pin (Optional) */ Pin *string `json:"pin"` /* 每页条数 */ PageSize int `json:"pageSize"` /* 第几页 */ PageIndex int `json:"pageIndex"` }
func NewGetEachConsumptionRequest ¶ added in v1.15.0
func NewGetEachConsumptionRequest( regionId string, startTime string, endTime string, pageSize int, pageIndex int, ) *GetEachConsumptionRequest
* param regionId: (Required) * param startTime: 按月查询开始时间(yyyy/MM/dd) (Required) * param endTime: 按月查询结束时间(yyyy/MM/dd) (Required) * param pageSize: 每页条数 (Required) * param pageIndex: 第几页 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetEachConsumptionRequestWithAllParams ¶ added in v1.15.0
func NewGetEachConsumptionRequestWithAllParams( regionId string, startTime string, endTime string, pin *string, pageSize int, pageIndex int, ) *GetEachConsumptionRequest
* param regionId: (Required) * param startTime: 按月查询开始时间(yyyy/MM/dd) (Required) * param endTime: 按月查询结束时间(yyyy/MM/dd) (Required) * param pin: pin (Optional) * param pageSize: 每页条数 (Required) * param pageIndex: 第几页 (Required)
func NewGetEachConsumptionRequestWithoutParam ¶ added in v1.15.0
func NewGetEachConsumptionRequestWithoutParam() *GetEachConsumptionRequest
This constructor has better compatible ability when API parameters changed
func (GetEachConsumptionRequest) GetRegionId ¶ added in v1.15.0
func (r GetEachConsumptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetEachConsumptionRequest) SetEndTime ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetEndTime(endTime string)
param endTime: 按月查询结束时间(yyyy/MM/dd)(Required)
func (*GetEachConsumptionRequest) SetPageIndex ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetPageIndex(pageIndex int)
param pageIndex: 第几页(Required)
func (*GetEachConsumptionRequest) SetPageSize ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetPageSize(pageSize int)
param pageSize: 每页条数(Required)
func (*GetEachConsumptionRequest) SetPin ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetPin(pin string)
param pin: pin(Optional)
func (*GetEachConsumptionRequest) SetRegionId ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetRegionId(regionId string)
param regionId: (Required)
func (*GetEachConsumptionRequest) SetStartTime ¶ added in v1.15.0
func (r *GetEachConsumptionRequest) SetStartTime(startTime string)
param startTime: 按月查询开始时间(yyyy/MM/dd)(Required)
type GetEachConsumptionResponse ¶ added in v1.15.0
type GetEachConsumptionResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetEachConsumptionResult `json:"result"` }
type GetEachConsumptionResult ¶ added in v1.15.0
type GetEachConsumptionResult struct { Pagination partner.Pagination `json:"pagination"` Result []partner.SummaryBill `json:"result"` }
type GetTotalConsumptionRequest ¶ added in v1.15.0
type GetTotalConsumptionRequest struct { core.JDCloudRequest /* */ RegionId string `json:"regionId"` /* 按月查询开始时间(yyyy/MM/dd) */ StartTime string `json:"startTime"` /* 按月查询结束时间(yyyy/MM/dd) */ EndTime string `json:"endTime"` }
func NewGetTotalConsumptionRequest ¶ added in v1.15.0
func NewGetTotalConsumptionRequest( regionId string, startTime string, endTime string, ) *GetTotalConsumptionRequest
* param regionId: (Required) * param startTime: 按月查询开始时间(yyyy/MM/dd) (Required) * param endTime: 按月查询结束时间(yyyy/MM/dd) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetTotalConsumptionRequestWithAllParams ¶ added in v1.15.0
func NewGetTotalConsumptionRequestWithAllParams( regionId string, startTime string, endTime string, ) *GetTotalConsumptionRequest
* param regionId: (Required) * param startTime: 按月查询开始时间(yyyy/MM/dd) (Required) * param endTime: 按月查询结束时间(yyyy/MM/dd) (Required)
func NewGetTotalConsumptionRequestWithoutParam ¶ added in v1.15.0
func NewGetTotalConsumptionRequestWithoutParam() *GetTotalConsumptionRequest
This constructor has better compatible ability when API parameters changed
func (GetTotalConsumptionRequest) GetRegionId ¶ added in v1.15.0
func (r GetTotalConsumptionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetTotalConsumptionRequest) SetEndTime ¶ added in v1.15.0
func (r *GetTotalConsumptionRequest) SetEndTime(endTime string)
param endTime: 按月查询结束时间(yyyy/MM/dd)(Required)
func (*GetTotalConsumptionRequest) SetRegionId ¶ added in v1.15.0
func (r *GetTotalConsumptionRequest) SetRegionId(regionId string)
param regionId: (Required)
func (*GetTotalConsumptionRequest) SetStartTime ¶ added in v1.15.0
func (r *GetTotalConsumptionRequest) SetStartTime(startTime string)
param startTime: 按月查询开始时间(yyyy/MM/dd)(Required)
type GetTotalConsumptionResponse ¶ added in v1.15.0
type GetTotalConsumptionResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetTotalConsumptionResult `json:"result"` }
type GetTotalConsumptionResult ¶ added in v1.15.0
type GetTotalConsumptionResult struct {
Result []partner.SummaryBill `json:"result"`
}
type QueryMyCustomerListRequest ¶
type QueryMyCustomerListRequest struct { core.JDCloudRequest /* */ RegionId string `json:"regionId"` /* 客户pin (Optional) */ CustomerPin *string `json:"customerPin"` /* 客户昵称 (Optional) */ AliasName *string `json:"aliasName"` /* 帐户名 (Optional) */ LoginName *string `json:"loginName"` /* 关联开始时间(格式:yyyy-MM-dd HH:mm:ss) (Optional) */ StartRelTime *string `json:"startRelTime"` /* 关联结束时间(格式:yyyy-MM-dd HH:mm:ss) (Optional) */ EndRelTime *string `json:"endRelTime"` /* 当前页序号 (Optional) */ PageIndex *int `json:"pageIndex"` /* 当前条数 (Optional) */ PageSize *int `json:"pageSize"` }
func NewQueryMyCustomerListRequest ¶
func NewQueryMyCustomerListRequest( regionId string, ) *QueryMyCustomerListRequest
* param regionId: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMyCustomerListRequestWithAllParams ¶
func NewQueryMyCustomerListRequestWithAllParams( regionId string, customerPin *string, aliasName *string, loginName *string, startRelTime *string, endRelTime *string, pageIndex *int, pageSize *int, ) *QueryMyCustomerListRequest
* param regionId: (Required) * param customerPin: 客户pin (Optional) * param aliasName: 客户昵称 (Optional) * param loginName: 帐户名 (Optional) * param startRelTime: 关联开始时间(格式:yyyy-MM-dd HH:mm:ss) (Optional) * param endRelTime: 关联结束时间(格式:yyyy-MM-dd HH:mm:ss) (Optional) * param pageIndex: 当前页序号 (Optional) * param pageSize: 当前条数 (Optional)
func NewQueryMyCustomerListRequestWithoutParam ¶
func NewQueryMyCustomerListRequestWithoutParam() *QueryMyCustomerListRequest
This constructor has better compatible ability when API parameters changed
func (QueryMyCustomerListRequest) GetRegionId ¶
func (r QueryMyCustomerListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMyCustomerListRequest) SetAliasName ¶
func (r *QueryMyCustomerListRequest) SetAliasName(aliasName string)
param aliasName: 客户昵称(Optional)
func (*QueryMyCustomerListRequest) SetCustomerPin ¶
func (r *QueryMyCustomerListRequest) SetCustomerPin(customerPin string)
param customerPin: 客户pin(Optional)
func (*QueryMyCustomerListRequest) SetEndRelTime ¶
func (r *QueryMyCustomerListRequest) SetEndRelTime(endRelTime string)
param endRelTime: 关联结束时间(格式:yyyy-MM-dd HH:mm:ss)(Optional)
func (*QueryMyCustomerListRequest) SetLoginName ¶ added in v1.15.0
func (r *QueryMyCustomerListRequest) SetLoginName(loginName string)
param loginName: 帐户名(Optional)
func (*QueryMyCustomerListRequest) SetPageIndex ¶
func (r *QueryMyCustomerListRequest) SetPageIndex(pageIndex int)
param pageIndex: 当前页序号(Optional)
func (*QueryMyCustomerListRequest) SetPageSize ¶
func (r *QueryMyCustomerListRequest) SetPageSize(pageSize int)
param pageSize: 当前条数(Optional)
func (*QueryMyCustomerListRequest) SetRegionId ¶
func (r *QueryMyCustomerListRequest) SetRegionId(regionId string)
param regionId: (Required)
func (*QueryMyCustomerListRequest) SetStartRelTime ¶
func (r *QueryMyCustomerListRequest) SetStartRelTime(startRelTime string)
param startRelTime: 关联开始时间(格式:yyyy-MM-dd HH:mm:ss)(Optional)
type QueryMyCustomerListResponse ¶
type QueryMyCustomerListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryMyCustomerListResult `json:"result"` }
type QueryMyCustomerListResult ¶
type QueryMyCustomerListResult struct { Pagination partner.Pagination `json:"pagination"` Result []partner.Customer `json:"result"` }