Name | Type | Description | Notes |
---|---|---|---|
BankConnectionId | int64 | Identifier of the bank connection in the Access API. Initialized as soon as the task process is started. Use those ID to gather Bank Connection data from Access endpoints like, "<a target='_blank' href='https://docs.finapi.io/?product=access#get-/api/v1/bankConnections/-id-'>Get a bank connection</a>" or "<a target='_blank' href='https://docs.finapi.io/?product=access#get-/api/v1/accounts'>Get and search all accounts</a>". | |
WebForm | Pointer to NullableWebFormInfo | [optional] | |
ErrorCode | Pointer to NullableString | Reason of the task failure.<br/><strong>NOTE:</strong> This enum can be extended in the future as new cases arise!<br/><br/>Codes can be interpreted as follows:<br/>• <code>BANK_SERVER_REJECTION</code> - the flow has been terminated on the bank side, e.g., in case of incorrect credentials;<br/>• <code>INVALID_TOKEN</code> - the given access token expired or became invalid during the flow; <br/>• <code>UNEXPECTED_ACCESS_RESPONSE</code> - an unexpected response has been received from the Access API - similarly to the <code>INTERNAL_ERROR</code> code, please forward all details to our Customer Support team; <br/>• <code>INTERNAL_ERROR</code> - the reason of the failure can not be identified - please forward all the details to our Customer Support team in order to get more info and also help us to eliminate the issue. | [optional] |
func NewTaskPayload(bankConnectionId int64, ) *TaskPayload
NewTaskPayload instantiates a new TaskPayload 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 NewTaskPayloadWithDefaults() *TaskPayload
NewTaskPayloadWithDefaults instantiates a new TaskPayload 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 *TaskPayload) GetBankConnectionId() int64
GetBankConnectionId returns the BankConnectionId field if non-nil, zero value otherwise.
func (o *TaskPayload) GetBankConnectionIdOk() (*int64, bool)
GetBankConnectionIdOk returns a tuple with the BankConnectionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TaskPayload) SetBankConnectionId(v int64)
SetBankConnectionId sets BankConnectionId field to given value.
func (o *TaskPayload) GetWebForm() WebFormInfo
GetWebForm returns the WebForm field if non-nil, zero value otherwise.
func (o *TaskPayload) GetWebFormOk() (*WebFormInfo, bool)
GetWebFormOk returns a tuple with the WebForm field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TaskPayload) SetWebForm(v WebFormInfo)
SetWebForm sets WebForm field to given value.
func (o *TaskPayload) HasWebForm() bool
HasWebForm returns a boolean if a field has been set.
func (o *TaskPayload) SetWebFormNil(b bool)
SetWebFormNil sets the value for WebForm to be an explicit nil
func (o *TaskPayload) UnsetWebForm()
UnsetWebForm ensures that no value is present for WebForm, not even an explicit nil
func (o *TaskPayload) GetErrorCode() string
GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise.
func (o *TaskPayload) GetErrorCodeOk() (*string, bool)
GetErrorCodeOk returns a tuple with the ErrorCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TaskPayload) SetErrorCode(v string)
SetErrorCode sets ErrorCode field to given value.
func (o *TaskPayload) HasErrorCode() bool
HasErrorCode returns a boolean if a field has been set.
func (o *TaskPayload) SetErrorCodeNil(b bool)
SetErrorCodeNil sets the value for ErrorCode to be an explicit nil
func (o *TaskPayload) UnsetErrorCode()
UnsetErrorCode ensures that no value is present for ErrorCode, not even an explicit nil