Name | Type | Description | Notes |
---|---|---|---|
Id | int64 | Payment identifier | |
AccountId | NullableInt64 | Identifier of the account to which this payment relates. This field is only set if it was specified upon creation of the payment. | |
Iban | NullableString | IBAN of the account to which this payment relates. This field is only set if it was specified upon creation of the payment. | |
Type | PaymentType | <strong>Type:</strong> PaymentType<br/> Payment type | |
Amount | float64 | Total money amount of the payment order(s), as absolute value | |
OrderCount | int32 | Total count of orders included in this payment | |
Status | OrderInitiationStatus | <strong>Type:</strong> OrderInitiationStatus<br/> Current payment status:<br/> • OPEN: means that this payment has been created in finAPI, but not yet submitted to the bank.<br/> • PENDING: means that this payment has been requested at the bank, but has not been confirmed yet.<br/> • SUCCESSFUL: means that this payment has been successfully initiated.<br/> • NOT_SUCCESSFUL: means that this payment could not be initiated successfully.<br/> • DISCARDED: means that this payment was discarded, either because another payment was requested for the same account before this payment was initiated and the bank does not support this, or because the user has aborted the initiation (when using finAPI's Web Form). | |
BankMessage | NullableString | The bank's response to the most recent request for this payment. Possible requests are: Initial submission of the payment, execution request or subsequent status checks. Note that this field may not always (or never) be set. Also, as long as the payment has not reached its final status, this field can always change. | |
RequestDate | NullableString | Time of when finAPI submitted this payment to the bank, in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time) | |
ExecutionDate | NullableString | Time of when the execution of this payment has completed, in the format 'YYYY-MM-DD HH:MM:SS.SSS' (german time).<br/><br/>Note:<br/>• When the execution of a payment has completed, it does not necessarily mean that the payment was successful. Please refer to the payment 'status' for its final status.<br/>• The execution date may deviate from the date when the bank will actually book the payment (for example if the 'instructedExecutionDate' is in the future). | |
InstructedExecutionDate | NullableString | The date that was specified as 'executionDate' upon creation of the payment, in the format 'YYYY-MM-DD'. This field may not be set if no 'executionDate' was specified upon payment creation. |
func NewPayment(id int64, accountId NullableInt64, iban NullableString, type_ PaymentType, amount float64, orderCount int32, status OrderInitiationStatus, bankMessage NullableString, requestDate NullableString, executionDate NullableString, instructedExecutionDate NullableString, ) *Payment
NewPayment instantiates a new Payment 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 NewPaymentWithDefaults() *Payment
NewPaymentWithDefaults instantiates a new Payment 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 *Payment) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Payment) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetId(v int64)
SetId sets Id field to given value.
func (o *Payment) GetAccountId() int64
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *Payment) GetAccountIdOk() (*int64, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetAccountId(v int64)
SetAccountId sets AccountId field to given value.
func (o *Payment) SetAccountIdNil(b bool)
SetAccountIdNil sets the value for AccountId to be an explicit nil
func (o *Payment) UnsetAccountId()
UnsetAccountId ensures that no value is present for AccountId, not even an explicit nil
func (o *Payment) GetIban() string
GetIban returns the Iban field if non-nil, zero value otherwise.
func (o *Payment) GetIbanOk() (*string, bool)
GetIbanOk returns a tuple with the Iban field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetIban(v string)
SetIban sets Iban field to given value.
func (o *Payment) SetIbanNil(b bool)
SetIbanNil sets the value for Iban to be an explicit nil
func (o *Payment) UnsetIban()
UnsetIban ensures that no value is present for Iban, not even an explicit nil
func (o *Payment) GetType() PaymentType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Payment) GetTypeOk() (*PaymentType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetType(v PaymentType)
SetType sets Type field to given value.
func (o *Payment) GetAmount() float64
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Payment) GetAmountOk() (*float64, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetAmount(v float64)
SetAmount sets Amount field to given value.
func (o *Payment) GetOrderCount() int32
GetOrderCount returns the OrderCount field if non-nil, zero value otherwise.
func (o *Payment) GetOrderCountOk() (*int32, bool)
GetOrderCountOk returns a tuple with the OrderCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetOrderCount(v int32)
SetOrderCount sets OrderCount field to given value.
func (o *Payment) GetStatus() OrderInitiationStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Payment) GetStatusOk() (*OrderInitiationStatus, 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 *Payment) SetStatus(v OrderInitiationStatus)
SetStatus sets Status field to given value.
func (o *Payment) GetBankMessage() string
GetBankMessage returns the BankMessage field if non-nil, zero value otherwise.
func (o *Payment) GetBankMessageOk() (*string, bool)
GetBankMessageOk returns a tuple with the BankMessage field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetBankMessage(v string)
SetBankMessage sets BankMessage field to given value.
func (o *Payment) SetBankMessageNil(b bool)
SetBankMessageNil sets the value for BankMessage to be an explicit nil
func (o *Payment) UnsetBankMessage()
UnsetBankMessage ensures that no value is present for BankMessage, not even an explicit nil
func (o *Payment) GetRequestDate() string
GetRequestDate returns the RequestDate field if non-nil, zero value otherwise.
func (o *Payment) GetRequestDateOk() (*string, bool)
GetRequestDateOk returns a tuple with the RequestDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetRequestDate(v string)
SetRequestDate sets RequestDate field to given value.
func (o *Payment) SetRequestDateNil(b bool)
SetRequestDateNil sets the value for RequestDate to be an explicit nil
func (o *Payment) UnsetRequestDate()
UnsetRequestDate ensures that no value is present for RequestDate, not even an explicit nil
func (o *Payment) GetExecutionDate() string
GetExecutionDate returns the ExecutionDate field if non-nil, zero value otherwise.
func (o *Payment) GetExecutionDateOk() (*string, bool)
GetExecutionDateOk returns a tuple with the ExecutionDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetExecutionDate(v string)
SetExecutionDate sets ExecutionDate field to given value.
func (o *Payment) SetExecutionDateNil(b bool)
SetExecutionDateNil sets the value for ExecutionDate to be an explicit nil
func (o *Payment) UnsetExecutionDate()
UnsetExecutionDate ensures that no value is present for ExecutionDate, not even an explicit nil
func (o *Payment) GetInstructedExecutionDate() string
GetInstructedExecutionDate returns the InstructedExecutionDate field if non-nil, zero value otherwise.
func (o *Payment) GetInstructedExecutionDateOk() (*string, bool)
GetInstructedExecutionDateOk returns a tuple with the InstructedExecutionDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Payment) SetInstructedExecutionDate(v string)
SetInstructedExecutionDate sets InstructedExecutionDate field to given value.
func (o *Payment) SetInstructedExecutionDateNil(b bool)
SetInstructedExecutionDateNil sets the value for InstructedExecutionDate to be an explicit nil
func (o *Payment) UnsetInstructedExecutionDate()
UnsetInstructedExecutionDate ensures that no value is present for InstructedExecutionDate, not even an explicit nil