Expand description
Transaction action components Transaction action components for the Peillute application
This module provides components for various financial transactions in the system, including viewing transaction history, making deposits, withdrawals, payments, refunds, and transfers between users.
Re-exportsยง
pub use History_completions::Component::History;
pub use Withdraw_completions::Component::Withdraw;
pub use Pay_completions::Component::Pay;
pub use Refund_completions::Component::Refund;
pub use Transfer_completions::Component::Transfer;
pub use Deposit_completions::Component::Deposit;
Structsยง
- Deposit
ForUser Server - Serialized arguments for the
deposit_for_user_server
server function. - Deposit
Props - Properties for the
Deposit
component. - GetRandom
Message Server - Serialized arguments for the
get_random_message_server
server function. - GetTransactions
ForUser Server - Serialized arguments for the
get_transactions_for_user_server
server function. - GetUsers
Server - Serialized arguments for the
get_users_server
server function. - History
Props - Properties for the
History
component. - PayFor
User Server - Serialized arguments for the
pay_for_user_server
server function. - PayProps
- Properties for the
Pay
component. - Refund
Props - Properties for the
Refund
component. - Refund
Transaction Server - Serialized arguments for the
refund_transaction_server
server function. - Transfer
From User ToUser Server - Serialized arguments for the
transfer_from_user_to_user_server
server function. - Transfer
Props - Properties for the
Transfer
component. - Withdraw
ForUser Server - Serialized arguments for the
withdraw_for_user_server
server function. - Withdraw
Props - Properties for the
Withdraw
component.
Constantsยง
- CHIPS_
IMG ๐ - COCA_
IMG ๐ - COFFEE_
IMG ๐ - PRODUCTS ๐
- RANDOM_
MESSAGE ๐ - SANDWICH_
IMG ๐
Functionsยง
- Deposit
- Deposit component
- History
- Transaction history component
- Pay
- Payment component
- Refund
- Refund component
- Transfer
- Transfer component
- Withdraw
- Withdrawal component
- deposit_
for_ ๐user_ server - get_
random_ ๐message_ server - get_
seed ๐ - get_
transactions_ ๐for_ user_ server - get_
users_ ๐server - lcg ๐
- pay_
for_ ๐user_ server - refund_
transaction_ ๐server - transfer_
from_ ๐user_ to_ user_ server - withdraw_
for_ ๐user_ server