Module actions

Source
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ยง

DepositForUserServer
Serialized arguments for the deposit_for_user_server server function.
DepositProps
Properties for the Deposit component.
GetRandomMessageServer
Serialized arguments for the get_random_message_server server function.
GetTransactionsForUserServer
Serialized arguments for the get_transactions_for_user_server server function.
GetUsersServer
Serialized arguments for the get_users_server server function.
HistoryProps
Properties for the History component.
PayForUserServer
Serialized arguments for the pay_for_user_server server function.
PayProps
Properties for the Pay component.
RefundProps
Properties for the Refund component.
RefundTransactionServer
Serialized arguments for the refund_transaction_server server function.
TransferFromUserToUserServer
Serialized arguments for the transfer_from_user_to_user_server server function.
TransferProps
Properties for the Transfer component.
WithdrawForUserServer
Serialized arguments for the withdraw_for_user_server server function.
WithdrawProps
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 ๐Ÿ”’