Skip to content

Exploring some Rust safety aspects in a mock code example

Notifications You must be signed in to change notification settings

snakehand/nagelfar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nagelfar

Exploring some Rust safety aspects in a mock code example

The account type is concidered to be a simple vendor ( merchant account ), with the following actions:

Deposit: Represent a sale where funds are transferred from a customer to the clients account
Withdrawal: Is a transfer from the clients account to an external bank account. This can not be disputed.
Dispute: Represents a customers claim that there was a problem with the sale (Depsoit) - this puts a hold on the associated funds
Resolve: Rpresents that the dispute was resolved, by for instance the customer recieving a replacement item
Chargeback: Represents that the dispute was settled by returning funds to the customer, this freezes the account

About

Exploring some Rust safety aspects in a mock code example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages