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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy