From c8d40dccabaaa406faed6c0797a92bac811c9d0f Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Tue, 5 Jun 2018 19:07:27 +0300 Subject: Update docs --- docs/_invoice_8h_source.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/_invoice_8h_source.html') diff --git a/docs/_invoice_8h_source.html b/docs/_invoice_8h_source.html index d8d8f20..5b52989 100644 --- a/docs/_invoice_8h_source.html +++ b/docs/_invoice_8h_source.html @@ -85,7 +85,7 @@ $(document).ready(function(){initNavTree('_invoice_8h_source.html','');});
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Oleg Morozenkov
3  * Copyright (c) 2017 Maks Mazurov (fox.cpp)
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this software and associated documentation files (the "Software"), to deal
7  * in the Software without restriction, including without limitation the rights
8  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9  * copies of the Software, and to permit persons to whom the Software is
10  * furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in all
13  * copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  * SOFTWARE.
22  */
23 
24 #ifndef TGBOT_INVOICE_H
25 #define TGBOT_INVOICE_H
26 
27 #include <string>
28 #include <memory>
29 
30 namespace TgBot {
31 
39 class Invoice {
40 public:
41  typedef std::shared_ptr<Invoice> Ptr;
42 
46  std::string title;
47 
51  std::string description;
52 
56  std::string startParameter;
57 
61  std::string currency;
62 
74  int32_t totalAmount;
75 };
76 }
77 
78 #endif //TGBOT_INVOICE_H
std::string title
Product name.
Definition: Invoice.h:46
std::string startParameter
Unique bot deep-linking parameter that can be used to generate this invoice.
Definition: Invoice.h:56
-
Definition: Api.h:46
+
Definition: Api.h:47
This object contains basic information about an invoice.
Definition: Invoice.h:39
std::string description
Product description.
Definition: Invoice.h:51
std::string currency
Three-letter ISO 4217 currency code.
Definition: Invoice.h:61
@@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('_invoice_8h_source.html','');});