Skip to content

Commit 29cf393

Browse files
Merge pull request #6 from meviola-quant/main
Revert "Merge pull request #5 from meviola-quant/feat/PROD-48147/new-…
2 parents 03ca210 + b9a4034 commit 29cf393

29 files changed

Lines changed: 552 additions & 279 deletions

Gemfile.lock

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@ GEM
1313
http_parser.rb (~> 0)
1414
eventmachine (1.2.7)
1515
ffi (1.17.1-arm64-darwin)
16-
ffi (1.17.1-x64-mingw-ucrt)
1716
ffi (1.17.1-x86_64-linux-gnu)
1817
forwardable-extended (2.6.0)
1918
google-protobuf (4.30.2-arm64-darwin)
2019
bigdecimal
2120
rake (>= 13)
22-
google-protobuf (4.30.2-x64-mingw-ucrt)
23-
bigdecimal
24-
rake (>= 13)
2521
google-protobuf (4.30.2-x86_64-linux)
2622
bigdecimal
2723
rake (>= 13)
@@ -82,8 +78,6 @@ GEM
8278
safe_yaml (1.0.5)
8379
sass-embedded (1.87.0-arm64-darwin)
8480
google-protobuf (~> 4.30)
85-
sass-embedded (1.87.0-x64-mingw-ucrt)
86-
google-protobuf (~> 4.30)
8781
sass-embedded (1.87.0-x86_64-linux-gnu)
8882
google-protobuf (~> 4.30)
8983
terminal-table (3.0.2)
@@ -93,7 +87,6 @@ GEM
9387

9488
PLATFORMS
9589
arm64-darwin
96-
x64-mingw-ucrt
9790
x86_64-linux-gnu
9891

9992
DEPENDENCIES

_config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Quant Flow Doc
1+
title: Quant Flow Docs
22
description: The comprehensive documentation for Quant Flow, Payscript and the Sandbox.
33
theme: just-the-docs
44

@@ -9,6 +9,7 @@ url: https://just-the-docs.github.io
99
aux_links:
1010
Quant: https://quant.network/
1111
Quant Flow: https://quant.network/quant-flow/
12+
Sandbox: https://programmable-payments.payments.quantnetwork.net
1213

1314

1415
favicon_ico: "/assets/images/favicon.ico"

docs/connect_to_bank_accounts/get_consent.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

docs/connect_to_bank_accounts/index.md

Lines changed: 0 additions & 43 deletions
This file was deleted.

docs/connect_to_bank_accounts/link_account.md

Lines changed: 0 additions & 23 deletions
This file was deleted.

docs/connect_to_bank_accounts/manage_consents.md

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
trigger = "on_demand";
2+
3+
def payer = ${payer:scan};
4+
def payee = ${payee:scan};
5+
def amount = ${amount:decimal};
6+
7+
def payment = PaymentInfo.builder()
8+
.payer(AccountInfo.builder()
9+
.type(AccountIdentifierType.SCAN)
10+
.identifier(payer)
11+
.build())
12+
.payee(AccountInfo.builder()
13+
.type(AccountIdentifierType.SCAN)
14+
.identifier(payee)
15+
.build())
16+
.amountInfo(AmountInfo.builder()
17+
.currency(CurrencyEnum.GBP)
18+
.amount(amount)
19+
.build())
20+
.paymentReference("Automated transfer")
21+
.build();
22+
23+
def newPaymentId = createPayment(payment);
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: Automated Transfer
3+
parent: Example Scripts
4+
layout: page
5+
---
6+
7+
# Automated Transfer
8+
This script makes a transfer on demand.
9+
10+
<div style="text-align: center;" markdown="1">
11+
[Download](automatedTransfer.groovy){: .btn }
12+
</div>
13+
14+
{% highlight groovy %}
15+
{% include_relative automatedTransfer.groovy %}
16+
{% endhighlight %}

docs/payscript/example_scripts/cashflow_optimisation.groovy

Lines changed: 0 additions & 29 deletions
This file was deleted.

docs/payscript/example_scripts/cashflow_optimisation.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)