public class Payment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Payment.PaymentsResponse
Helper type to represent the actual answer from the figo API
|
| Constructor and Description |
|---|
Payment() |
Payment(String type,
String account_id,
String account_number,
String bank_code,
String name,
String purpose,
BigDecimal amount) |
Payment(String type,
String account_id,
String account_number,
String bank_code,
String name,
String purpose,
String currency,
BigDecimal amount) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAccountId() |
String |
getAccountNumber() |
BigDecimal |
getAmount() |
HashMap<String,String> |
getBankAdditionalIcons() |
String |
getBankCode() |
String |
getBankIcon() |
String |
getBankName() |
Date |
getCreationTimestamp() |
String |
getCurrency() |
Date |
getModificationTimestamp() |
String |
getName() |
String |
getPaymentId() |
String |
getPurpose() |
Date |
getSubmissionTimestamp() |
String |
getTransactionId() |
String |
getType() |
void |
setAccountId(String account_id) |
void |
setAccountNumber(String account_number) |
void |
setAmount(BigDecimal amount) |
void |
setBankCode(String bank_code) |
void |
setCurrency(String currency) |
void |
setName(String name) |
void |
setPurpose(String purpose) |
void |
setTransactionId(String transaction_id) |
void |
setType(String type) |
public Payment()
public Payment(String type, String account_id, String account_number, String bank_code, String name, String purpose, BigDecimal amount)
public String getPaymentId()
public String getAccountId()
public void setAccountId(String account_id)
account_id - the internal figo Connect account ID to setpublic String getType()
public void setType(String type)
type - the payment type to setpublic String getName()
public void setName(String name)
name - the name of creditor or debtor to setpublic String getAccountNumber()
public void setAccountNumber(String account_number)
account_number - the account number of creditor or debtor to setpublic String getBankCode()
public void setBankCode(String bank_code)
bank_code - the bank code of creditor or debtor to setpublic String getBankName()
public String getBankIcon()
public HashMap<String,String> getBankAdditionalIcons()
public BigDecimal getAmount()
public void setAmount(BigDecimal amount)
amount - the order amount to setpublic String getCurrency()
public void setCurrency(String currency)
currency - the three-character currency code to setpublic String getPurpose()
public void setPurpose(String purpose)
purpose - the purpose text to setpublic Date getSubmissionTimestamp()
public Date getCreationTimestamp()
public Date getModificationTimestamp()
public String getTransactionId()
public void setTransactionId(String transaction_id)
transaction_id - the transaction ID to setCopyright © 2016 figo GmbH. All rights reserved.