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

br.com.moip.resource.Holder Maven / Gradle / Ivy

There is a newer version: 4.7.6
Show newest version
package br.com.moip.resource;

public class Holder {

    private String fullname;
    private String birthdate;
    private Phone phone;
    private TaxDocument taxDocument;

    public String getFullname() {
        return fullname;
    }

    public Holder setFullname(final String fullname) {
        this.fullname = fullname;

        return this;
    }

    public String getBirthdate() {
        return birthdate;
    }

    public Holder setBirthdate(final String birthdate) {
        this.birthdate = birthdate;

        return this;
    }

    public Phone getPhone() {
        return phone;
    }

    public Holder setPhone(final Phone phone) {
        this.phone = phone;

        return this;
    }

    public TaxDocument getTaxDocument() {
        return taxDocument;
    }

    public Holder setTaxDocument(final TaxDocument taxDocument) {
        this.taxDocument = taxDocument;

        return this;
    }

    @Override
    public String toString() {
        return new StringBuilder("Holder{")
                .append("fullname=").append(fullname)
                .append(", birthdate=").append(birthdate)
                .append(", phone=").append(phone)
                .append(", taxDocument").append(taxDocument)
                .append("}").toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy