# FinApiAccess.KeywordRuleParams

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**categoryId** | **Number** | ID of the category that this rule should assign to the matching transactions | 
**direction** | **String** | Direction for the rule. 'Income' means that the rule applies to transactions with a positive amount only, 'Spending' means it applies to transactions with a negative amount only. 'Both' means that it applies to both kind of transactions. Note that in case of 'Both', finAPI will create two individual rules (one with direction 'Income' and one with direction 'Spending'). | 
**keywords** | **[String]** |  | 
**allKeywordsMustMatch** | **Boolean** | This field is only relevant if you pass multiple keywords. If set to 'true', it means that all keywords have to be found in a transaction to apply the given category. If set to 'false', then even a single matching keyword in a transaction can trigger this rule. Default value is 'false'. | [optional] [default to false]


<a name="DirectionEnum"></a>
## Enum: DirectionEnum


* `income` (value: `"Income"`)

* `spending` (value: `"Spending"`)

* `both` (value: `"Both"`)




