Name | Type | Description | Notes |
---|---|---|---|
Interface | BankingInterface | <strong>Type:</strong> BankingInterface<br/> Bank interface. Possible values:<br><br>• <code>WEB_SCRAPER</code> - finAPI will parse account data from the bank's online banking website.<br>• <code>FINTS_SERVER</code> - finAPI will download account data via the bank's FinTS interface.<br>• <code>XS2A</code> - finAPI will download account data via the bank's XS2A interface.<br> | |
Status | AccountStatus | <strong>Type:</strong> AccountStatus<br/> The current status of the account from the perspective of this interface. Possible values are:<br/>• <code>UPDATED</code> means that the account is up to date from finAPI's point of view. This means that no current import/update is running, and the previous import/update had successfully updated the account's data (e.g. transactions and securities), and the bank given balance matched the transaction's calculated sum, meaning that no adjusting entry ('Zwischensaldo' transaction) was inserted.<br/>• <code>UPDATED_FIXED</code> means that the account is up to date from finAPI's point of view (no current import/update is running, and the previous import/update had successfully updated the account's data), BUT there was a deviation in the bank given balance which was fixed by adding an adjusting entry ('Zwischensaldo' transaction).<br/>• <code>DOWNLOAD_IN_PROGRESS</code> means that the account's data is currently being imported/updated.<br/>• <code>DOWNLOAD_FAILED</code> means that the account data was not successfully imported or updated. Possible reasons: finAPI could not get the account's balance, or it could not parse all transactions/securities, or some internal error has occurred. Also, it could mean that finAPI could not even get to the point of receiving the account data from the bank server, for example because of incorrect login credentials or a network problem. Note however that when we get a balance and just an empty list of transactions or securities, then this is regarded as valid and successful download. The reason for this is that for some accounts that have little activity, we may actually get no recent transactions but only a balance.<br/>• <code>DEPRECATED</code> means that the account could no longer be matched with any account from the bank server. This can mean either that the account was terminated by the user and is no longer sent by the bank server, or that finAPI could no longer match it because the account's data (name, type, iban, account number, etc.) has been changed by the bank. | |
Capabilities | []AccountCapability | ||
PaymentCapabilities | AccountInterfacePaymentCapabilities | <strong>Type:</strong> AccountInterfacePaymentCapabilities<br/> The payment capabilities of this account. | |
LastSuccessfulUpdate | NullableString | Timestamp of when the account was last successfully updated using this interface (or initially imported); more precisely: time when the account data (balance and positions) has been stored into the finAPI databases. The value is returned in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time). | |
LastUpdateAttempt | NullableString | Timestamp of when the account was last tried to be updated using this interface (or initially imported); more precisely: time when the update (or initial import) was triggered. The value is returned in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time). |
func NewAccountInterface(interface_ BankingInterface, status AccountStatus, capabilities []AccountCapability, paymentCapabilities AccountInterfacePaymentCapabilities, lastSuccessfulUpdate NullableString, lastUpdateAttempt NullableString, ) *AccountInterface
NewAccountInterface instantiates a new AccountInterface object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAccountInterfaceWithDefaults() *AccountInterface
NewAccountInterfaceWithDefaults instantiates a new AccountInterface object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *AccountInterface) GetInterface() BankingInterface
GetInterface returns the Interface field if non-nil, zero value otherwise.
func (o *AccountInterface) GetInterfaceOk() (*BankingInterface, bool)
GetInterfaceOk returns a tuple with the Interface field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetInterface(v BankingInterface)
SetInterface sets Interface field to given value.
func (o *AccountInterface) GetStatus() AccountStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *AccountInterface) GetStatusOk() (*AccountStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetStatus(v AccountStatus)
SetStatus sets Status field to given value.
func (o *AccountInterface) GetCapabilities() []AccountCapability
GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
func (o *AccountInterface) GetCapabilitiesOk() (*[]AccountCapability, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetCapabilities(v []AccountCapability)
SetCapabilities sets Capabilities field to given value.
func (o *AccountInterface) GetPaymentCapabilities() AccountInterfacePaymentCapabilities
GetPaymentCapabilities returns the PaymentCapabilities field if non-nil, zero value otherwise.
func (o *AccountInterface) GetPaymentCapabilitiesOk() (*AccountInterfacePaymentCapabilities, bool)
GetPaymentCapabilitiesOk returns a tuple with the PaymentCapabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetPaymentCapabilities(v AccountInterfacePaymentCapabilities)
SetPaymentCapabilities sets PaymentCapabilities field to given value.
func (o *AccountInterface) GetLastSuccessfulUpdate() string
GetLastSuccessfulUpdate returns the LastSuccessfulUpdate field if non-nil, zero value otherwise.
func (o *AccountInterface) GetLastSuccessfulUpdateOk() (*string, bool)
GetLastSuccessfulUpdateOk returns a tuple with the LastSuccessfulUpdate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetLastSuccessfulUpdate(v string)
SetLastSuccessfulUpdate sets LastSuccessfulUpdate field to given value.
func (o *AccountInterface) SetLastSuccessfulUpdateNil(b bool)
SetLastSuccessfulUpdateNil sets the value for LastSuccessfulUpdate to be an explicit nil
func (o *AccountInterface) UnsetLastSuccessfulUpdate()
UnsetLastSuccessfulUpdate ensures that no value is present for LastSuccessfulUpdate, not even an explicit nil
func (o *AccountInterface) GetLastUpdateAttempt() string
GetLastUpdateAttempt returns the LastUpdateAttempt field if non-nil, zero value otherwise.
func (o *AccountInterface) GetLastUpdateAttemptOk() (*string, bool)
GetLastUpdateAttemptOk returns a tuple with the LastUpdateAttempt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AccountInterface) SetLastUpdateAttempt(v string)
SetLastUpdateAttempt sets LastUpdateAttempt field to given value.
func (o *AccountInterface) SetLastUpdateAttemptNil(b bool)
SetLastUpdateAttemptNil sets the value for LastUpdateAttempt to be an explicit nil
func (o *AccountInterface) UnsetLastUpdateAttempt()
UnsetLastUpdateAttempt ensures that no value is present for LastUpdateAttempt, not even an explicit nil