-
Notifications
You must be signed in to change notification settings - Fork 68
/
Copy pathtransactionRulesResult.ts
58 lines (52 loc) · 1.57 KB
/
transactionRulesResult.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
* The version of the OpenAPI document: v4
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { TransactionEventViolation } from './transactionEventViolation';
export class TransactionRulesResult {
/**
* The advice given by the Risk analysis.
*/
'advice'?: string;
/**
* Indicates whether the transaction passed the evaluation for all hardblock rules
*/
'allHardBlockRulesPassed'?: boolean;
/**
* The score of the Risk analysis.
*/
'score'?: number;
/**
* Array containing all the transaction rules that the transaction triggered.
*/
'triggeredTransactionRules'?: Array<TransactionEventViolation>;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "advice",
"baseName": "advice",
"type": "string"
},
{
"name": "allHardBlockRulesPassed",
"baseName": "allHardBlockRulesPassed",
"type": "boolean"
},
{
"name": "score",
"baseName": "score",
"type": "number"
},
{
"name": "triggeredTransactionRules",
"baseName": "triggeredTransactionRules",
"type": "Array<TransactionEventViolation>"
} ];
static getAttributeTypeMap() {
return TransactionRulesResult.attributeTypeMap;
}
}