[][src]Trait interledger_settlement::SettlementStore

pub trait SettlementStore {
    type Account: SettlementAccount;
    fn update_balance_for_incoming_settlement(
        &self,
        account_id: <Self::Account as Account>::AccountId,
        amount: u64,
        idempotency_key: Option<String>
    ) -> Box<dyn Future<Item = (), Error = ()> + Send>;
fn refund_settlement(
        &self,
        account_id: <Self::Account as Account>::AccountId,
        settle_amount: u64
    ) -> Box<dyn Future<Item = (), Error = ()> + Send>; }

Associated Types

Loading content...

Required methods

fn update_balance_for_incoming_settlement(
    &self,
    account_id: <Self::Account as Account>::AccountId,
    amount: u64,
    idempotency_key: Option<String>
) -> Box<dyn Future<Item = (), Error = ()> + Send>

fn refund_settlement(
    &self,
    account_id: <Self::Account as Account>::AccountId,
    settle_amount: u64
) -> Box<dyn Future<Item = (), Error = ()> + Send>

Loading content...

Implementors

Loading content...