You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/payscript/concepts.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,8 @@ layout: page
5
5
nav_order: 4
6
6
---
7
7
8
-
9
8
## Automation
10
-
An entity created by a [customer] into their bank account. The automation is created from a PayScript from among the ones that have been deployed by [developers]. If the selected payscript uses a trigger type that requires [trigger parameters], those need to be specified as part of creating the automation. If the selected payscript defines [script parameters], those need to be specified as part of creating the automation.
9
+
Automations are features powered by one or more PayScripts, which a [customer] can enable in their bank account. If the selected payscript uses a trigger type that requires [trigger parameters](), those need to be specified as part of creating the automation. If the selected payscript defines [script parameters], those need to be specified as part of creating the automation.
11
10
12
11
## Reserve
13
12
An abstract segregation of funds in a customer's account with a name and a purpose, so that those funds can be considered unavailable for other purposes, effectively reserving them. Funds can be added to and removed from the reserve by the account owner, or by whoever the account owner has given [consent] to do this.
@@ -20,4 +19,5 @@ Balance: Allows seeing the balance of the owner
20
19
Transactions: Allows making transactions on behalf of the owner
Copy file name to clipboardExpand all lines: docs/payscript/language_reference.md
+19-4Lines changed: 19 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,18 @@ layout: page
5
5
nav_order: 1
6
6
---
7
7
8
-
##Payscript
8
+
# Payscript
9
9
Payscript is a domain specific language (DSL) derived from Groovy. Using the Groovy syntax, with additional [built-in functions], it is able to cover the functionality needed to operate in the environment of a financial services provider.
10
10
11
11
For Syntax, this version does not differ from Groovy. please consult the [Groovy syntax reference][groovy syntax].
12
12
13
-
## Script Structure
13
+
14
+
### Script Structure
14
15
PayScript has two special structures, beyond the programming logic; A [trigger] definition and [script parameters]. The trigger specifies what type of event will cause the script to run. When an automation is created with the script, the parameters of the trigger will be specified. For example, if the script's trigger type is "time", the parameters would be which date and time it should run on.
15
16
Also during the creation of the automation, the script parameters required by the script will be supplied.
16
17
17
-
## Parameters
18
+
### Script Parameters
18
19
The script parameters are values which will be used by the script but will be specified by the customer who creates an automation which uses this script. At that time they will be prompted for the values, much like the trigger parameters.
19
-
20
20
Parameters are specified in the script using the following syntax:
21
21
22
22
```groovy
@@ -28,6 +28,21 @@ Where [parameter name] is to be replaced with the name of the parameter, as will
28
28
## Logic
29
29
The logic section contains what the script needs to accomplish, utilizing groovy logic and the payscript built-in functions.
30
30
31
+
## Concepts
32
+
33
+
### Automation
34
+
Automations are features powered by one or more PayScripts, which a [customer] can enable in their bank account. If the selected payscript uses a trigger type that requires [trigger parameters](), those need to be specified as part of creating the automation. If the selected payscript defines [script parameters], those need to be specified as part of creating the automation.
35
+
36
+
### Reserve
37
+
An abstract segregation of funds in a customer's account with a name and a purpose, so that those funds can be considered unavailable for other purposes, effectively reserving them. Funds can be added to and removed from the reserve by the account owner, or by whoever the account owner has given [consent] to do this.
38
+
39
+
## Consent
40
+
Consent is given by a [customer] to another customer perform specific actions on their accounts. The types of consent that can be given are:
41
+
Fund check: Allows checking if the owner has more available funds than a given amount
42
+
Automations:
43
+
Balance: Allows seeing the balance of the owner
44
+
Transactions: Allows making transactions on behalf of the owner
Copy file name to clipboardExpand all lines: docs/quant_flow/personas.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,6 @@ nav_order: 1
5
5
parent: Quant Flow
6
6
---
7
7
8
-
9
8
# Personas
10
9
The white label version of Quant Flow is designed for financial service providers such as banks. With that in mind, the following personas are referred to in this documentation as a generalisation of roles played in the product vision.
11
10
@@ -16,6 +15,6 @@ The financial service provider which has adopted and implemented Quant Flow.
16
15
The professional responsible for developing and managing PayScripts.
17
16
18
17
## Customer
19
-
The Bank's end user, utilising the provided financial services powered by Quant Flow. In the Sandbox, customers do this by creating[Automations], while in a real implementation of Quant Flow the features can be made available in different ways.
18
+
The Bank's end user, utilising the provided financial services powered by Quant Flow. In the Sandbox, customers do this by activating[Automations], while in a real implementation of Quant Flow the features can be made available in different ways.
0 commit comments