pub fn take_receipt(
    owner: Address,
    kind: ReceiptKind,
    id: u64
) -> Option<Receipt>
Expand description

Remove the given receipt from storage if it exists and return it, otherwise return None.