taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit aaa97dbe48f9e3ffb253a140cdcaadab8f8bdfd5
parent 40caa4da47b2b8e433405810bf4ad8f48efb9e0d
Author: Christian Blättler <blatc2@bfh.ch>
Date:   Thu, 13 Jun 2024 09:31:58 +0200

merchant api: make inputs and outputs optional

Diffstat:
Mcore/api-merchant.rst | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -2510,10 +2510,12 @@ protocol **vSUBSCRIBE**. amount: Amount; // Inputs that must be provided by the customer, if this choice is selected. - inputs: OrderInput[]; + // Defaults to empty array if not specified. + inputs?: OrderInput[]; // Outputs provided by the merchant, if this choice is selected. - outputs: OrderOutput[]; + // Defaults to empty array if not specified. + outputs?: OrderOutput[]; // Maximum total deposit fee accepted by the merchant for this contract. // Overrides defaults of the merchant instance.