package eu.dnetlib.goldoa.domain;

import com.google.gwt.user.client.rpc.IsSerializable;

/**
 * Created by antleb on 3/13/15.
 */
public class Publisher extends GoldBean implements IsSerializable {

	private String name;
	private String email;
	private Person contact;
    private float APC;
    private Currency currency;
	private float discount;
    private BankAccount bankAccount;
	private String source;

	public Publisher(String id) {
		super(id);
	}

    public Publisher() {
	}

    public Publisher(String id, String name, String email, Person contact, float APC, Currency currency, float discount, BankAccount bankAccount, String source) {
        this(id);
        this.name = name;
        this.email = email;
        this.contact = contact;
        this.APC = APC;
        this.currency = currency;
        this.discount = discount;
        this.bankAccount = bankAccount;
        this.source = source;
    }

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Person getContact() {
		return contact;
	}

	public void setContact(Person contact) {
		this.contact = contact;
	}

	public float getDiscount() {
		return discount;
	}

	public void setDiscount(float discount) {
		this.discount = discount;
	}

    public float getAPC() {
        return APC;
    }

    public void setAPC(float APC) {
        this.APC = APC;
    }

    public Currency getCurrency() {
        return currency;
    }

    public void setCurrency(Currency currency) {
        this.currency = currency;
    }

    public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

    public BankAccount getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(BankAccount bankAccount) {
        this.bankAccount = bankAccount;
    }
}
