br.com.moip.request.CustomerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-sdk Show documentation
Show all versions of java-sdk Show documentation
Java SDK for Moip v2 APIs
package br.com.moip.request;
public class CustomerRequest {
private String ownId;
private String fullname;
private String email;
public String getOwnId() {
return ownId;
}
public CustomerRequest ownId(final String ownId) {
this.ownId = ownId;
return this;
}
public String getFullname() {
return fullname;
}
public CustomerRequest fullname(final String fullname) {
this.fullname = fullname;
return this;
}
public String getEmail() {
return email;
}
public CustomerRequest email(final String email) {
this.email = email;
return this;
}
@Override
public String toString() {
final StringBuilder sb = new StringBuilder("Customer{");
sb.append("ownId='").append(ownId).append('\'');
sb.append(", fullname='").append(fullname).append('\'');
sb.append(", email='").append(email).append('\'');
sb.append('}');
return sb.toString();
}
}