order_addressModify_request

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-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 City

type City struct {
	// 城市id
	Id string `json:"id"`
	// 城市名称
	Name string `json:"name"`
}

type OrderAddressModifyParam

type OrderAddressModifyParam struct {
	// 订单号
	OrderId string `json:"order_id"`
	// 修改收货地址,post_addr中的所有字段都必传。
	PostAddr *PostAddr `json:"post_addr"`
	// 收货人姓名
	PostReceiver string `json:"post_receiver"`
	// 收货人电话号码
	PostTel string `json:"post_tel"`
}

type OrderAddressModifyRequest

type OrderAddressModifyRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *OrderAddressModifyParam
}

func New

func (*OrderAddressModifyRequest) Execute

func (c *OrderAddressModifyRequest) Execute(accessToken *doudian_sdk.AccessToken) (*order_addressModify_response.OrderAddressModifyResponse, error)

func (*OrderAddressModifyRequest) GetParamObject

func (c *OrderAddressModifyRequest) GetParamObject() interface{}

func (*OrderAddressModifyRequest) GetParams

func (*OrderAddressModifyRequest) GetUrlPath

func (c *OrderAddressModifyRequest) GetUrlPath() string

type PostAddr

type PostAddr struct {
	// 省
	Province *Province `json:"province"`
	// 城市
	City *City `json:"city"`
	// 镇
	Town *Town `json:"town"`
	// 街道
	Street *Street `json:"street"`
	// 详细地址
	AddressDetail string `json:"address_detail"`
	// 暂时未使用的字段
	LandMark string `json:"land_mark"`
}

type Province

type Province struct {
	// 省id
	Id string `json:"id"`
	// 省名称
	Name string `json:"name"`
}

type Street

type Street struct {
	// 街道id
	Id string `json:"id"`
	// 街道名称
	Name string `json:"name"`
}

type Town

type Town struct {
	// 镇id
	Id string `json:"id"`
	// 镇名称
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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