summaryrefslogtreecommitdiff
path: root/src/types/SuccessfulPayment.zig
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
committerGravatar Uko Kokņevičs2024-07-20 17:22:25 +0300
commitc70ffd095a6de5cd5b872796a0d82a8c5afc1511 (patch)
tree56183274b05a294e357bad4d06b523472a1c4a4a /src/types/SuccessfulPayment.zig
downloadukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.gz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.tar.xz
ukkobot-c70ffd095a6de5cd5b872796a0d82a8c5afc1511.zip
Initial commit
Diffstat (limited to 'src/types/SuccessfulPayment.zig')
-rw-r--r--src/types/SuccessfulPayment.zig9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/types/SuccessfulPayment.zig b/src/types/SuccessfulPayment.zig
new file mode 100644
index 0000000..c508f48
--- /dev/null
+++ b/src/types/SuccessfulPayment.zig
@@ -0,0 +1,9 @@
1const OrderInfo = @import("OrderInfo.zig");
2
3currency: []const u8,
4total_amount: u64,
5invoice_payload: []const u8,
6shipping_option_id: ?[]const u8 = null,
7order_info: ?OrderInfo = null,
8telegram_payment_charge_id: []const u8,
9provider_payment_charge_id: []const u8,