amazon_spapi/models/shipment_invoicing_v0/
submit_invoice_response.rs

1/*
2 * Selling Partner API for Shipment Invoicing
3 *
4 * The Selling Partner API for Shipment Invoicing helps you programmatically retrieve shipment invoice information in the Brazil marketplace for a selling partner’s Fulfillment by Amazon (FBA) orders.
5 *
6 * The version of the OpenAPI document: v0
7 * 
8 * Generated by: https://openapi-generator.tech
9 */
10
11use crate::models;
12use serde::{Deserialize, Serialize};
13
14/// SubmitInvoiceResponse : The response schema for the submitInvoice operation.
15#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
16pub struct SubmitInvoiceResponse {
17    /// A list of error responses returned when a request is unsuccessful.
18    #[serde(rename = "errors", skip_serializing_if = "Option::is_none")]
19    pub errors: Option<Vec<models::shipment_invoicing_v0::Error>>,
20}
21
22impl SubmitInvoiceResponse {
23    /// The response schema for the submitInvoice operation.
24    pub fn new() -> SubmitInvoiceResponse {
25        SubmitInvoiceResponse {
26            errors: None,
27        }
28    }
29}
30