|
@@ -942,8 +942,6 @@ type StoreInfo struct {
|
|
|
Id *string `json:"id"`
|
|
|
// 商户侧门店名称
|
|
|
Name *string `json:"name,omitempty"`
|
|
|
- // 地区编码,详细请见微信支付提供的文档
|
|
|
- AreaCode *string `json:"area_code,omitempty"`
|
|
|
// 详细的商户门店地址
|
|
|
Address *string `json:"address,omitempty"`
|
|
|
}
|
|
@@ -959,9 +957,6 @@ func (o StoreInfo) MarshalJSON() ([]byte, error) {
|
|
|
toSerialize["name"] = o.Name
|
|
|
}
|
|
|
|
|
|
- if o.AreaCode != nil {
|
|
|
- toSerialize["area_code"] = o.AreaCode
|
|
|
- }
|
|
|
|
|
|
if o.Address != nil {
|
|
|
toSerialize["address"] = o.Address
|
|
@@ -983,12 +978,6 @@ func (o StoreInfo) String() string {
|
|
|
ret += fmt.Sprintf("Name:%v, ", *o.Name)
|
|
|
}
|
|
|
|
|
|
- if o.AreaCode == nil {
|
|
|
- ret += "AreaCode:<nil>, "
|
|
|
- } else {
|
|
|
- ret += fmt.Sprintf("AreaCode:%v, ", *o.AreaCode)
|
|
|
- }
|
|
|
-
|
|
|
if o.Address == nil {
|
|
|
ret += "Address:<nil>"
|
|
|
} else {
|
|
@@ -1011,10 +1000,7 @@ func (o StoreInfo) Clone() *StoreInfo {
|
|
|
*ret.Name = *o.Name
|
|
|
}
|
|
|
|
|
|
- if o.AreaCode != nil {
|
|
|
- ret.AreaCode = new(string)
|
|
|
- *ret.AreaCode = *o.AreaCode
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
if o.Address != nil {
|
|
|
ret.Address = new(string)
|