lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use crate::objects::transaction_status::TransactionStatus;
use serde::{Deserialize, Serialize};
use std::vec::Vec;

#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct OutgoingPaymentsForInvoiceQueryInput {
    /// The encoded invoice that the outgoing payments paid to.
    pub encoded_invoice: String,

    /// An optional filter to only query outgoing payments of given statuses.
    pub statuses: Option<Vec<TransactionStatus>>,
}