All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.moip.request.HolderRequest Maven / Gradle / Ivy

There is a newer version: 4.7.6
Show newest version
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();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy