Documentation ¶
Index ¶
- type Address
- type AddressUpdateParam
- type AddressUpdateRequest
- func (c *AddressUpdateRequest) Execute(accessToken *doudian_sdk.AccessToken) (*address_update_response.AddressUpdateResponse, error)
- func (c *AddressUpdateRequest) GetParamObject() interface{}
- func (c *AddressUpdateRequest) GetParams() *AddressUpdateParam
- func (c *AddressUpdateRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // 地址ID Id int64 `json:"id"` // 联系人姓名 UserName string `json:"user_name"` // 手机号码 Mobile string `json:"mobile"` // 省ID ProvinceId int64 `json:"province_id"` // 城市ID CityId int64 `json:"city_id"` // 区ID TownId int64 `json:"town_id"` // 详细地址 Detail string `json:"detail"` // 街道ID StreetId int64 `json:"street_id"` // 联系方式类型(0-手机,1-普通座机,2-企业座机) LinkType int32 `json:"link_type"` // 普通座机格式:区号-座机号-分机号(分机号选填)、区号3~4位、座机号7~8位、分机号不超过5位。企业座机:400/800开头不超过10位、95开头在5~8we FixedPhone string `json:"fixed_phone"` // 售后备注,限制200个字符 Remark string `json:"remark"` }
type AddressUpdateParam ¶
type AddressUpdateRequest ¶
type AddressUpdateRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *AddressUpdateParam }
func New ¶
func New() *AddressUpdateRequest
func (*AddressUpdateRequest) Execute ¶
func (c *AddressUpdateRequest) Execute(accessToken *doudian_sdk.AccessToken) (*address_update_response.AddressUpdateResponse, error)
func (*AddressUpdateRequest) GetParamObject ¶
func (c *AddressUpdateRequest) GetParamObject() interface{}
func (*AddressUpdateRequest) GetParams ¶
func (c *AddressUpdateRequest) GetParams() *AddressUpdateParam
func (*AddressUpdateRequest) GetUrlPath ¶
func (c *AddressUpdateRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.