apis

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmSaleServiceDeliveryRequest

type ConfirmSaleServiceDeliveryRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 交付信息  */
	ConfirmDeliveryInfo *elite.ConfirmDeliveryInfo `json:"confirmDeliveryInfo"`
}

func NewConfirmSaleServiceDeliveryRequest

func NewConfirmSaleServiceDeliveryRequest(
	regionId string,
	confirmDeliveryInfo *elite.ConfirmDeliveryInfo,
) *ConfirmSaleServiceDeliveryRequest

* param regionId: 地域ID (Required) * param confirmDeliveryInfo: 交付信息 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewConfirmSaleServiceDeliveryRequestWithAllParams

func NewConfirmSaleServiceDeliveryRequestWithAllParams(
	regionId string,
	confirmDeliveryInfo *elite.ConfirmDeliveryInfo,
) *ConfirmSaleServiceDeliveryRequest

* param regionId: 地域ID (Required) * param confirmDeliveryInfo: 交付信息 (Required)

func NewConfirmSaleServiceDeliveryRequestWithoutParam

func NewConfirmSaleServiceDeliveryRequestWithoutParam() *ConfirmSaleServiceDeliveryRequest

This constructor has better compatible ability when API parameters changed

func (ConfirmSaleServiceDeliveryRequest) GetRegionId

func (r ConfirmSaleServiceDeliveryRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ConfirmSaleServiceDeliveryRequest) SetConfirmDeliveryInfo

func (r *ConfirmSaleServiceDeliveryRequest) SetConfirmDeliveryInfo(confirmDeliveryInfo *elite.ConfirmDeliveryInfo)

param confirmDeliveryInfo: 交付信息(Required)

func (*ConfirmSaleServiceDeliveryRequest) SetRegionId

func (r *ConfirmSaleServiceDeliveryRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type ConfirmSaleServiceDeliveryResponse

type ConfirmSaleServiceDeliveryResponse struct {
	RequestID string                           `json:"requestId"`
	Error     core.ErrorResponse               `json:"error"`
	Result    ConfirmSaleServiceDeliveryResult `json:"result"`
}

type ConfirmSaleServiceDeliveryResult

type ConfirmSaleServiceDeliveryResult struct {
	Status  bool   `json:"status"`
	Message string `json:"message"`
}

type GetSaleServiceByDeliverNumberRequest

type GetSaleServiceByDeliverNumberRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 交付单号  */
	DeliverNumber string `json:"deliverNumber"`
}

func NewGetSaleServiceByDeliverNumberRequest

func NewGetSaleServiceByDeliverNumberRequest(
	regionId string,
	deliverNumber string,
) *GetSaleServiceByDeliverNumberRequest

* param regionId: 地域ID (Required) * param deliverNumber: 交付单号 (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewGetSaleServiceByDeliverNumberRequestWithAllParams

func NewGetSaleServiceByDeliverNumberRequestWithAllParams(
	regionId string,
	deliverNumber string,
) *GetSaleServiceByDeliverNumberRequest

* param regionId: 地域ID (Required) * param deliverNumber: 交付单号 (Required)

func NewGetSaleServiceByDeliverNumberRequestWithoutParam

func NewGetSaleServiceByDeliverNumberRequestWithoutParam() *GetSaleServiceByDeliverNumberRequest

This constructor has better compatible ability when API parameters changed

func (GetSaleServiceByDeliverNumberRequest) GetRegionId

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*GetSaleServiceByDeliverNumberRequest) SetDeliverNumber

func (r *GetSaleServiceByDeliverNumberRequest) SetDeliverNumber(deliverNumber string)

param deliverNumber: 交付单号(Required)

func (*GetSaleServiceByDeliverNumberRequest) SetRegionId

func (r *GetSaleServiceByDeliverNumberRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type GetSaleServiceByDeliverNumberResponse

type GetSaleServiceByDeliverNumberResponse struct {
	RequestID string                              `json:"requestId"`
	Error     core.ErrorResponse                  `json:"error"`
	Result    GetSaleServiceByDeliverNumberResult `json:"result"`
}

type GetSaleServiceByDeliverNumberResult

type GetSaleServiceByDeliverNumberResult struct {
	Status  bool                   `json:"status"`
	Message string                 `json:"message"`
	Data    elite.ProductServiceVo `json:"data"`
}

type ListSaleServiceRequest

type ListSaleServiceRequest struct {
	core.JDCloudRequest

	/* 地域ID  */
	RegionId string `json:"regionId"`

	/* 页码(最小1)  */
	PageNo int `json:"pageNo"`

	/* 每页记录数(最小10,最大100)  */
	PageSize int `json:"pageSize"`

	/* 交付单号 (Optional) */
	DeliverNumber *string `json:"deliverNumber"`

	/* 交付状态 (Optional) */
	DeliverStatus *int `json:"deliverStatus"`

	/* 交付单创建起始时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
	CreateDtStart *string `json:"createDtStart"`

	/* 交付单创建结束时间,格式:yyyy-MM-dd HH:mm:ss (Optional) */
	CreateDtEnd *string `json:"createDtEnd"`
}

func NewListSaleServiceRequest

func NewListSaleServiceRequest(
	regionId string,
	pageNo int,
	pageSize int,
) *ListSaleServiceRequest

* param regionId: 地域ID (Required) * param pageNo: 页码(最小1) (Required) * param pageSize: 每页记录数(最小10,最大100) (Required) * * @Deprecated, not compatible when mandatory parameters changed

func NewListSaleServiceRequestWithAllParams

func NewListSaleServiceRequestWithAllParams(
	regionId string,
	pageNo int,
	pageSize int,
	deliverNumber *string,
	deliverStatus *int,
	createDtStart *string,
	createDtEnd *string,
) *ListSaleServiceRequest

* param regionId: 地域ID (Required) * param pageNo: 页码(最小1) (Required) * param pageSize: 每页记录数(最小10,最大100) (Required) * param deliverNumber: 交付单号 (Optional) * param deliverStatus: 交付状态 (Optional) * param createDtStart: 交付单创建起始时间,格式:yyyy-MM-dd HH:mm:ss (Optional) * param createDtEnd: 交付单创建结束时间,格式:yyyy-MM-dd HH:mm:ss (Optional)

func NewListSaleServiceRequestWithoutParam

func NewListSaleServiceRequestWithoutParam() *ListSaleServiceRequest

This constructor has better compatible ability when API parameters changed

func (ListSaleServiceRequest) GetRegionId

func (r ListSaleServiceRequest) GetRegionId() string

GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string

func (*ListSaleServiceRequest) SetCreateDtEnd

func (r *ListSaleServiceRequest) SetCreateDtEnd(createDtEnd string)

param createDtEnd: 交付单创建结束时间,格式:yyyy-MM-dd HH:mm:ss(Optional)

func (*ListSaleServiceRequest) SetCreateDtStart

func (r *ListSaleServiceRequest) SetCreateDtStart(createDtStart string)

param createDtStart: 交付单创建起始时间,格式:yyyy-MM-dd HH:mm:ss(Optional)

func (*ListSaleServiceRequest) SetDeliverNumber

func (r *ListSaleServiceRequest) SetDeliverNumber(deliverNumber string)

param deliverNumber: 交付单号(Optional)

func (*ListSaleServiceRequest) SetDeliverStatus

func (r *ListSaleServiceRequest) SetDeliverStatus(deliverStatus int)

param deliverStatus: 交付状态(Optional)

func (*ListSaleServiceRequest) SetPageNo

func (r *ListSaleServiceRequest) SetPageNo(pageNo int)

param pageNo: 页码(最小1)(Required)

func (*ListSaleServiceRequest) SetPageSize

func (r *ListSaleServiceRequest) SetPageSize(pageSize int)

param pageSize: 每页记录数(最小10,最大100)(Required)

func (*ListSaleServiceRequest) SetRegionId

func (r *ListSaleServiceRequest) SetRegionId(regionId string)

param regionId: 地域ID(Required)

type ListSaleServiceResponse

type ListSaleServiceResponse struct {
	RequestID string                `json:"requestId"`
	Error     core.ErrorResponse    `json:"error"`
	Result    ListSaleServiceResult `json:"result"`
}

type ListSaleServiceResult

type ListSaleServiceResult struct {
	Status  bool                           `json:"status"`
	Message string                         `json:"message"`
	Data    elite.ProductServiceVoListData `json:"data"`
}

Jump to

Keyboard shortcuts

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