btcpay_client/models/update_invoice_request.rs
1/*
2 * BTCPay Greenfield API
3 *
4 * A full API to use your BTCPay Server
5 *
6 * The version of the OpenAPI document: v1
7 *
8 * Generated by: https://openapi-generator.tech
9 */
10
11
12
13
14#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
15pub struct UpdateInvoiceRequest {
16 #[serde(rename = "metadata", skip_serializing_if = "Option::is_none")]
17 pub metadata: Option<Box<crate::models::InvoiceMetadata>>,
18}
19
20impl UpdateInvoiceRequest {
21 pub fn new() -> UpdateInvoiceRequest {
22 UpdateInvoiceRequest {
23 metadata: None,
24 }
25 }
26}
27
28