libeufin

Integration and sandbox testing for FinTech APIs and data formats
Log | Files | Refs | Submodules | README | LICENSE

commit e186080e173eecae8fd4c53832e382b9e4323e2d
parent c4d994e9611e378ea7cf099870c651fe20db22b6
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon,  2 Dec 2019 20:19:03 +0100

fix row instantiation

Diffstat:
Msandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt | 17+++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt b/sandbox/src/main/kotlin/tech/libeufin/sandbox/Main.kt @@ -117,20 +117,21 @@ fun main() { signaturePrivateKey = SerialBlob(pairC.private.encoded) } + val customerEntity = BankCustomerEntity.new { + name = "Mina" + balance = BalanceEntity.new { + value = 0 + fraction = 0 + } + } + val subscriber = EbicsSubscriberEntity.new { partnerId = "PARTNER1" userId = "USER1" systemId = null state = SubscriberState.NEW nextOrderID = 1 - } - - BankCustomerEntity.new { - name = "Mina" - balance = BalanceEntity.new { - value = 0 - fraction = 0 - } + balance = customerEntity.balance } }