From d7605e3020bb167fadc1213b4f2cdedcbd2e57f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Jura=CC=81sek?= Date: Wed, 30 Dec 2020 13:40:34 +0100 Subject: [PATCH] update docs --- .docs/README.md | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.docs/README.md b/.docs/README.md index 3a809c3..00efb8b 100644 --- a/.docs/README.md +++ b/.docs/README.md @@ -122,21 +122,20 @@ $payment = [ 'country_code' => 'CZE', ], ], - 'amount' => 50000, - 'currency' => Currency::CZK, + 'amount' => \Money\Money::CZK(50000), 'order_number' => '001', 'order_description' => 'some order', 'items' => [ - ['name' => 'item01', 'amount' => 40000], - ['name' => 'item02', 'amount' => 13000], - ['name' => 'item03', 'amount' => 7000], + ['name' => 'item01', 'amount' => \Money\Money::CZK(40000)], + ['name' => 'item02', 'amount' => \Money\Money::CZK(13000)], + ['name' => 'item03', 'amount' => \Money\Money::CZK(7000)], ], 'eet' => [ - 'celk_trzba' => 50000, - 'zakl_dan1' => 35000, - 'dan1' => 5000, - 'zakl_dan2' => 8000, - 'dan2' => 2000, + 'celk_trzba' => \Money\Money::CZK(50000), + 'zakl_dan1' => \Money\Money::CZK(35000), + 'dan1' => \Money\Money::CZK(5000), + 'zakl_dan2' => \Money\Money::CZK(8000), + 'dan2' => \Money\Money::CZK(2000), 'mena' => Currency::CZK, ], 'additional_params' => [