br.com.moip.request.HolderRequest 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 HolderRequest {
private String fullname;
private String birthdate;
private PhoneRequest phone;
private TaxDocumentRequest taxDocument;
public String getFullname() {
return fullname;
}
public HolderRequest fullname(final String fullname) {
this.fullname = fullname;
return this;
}
public String getBirthdate() {
return birthdate;
}
public HolderRequest birthdate(final String birthdate) {
this.birthdate = birthdate;
return this;
}
public PhoneRequest getPhone() {
return phone;
}
public HolderRequest phone(final PhoneRequest phone) {
this.phone = phone;
return this;
}
public TaxDocumentRequest getTaxDocument() {
return taxDocument;
}
public HolderRequest taxDocument(final TaxDocumentRequest taxDocument) {
this.taxDocument = taxDocument;
return this;
}
@Override
public String toString() {
return new StringBuilder("HolderRequest{")
.append("fullname='").append(fullname).append('\'')
.append(", birthdate='").append(birthdate).append('\'')
.append(", phone=").append(phone)
.append(", taxDocument=").append(taxDocument)
.append('}').toString();
}
}