Function polkadot_runtime_common::purchase::pallet::dispatchables::payout
source · pub fn payout<T: Config>(who: T::AccountId)
Expand description
Pay the user and complete the purchase process.
We reverify all assumptions about the state of an account, and complete the process.
Origin must match the configured PaymentAccount
(if it is not configured then this
will always fail with BadOrigin
).
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::payout
.