lightspark 0.10.2

Lightspark Rust SDK
Documentation
1
2
3
4
5
6
7
8
// Copyright ©, 2023-present, Lightspark Group, Inc. - All Rights Reserved
use serde::{Deserialize, Serialize};

/// The unique identifier of the Invoice that should be cancelled. The invoice is supposed to be open, not settled and not expired.
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct CancelInvoiceInput {
    pub invoice_id: String,
}