cntms

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CainiaoCntmsLogisticsOrderConsignAPIResponse

type CainiaoCntmsLogisticsOrderConsignAPIResponse struct {
	model.CommonResponse
	CainiaoCntmsLogisticsOrderConsignResponse
}

菜鸟配商家仓库发货 APIResponse cainiao.cntms.logistics.order.consign

商家包装打印面单结束后,通知菜鸟包裹要发货

type CainiaoCntmsLogisticsOrderConsignRequest

type CainiaoCntmsLogisticsOrderConsignRequest struct {
	model.Params
	// contains filtered or unexported fields
}

菜鸟配商家仓库发货 APIRequest cainiao.cntms.logistics.order.consign

商家包装打印面单结束后,通知菜鸟包裹要发货

func NewCainiaoCntmsLogisticsOrderConsignRequest

func NewCainiaoCntmsLogisticsOrderConsignRequest() *CainiaoCntmsLogisticsOrderConsignRequest

func (CainiaoCntmsLogisticsOrderConsignRequest) GetApiMethodName

func (r CainiaoCntmsLogisticsOrderConsignRequest) GetApiMethodName() string

func (CainiaoCntmsLogisticsOrderConsignRequest) GetApiParams

func (CainiaoCntmsLogisticsOrderConsignRequest) GetContent

func (*CainiaoCntmsLogisticsOrderConsignRequest) SetContent

type CainiaoCntmsLogisticsOrderConsignResponse

type CainiaoCntmsLogisticsOrderConsignResponse struct {
	XMLName   xml.Name `xml:"cainiao_cntms_logistics_order_consign_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	LogisticsOrderCode string `json:"logistics_order_code,omitempty" xml:"logistics_order_code,omitempty"`
}

type CnTmsLogisticsOrderConsignContent

type CnTmsLogisticsOrderConsignContent struct {
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`

	TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"`

	OrderSource string `json:"order_source,omitempty" xml:"order_source,omitempty"`

	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`

	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`

	TmsCode string `json:"tms_code,omitempty" xml:"tms_code,omitempty"`

	ReceiverInfo *CnTmsLogisticsOrderReceiverInfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"`

	SenderInfo *CnTmsLogisticsOrderSenderinfo `json:"sender_info,omitempty" xml:"sender_info,omitempty"`

	Items []CnTmsLogisticsOrderItem `json:"items,omitempty" xml:"items,omitempty"`

	DeliverRequirements *CnTmsLogisticsOrderDeliverRequirements `json:"deliver_requirements,omitempty" xml:"deliver_requirements,omitempty"`

	PickUpType int64 `json:"pick_up_type,omitempty" xml:"pick_up_type,omitempty"`

	TmsGotService *CnTmsLogisticsOrderGotService `json:"tms_got_service,omitempty" xml:"tms_got_service,omitempty"`

	SolutionsCode string `json:"solutions_code,omitempty" xml:"solutions_code,omitempty"`

	PackageNo int64 `json:"package_no,omitempty" xml:"package_no,omitempty"`

	PackageWeight int64 `json:"package_weight,omitempty" xml:"package_weight,omitempty"`

	PackageCount int64 `json:"package_count,omitempty" xml:"package_count,omitempty"`

	PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"`

	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`

	PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"`

	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`

	PackageVolume int64 `json:"package_volume,omitempty" xml:"package_volume,omitempty"`

	PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"`

	IsLastBatch bool `json:"is_last_batch,omitempty" xml:"is_last_batch,omitempty"`

	PackageList []CnTmsLogisticsOrderItemPackageInfo `json:"package_list,omitempty" xml:"package_list,omitempty"`
}

CnTmsLogisticsOrderConsignContent

type CnTmsLogisticsOrderDeliverRequirements

type CnTmsLogisticsOrderDeliverRequirements struct {
	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`

	ScheduleType string `json:"schedule_type,omitempty" xml:"schedule_type,omitempty"`

	ScheduleDay string `json:"schedule_day,omitempty" xml:"schedule_day,omitempty"`

	ScheduleStart string `json:"schedule_start,omitempty" xml:"schedule_start,omitempty"`

	ScheduleEnd string `json:"schedule_end,omitempty" xml:"schedule_end,omitempty"`
}

CnTmsLogisticsOrderDeliverRequirements

type CnTmsLogisticsOrderGotService

type CnTmsLogisticsOrderGotService struct {
	GotDate string `json:"got_date,omitempty" xml:"got_date,omitempty"`

	GotRange string `json:"got_range,omitempty" xml:"got_range,omitempty"`
}

CnTmsLogisticsOrderGotService

type CnTmsLogisticsOrderItem

type CnTmsLogisticsOrderItem struct {
	OrderItemId string `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"`

	SubTradeId string `json:"sub_trade_id,omitempty" xml:"sub_trade_id,omitempty"`

	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`

	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`

	ExtendFields string `json:"extend_fields,omitempty" xml:"extend_fields,omitempty"`

	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`

	ItemPrice int64 `json:"item_price,omitempty" xml:"item_price,omitempty"`
}

CnTmsLogisticsOrderItem

type CnTmsLogisticsOrderItemPackageInfo

type CnTmsLogisticsOrderItemPackageInfo struct {
	Items []CnTmsLogisticsOrderItem `json:"items,omitempty" xml:"items,omitempty"`

	MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"`

	PackageWeight string `json:"package_weight,omitempty" xml:"package_weight,omitempty"`

	PackageLength string `json:"package_length,omitempty" xml:"package_length,omitempty"`

	PackageWidth string `json:"package_width,omitempty" xml:"package_width,omitempty"`

	PackageHeight string `json:"package_height,omitempty" xml:"package_height,omitempty"`

	PackageVolume string `json:"package_volume,omitempty" xml:"package_volume,omitempty"`
}

CnTmsLogisticsOrderItemPackageInfo

type CnTmsLogisticsOrderReceiverInfo

type CnTmsLogisticsOrderReceiverInfo struct {
	ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"`

	ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"`

	ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"`

	ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"`

	ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"`

	ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"`

	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`

	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`

	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
}

CnTmsLogisticsOrderReceiverInfo

type CnTmsLogisticsOrderSenderinfo

type CnTmsLogisticsOrderSenderinfo struct {
	SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"`

	SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"`

	SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"`

	SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"`

	SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"`

	SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"`

	SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"`

	SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"`
}

CnTmsLogisticsOrderSenderinfo

Jump to

Keyboard shortcuts

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