br.com.moip.resource.Customer 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.resource;
import java.util.Date;
public class Customer {
private String ownId;
private String fullname;
private String email;
private TaxDocument taxDocument;
private Phone phone;
private Date birthDate;
private ShippingAddress shippingAddress;
public String getOwnId() {
return ownId;
}
public String getFullname() {
return fullname;
}
public String getEmail() {
return email;
}
public Customer setEmail(final String email) {
this.email = email;
return this;
}
public Date getBirthDate() {
return birthDate;
}
public TaxDocument getTaxDocument() {
return taxDocument;
}
public Phone getPhone() {
return phone;
}
public ShippingAddress getShippingAddress() {
return shippingAddress;
}
@Override
public String toString() {
return "Customer{" +
"ownId='" + ownId + '\'' +
", fullname='" + fullname + '\'' +
", email='" + email + '\'' +
", taxDocument=" + taxDocument +
", phone=" + phone +
", birthDate=" + birthDate +
", shippingAddress=" + shippingAddress +
'}';
}
}