Name | Type | Description | Notes |
---|---|---|---|
IsNew | Pointer to bool | Whether this transactions should be flagged as 'new' or not. Any newly imported transaction will have this flag initially set to true. How you use this field is up to your interpretation. For example, you might want to set it to false once a user has clicked on/seen the transaction. | [optional] |
IsPotentialDuplicate | Pointer to bool | You can set this field only to 'false'. finAPI marks transactions as a potential duplicates when its internal duplicate detection algorithm is signaling so. Transactions that are flagged as duplicates can be deleted by the user. To prevent the user from deleting original transactions, which might lead to incorrect balances, it is not possible to manually set this flag to 'true'. | [optional] |
CategoryId | Pointer to int64 | Identifier of the new category to apply to the transaction. When updating the transaction's category, the category's fields 'id', 'name', 'parentId', 'parentName', and 'isCustom' will all get updated. To clear the category for the transaction, the categoryId field must be passed with value 0. | [optional] |
TrainCategorization | Pointer to bool | This field is only regarded when the field 'categoryId' is set. It controls whether finAPI's categorization system should learn from the given categorization(s). If set to 'true', then the user's categorization rules will be updated so that similar transactions will get categorized accordingly in future. If set to 'false', then the service will simply change the category of the given transaction(s), without updating the user's categorization rules. The field defaults to 'true' if not specified. | [optional] [default to true] |
LabelIds | Pointer to []int64 | Identifiers of labels to apply to the transaction. To clear transactions' labels, pass an empty array of identifiers: '[]' | [optional] |
func NewUpdateTransactionsParams() *UpdateTransactionsParams
NewUpdateTransactionsParams instantiates a new UpdateTransactionsParams 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 NewUpdateTransactionsParamsWithDefaults() *UpdateTransactionsParams
NewUpdateTransactionsParamsWithDefaults instantiates a new UpdateTransactionsParams 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 *UpdateTransactionsParams) GetIsNew() bool
GetIsNew returns the IsNew field if non-nil, zero value otherwise.
func (o *UpdateTransactionsParams) GetIsNewOk() (*bool, bool)
GetIsNewOk returns a tuple with the IsNew field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTransactionsParams) SetIsNew(v bool)
SetIsNew sets IsNew field to given value.
func (o *UpdateTransactionsParams) HasIsNew() bool
HasIsNew returns a boolean if a field has been set.
func (o *UpdateTransactionsParams) GetIsPotentialDuplicate() bool
GetIsPotentialDuplicate returns the IsPotentialDuplicate field if non-nil, zero value otherwise.
func (o *UpdateTransactionsParams) GetIsPotentialDuplicateOk() (*bool, bool)
GetIsPotentialDuplicateOk returns a tuple with the IsPotentialDuplicate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTransactionsParams) SetIsPotentialDuplicate(v bool)
SetIsPotentialDuplicate sets IsPotentialDuplicate field to given value.
func (o *UpdateTransactionsParams) HasIsPotentialDuplicate() bool
HasIsPotentialDuplicate returns a boolean if a field has been set.
func (o *UpdateTransactionsParams) GetCategoryId() int64
GetCategoryId returns the CategoryId field if non-nil, zero value otherwise.
func (o *UpdateTransactionsParams) GetCategoryIdOk() (*int64, bool)
GetCategoryIdOk returns a tuple with the CategoryId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTransactionsParams) SetCategoryId(v int64)
SetCategoryId sets CategoryId field to given value.
func (o *UpdateTransactionsParams) HasCategoryId() bool
HasCategoryId returns a boolean if a field has been set.
func (o *UpdateTransactionsParams) GetTrainCategorization() bool
GetTrainCategorization returns the TrainCategorization field if non-nil, zero value otherwise.
func (o *UpdateTransactionsParams) GetTrainCategorizationOk() (*bool, bool)
GetTrainCategorizationOk returns a tuple with the TrainCategorization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTransactionsParams) SetTrainCategorization(v bool)
SetTrainCategorization sets TrainCategorization field to given value.
func (o *UpdateTransactionsParams) HasTrainCategorization() bool
HasTrainCategorization returns a boolean if a field has been set.
func (o *UpdateTransactionsParams) GetLabelIds() []int64
GetLabelIds returns the LabelIds field if non-nil, zero value otherwise.
func (o *UpdateTransactionsParams) GetLabelIdsOk() (*[]int64, bool)
GetLabelIdsOk returns a tuple with the LabelIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UpdateTransactionsParams) SetLabelIds(v []int64)
SetLabelIds sets LabelIds field to given value.
func (o *UpdateTransactionsParams) HasLabelIds() bool
HasLabelIds returns a boolean if a field has been set.