amazon-spapi 2.0.3

A Rust client library for Amazon Selling Partner API (SP-API)
Documentation
/*
 * The Selling Partner API for Invoices.
 *
 * Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.
 *
 * The version of the OpenAPI document: 2024-06-19
 * 
 * Generated by: https://openapi-generator.tech
 */

use crate::models;
use serde::{Deserialize, Serialize};

/// GetInvoiceResponse : Success.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct GetInvoiceResponse {
    #[serde(rename = "invoice", skip_serializing_if = "Option::is_none")]
    pub invoice: Option<Box<models::invoices_2024_06_19::Invoice>>,
}

impl GetInvoiceResponse {
    /// Success.
    pub fn new() -> GetInvoiceResponse {
        GetInvoiceResponse {
            invoice: None,
        }
    }
}