master
wangning 7 years ago
parent c743e6a279
commit 51136611b0

@ -19,7 +19,11 @@ public class AppClientBean {
private String timezone;
@JSONField(name = "customer_surcharge_rate")
private Double customerSurchargeRate;
private String company_phone;
private String address;
private String suburb;
private String postcode;
private String state;
public JSONObject updateObject() {
@ -36,6 +40,22 @@ public class AppClientBean {
if (timezone != null) {
res.put("timezone", timezone);
}
if (company_phone != null) {
res.put("company_phone", company_phone);
}
if (address != null) {
res.put("address", address);
}
if (suburb != null) {
res.put("suburb", suburb);
}
if (postcode != null) {
res.put("postcode", postcode);
}
if (state != null) {
res.put("state", state);
}
return res;
}
@ -77,4 +97,44 @@ public class AppClientBean {
public Double getCustomerSurchargeRate(){
return customerSurchargeRate;
}
public String getCompany_phone() {
return company_phone;
}
public void setCompany_phone(String company_phone) {
this.company_phone = company_phone;
}
public String getAddress() {
return address;
}
public void setAddress(String address) {
this.address = address;
}
public String getSuburb() {
return suburb;
}
public void setSuburb(String suburb) {
this.suburb = suburb;
}
public String getPostcode() {
return postcode;
}
public void setPostcode(String postcode) {
this.postcode = postcode;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
}

Loading…
Cancel
Save