Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FWOrder ¶
type FWOrder struct {
OrderId uint64 `json:"orderId,omitempty" codec:"orderId,omitempty"` // 订单号
EndDate int64 `json:"endDate,omitempty" codec:"endDate,omitempty"` // 结束时间
ItemCode string `json:"itemCode,omitempty" codec:"itemCode,omitempty"` // 收费项目编码
ItemName string `json:"itemName,omitempty" codec:"itemName,omitempty"` // 收费项目名称
ArticleType uint8 `json:"articleType,omitempty" codec:"articleType,omitempty"` // 订购类型(1:订购、2:续费、3:升级)
ErpOrderId uint64 `json:"erpOrderId,omitempty" codec:"erpOrderId,omitempty"` // 结算订单编号
TotalRealpayPrice uint64 `json:"totalRealpayPrice,omitempty" codec:"totalRealpayPrice,omitempty"` // 实付金额(单位:分)
SkuId uint64 `json:"skuId,omitempty" codec:"skuId,omitempty"` // 商品skuId
FwsPin string `json:"fwsPin,omitempty" codec:"fwsPin,omitempty"` // 服务商pin
TpOrderId uint64 `json:"tpOrderId,omitempty" codec:"tpOrderId,omitempty"` // 钱包订单号
NickName string `json:"nickName,omitempty" codec:"nickName,omitempty"` // 购买人昵称
Created int64 `json:"created,omitempty" codec:"created,omitempty"` // 创建时间
Buyer string `json:"buyer,omitempty" codec:"buyer,omitempty"` // 购买人pin
OrderCycle int64 `json:"orderCycle,omitempty" codec:"orderCycle,omitempty"` // 订购周期
OrderDate int64 `json:"orderDate,omitempty" codec:"orderDate,omitempty"` // 下单时间
StartDate int64 `json:"startDate,omitempty" codec:"startDate,omitempty"` // 服务开始时间
ServiceCode string `json:"serviceCode,omitempty" codec:"serviceCode,omitempty"` // 服务编码
OrderStatus uint8 `json:"orderStatus,omitempty" codec:"orderStatus,omitempty"` // 订单状态(1:等待付款、2:等待付款确认、4:订单完成、8:取消完成、16:退款中、64、退款完成)
OrderNum uint64 `json:"orderNum,omitempty" codec:"orderNum,omitempty"` // 订单数量
ChildBuyer string `json:"childBuyer,omitempty" codec:"childBuyer,omitempty"` // 购买人子账号
ServiceName string `json:"serviceName,omitempty" codec:"serviceName,omitempty"` // 服务名称
}
type MarketPaymentoutData ¶
type MarketPaymentoutData struct {
ReturnType *MarketPaymentoutReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"`
Code string `json:"code"`
}
func (MarketPaymentoutData) Error ¶ added in v1.1.1
func (r MarketPaymentoutData) Error() string
func (MarketPaymentoutData) IsError ¶ added in v1.1.1
func (r MarketPaymentoutData) IsError() bool
type MarketPaymentoutRequest ¶
type MarketPaymentoutRequest struct {
api.BaseRequest
RequestNo string `json:"requestNo,omitempty" codec:"requestNo,omitempty"` // 请求唯一ID
ActivityId uint `json:"activityId,omitempty" codec:"activityId,omitempty"` // 活动ID
AppId string `json:"appId,omitempty" codec:"appId,omitempty"` // 开普勒小程序ID(仅限开普勒业务)
Price uint `json:"price,omitempty" codec:"price,omitempty"` // 服务价格
IsMainService bool `json:"isMainService,omitempty" codec:"isMainService,omitempty"` // 是否主服务
ServiceCycle uint `json:"serviceCycle,omitempty" codec:"serviceCycle,omitempty"` // 服务周期
SkuId uint64 `json:"skuId,omitempty" codec:"skuId,omitempty"` // 订购skuId
ServiceCode string `json:"serviceCode,omitempty" codec:"serviceCode,omitempty"` // 订购服务编码
OrderNum uint `json:"orderNum,omitempty" codec:"orderNum,omitempty"` // 订购数量
ItemCode string `json:"itemCode,omitempty" codec:"itemCode,omitempty"` // 订购项目id
OutOrderId uint `json:"outOrderId,omitempty" codec:"outOrderId,omitempty"` // 外部系统订单号
Value1 string `json:"value1,omitempty" codec:"value1,omitempty"` // 扩展属性
ResultPageType uint `json:"resultPageType,omitempty" codec:"resultPageType,omitempty"` // 结算页类型【1:PC;2:移动版H5;3:移动版小程序(预留)】
SuccessUrl string `json:"successUrl,omitempty" codec:"successUrl,omitempty"` // 支付成功跳转地址
Ip string `json:"ip,omitempty" codec:"ip,omitempty"` // ip
}
type MarketPaymentoutResponse ¶
type MarketPaymentoutResponse struct {
ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
Data *MarketPaymentoutData `json:"jingdong_fw_market_paymentout_responce,omitempty" codec:"jingdong_fw_market_paymentout_responce,omitempty"`
}
func (MarketPaymentoutResponse) Error ¶ added in v1.1.1
func (r MarketPaymentoutResponse) Error() string
func (MarketPaymentoutResponse) IsError ¶ added in v1.1.1
func (r MarketPaymentoutResponse) IsError() bool
type MarketPaymentoutReturnType ¶
type MarketPaymentoutReturnType struct {
ErrorCode int64 `json:"errorCode,omitempty" codec:"errorCode,omitempty"` // 错误码
Success bool `json:"success,omitempty" codec:"success,omitempty"` // 是否成功
ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` // 错误信息
Body *MarketPaymentoutReturnTypeBody `json:"body,omitempty" codec:"body,omitempty"` // 订单列表
}
func MarketPaymentout ¶
func MarketPaymentout(ctx context.Context, req *MarketPaymentoutRequest) (*MarketPaymentoutReturnType, error)
func (MarketPaymentoutReturnType) Error ¶ added in v1.1.1
func (r MarketPaymentoutReturnType) Error() string
func (MarketPaymentoutReturnType) IsError ¶ added in v1.1.1
func (r MarketPaymentoutReturnType) IsError() bool
type MarketPaymentoutReturnTypeBody ¶
type MarketPaymentoutReturnTypeBody struct {
RequestId string `json:"requestId,omitempty" codec:"requestId,omitempty"`
SettlementUrl string `json:"settlementUrl,omitempty" codec:"settlementUrl,omitempty"`
OrderId uint64 `json:"orderId,omitempty" codec:"orderId,omitempty"`
ResultPageType uint `json:"resultPageType,omitempty" codec:"resultPageType,omitempty"`
}
type OrderListWithPageData ¶
type OrderListWithPageData struct {
ReturnType *OrderListWithPageReturnType `json:"returnType,omitempty" codec:"returnType,omitempty"`
Code string `json:"code"`
}
func (OrderListWithPageData) Error ¶ added in v1.1.1
func (r OrderListWithPageData) Error() string
func (OrderListWithPageData) IsError ¶ added in v1.1.1
func (r OrderListWithPageData) IsError() bool
type OrderListWithPageRequest ¶
type OrderListWithPageRequest struct {
api.BaseRequest
PageSize int `json:"pageSize,omitempty" codec:"pageSize,omitempty"` // 页面中展示个数
CurrentPage int `json:"currentPage,omitempty" codec:"currentPage,omitempty"` //
FwsPin string `json:"fwsPin,omitempty" codec:"fwsPin,omitempty"` // 服务商PIN
ServiceCode string `json:"serviceCode,omitempty" codec:"serviceCode,omitempty"` // 服务编码
}
type OrderListWithPageResponse ¶
type OrderListWithPageResponse struct {
ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"`
Data *OrderListWithPageData `json:"jingdong_pop_fw_order_listwithpage_responce,omitempty" codec:"jingdong_pop_fw_order_listwithpage_responce,omitempty"`
}
func (OrderListWithPageResponse) Error ¶ added in v1.1.1
func (r OrderListWithPageResponse) Error() string
func (OrderListWithPageResponse) IsError ¶ added in v1.1.1
func (r OrderListWithPageResponse) IsError() bool
type OrderListWithPageReturnType ¶
type OrderListWithPageReturnType struct {
TotalPage uint64 `json:"totalPage,omitempty" codec:"totalPage,omitempty"` // 实际页数
PageSize uint64 `json:"pageSize,omitempty" codec:"pageSize,omitempty"` // 每页个数
ErrorCode int64 `json:"errorCode,omitempty" codec:"errorCode,omitempty"` // 错误码
CurrentPage uint64 `json:"currentPage,omitempty" codec:"currentPage,omitempty"` // 当前页
TotalCount uint64 `json:"totalCount,omitempty" codec:"totalCount,omitempty"` // 总个数
IsSuccess bool `json:"isSuccess,omitempty" codec:"isSuccess,omitempty"` // 是否成功
ErrorMsg string `json:"errorMsg,omitempty" codec:"errorMsg,omitempty"` // 错误信息
OrderList []FWOrder `json:"orderList,omitempty" codec:"orderList,omitempty"` // 订单列表
}
func OrderListWithPage ¶
func OrderListWithPage(ctx context.Context, req *OrderListWithPageRequest) (*OrderListWithPageReturnType, error)
func (OrderListWithPageReturnType) Error ¶ added in v1.1.1
func (r OrderListWithPageReturnType) Error() string
func (OrderListWithPageReturnType) IsError ¶ added in v1.1.1
func (r OrderListWithPageReturnType) IsError() bool
Click to show internal directories.
Click to hide internal directories.