me.figo.models.PaymentContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
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.
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);
}
}