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

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

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

public class CreditCardRequest {

    private String id;
    private String hash;
    private String number;
    private String expirationMonth;
    private String expirationYear;
    private Integer cvc;
    private Boolean store;
    private HolderRequest holder;
    private String first6;
    private String last4;

    public String getId() {
        return id;
    }

    public CreditCardRequest id(final String id) {
        this.id = id;

        return this;
    }

    public CreditCardRequest first6(final String first6){
        this.first6 = first6;
        return this;
    }

    public String getFirst6() {
        return first6;
    }

    public CreditCardRequest last4(final String last4){
        this.last4 = last4;
        return this;
    }

    public String getLast4() {
        return last4;
    }

    public String getHash() {
        return hash;
    }

    public CreditCardRequest hash(final String hash) {
        this.hash = hash;

        return this;
    }

    public String getNumber() {
        return number;
    }

    public CreditCardRequest number(final String number) {
        this.number = number;

        return this;
    }

    public String getExpirationMonth() {
        return expirationMonth;
    }

    public CreditCardRequest expirationMonth(String expirationMonth) {
        this.expirationMonth = expirationMonth;

        return this;
    }

    public String getExpirationYear() {
        return expirationYear;
    }

    public CreditCardRequest expirationYear(String expirationYear) {
        this.expirationYear = expirationYear;

        return this;
    }

    public Integer getCvc() {
        return cvc;
    }

    public CreditCardRequest cvc(Integer cvc) {
        this.cvc = cvc;

        return this;
    }

    public Boolean getStore() {
        return store;
    }

    public CreditCardRequest store(Boolean store) {
        this.store = store;

        return this;
    }

    public HolderRequest getHolder() {
        return holder;
    }

    public CreditCardRequest holder(final HolderRequest holder) {
        this.holder = holder;

        return this;
    }

    @Override
    public String toString() {
        return "CreditCardRequest{" +
                "hash='" + hash + '\'' +
                ", holder=" + holder +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy