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

me.figo.models.PaymentContainer Maven / Gradle / Ivy

package me.figo.models;

import java.util.List;

import com.google.gson.annotations.Expose;

public class PaymentContainer {
	
	@Expose
	private String account_id;
	
	@Expose
	private String type;
	
	@Expose
	private List container;
	
	public PaymentContainer(List paymentList)	{
		this.account_id = paymentList.get(0).getAccountId();
		this.type = paymentList.get(0).getType();
		this.container = paymentList;
	}

	public String getAccountId() {
		return account_id;
	}

	public void setAccountId(String accountId) {
		this.account_id = accountId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List getContainer() {
		return container;
	}

	public void setContainer(List container) {
		this.container = container;
	}
	
	public void addPayment(Payment payment)	{
		this.container.add(payment);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy