/*
* Selling Partner API for Direct Fulfillment Shipping
*
* The Selling Partner API for Direct Fulfillment Shipping provides programmatic access to a direct fulfillment vendor's shipping data.
*
* The version of the OpenAPI document: v1
*
* Generated by: https://openapi-generator.tech
*/
use crate::models;
use serde::{Deserialize, Serialize};
/// CustomerInvoice : Represents a customer invoice associated with a purchase order.
#[derive(Clone, Default, Debug, PartialEq, Serialize, Deserialize)]
pub struct CustomerInvoice {
/// The purchase order number for this order.
#[serde(rename = "purchaseOrderNumber")]
pub purchase_order_number: String,
/// The Base64encoded customer invoice.
#[serde(rename = "content")]
pub content: String,
}
impl CustomerInvoice {
/// Represents a customer invoice associated with a purchase order.
pub fn new(purchase_order_number: String, content: String) -> CustomerInvoice {
CustomerInvoice {
purchase_order_number,
content,
}
}
}