Documentation ¶
Index ¶
- type Address
- type AddressCreateParam
- type AddressCreateRequest
- func (c *AddressCreateRequest) Execute(accessToken *doudian_sdk.AccessToken) (*address_create_response.AddressCreateResponse, error)
- func (c *AddressCreateRequest) GetParamObject() interface{}
- func (c *AddressCreateRequest) GetParams() *AddressCreateParam
- func (c *AddressCreateRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct { // 联系人姓名 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 AddressCreateParam ¶
type AddressCreateRequest ¶
type AddressCreateRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *AddressCreateParam }
func New ¶
func New() *AddressCreateRequest
func (*AddressCreateRequest) Execute ¶
func (c *AddressCreateRequest) Execute(accessToken *doudian_sdk.AccessToken) (*address_create_response.AddressCreateResponse, error)
func (*AddressCreateRequest) GetParamObject ¶
func (c *AddressCreateRequest) GetParamObject() interface{}
func (*AddressCreateRequest) GetParams ¶
func (c *AddressCreateRequest) GetParams() *AddressCreateParam
func (*AddressCreateRequest) GetUrlPath ¶
func (c *AddressCreateRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.