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

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

Go to download

This SDK eases the development of Java applications and web services consuming the figo connect API. Figo connect allows developers simple access to users bank data on a trustworthy basis. Users can grant your application access to certain parts of their bank accounts and you can access them without worrying about the inner workings of online banking.

There is a newer version: 4.0.16
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy