Struct paypal_rs::invoice::InvoiceDetail [−][src]
pub struct InvoiceDetail { pub reference: Option<String>, pub currency_code: Currency, pub note: Option<String>, pub terms_and_conditions: Option<String>, pub memo: Option<String>, pub attachments: Option<Vec<FileReference>>, pub invoice_number: Option<String>, pub invoice_date: Option<DateTime<Utc>>, pub payment_term: Option<PaymentTerm>, pub metadata: Option<Metadata>, }
Expand description
The details of the invoice. Includes the invoice number, date, payment terms, and audit metadata.
Fields
reference: Option<String>
The reference data. Includes a post office (PO) number.
currency_code: Currency
The three-character ISO-4217 currency code that identifies the currency.
note: Option<String>
A note to the invoice recipient. Also appears on the invoice notification email.
terms_and_conditions: Option<String>
The general terms of the invoice. Can include return or cancellation policy and other terms and conditions.
memo: Option<String>
A private bookkeeping memo for the user.
attachments: Option<Vec<FileReference>>
An array of PayPal IDs for the files that are attached to an invoice.
invoice_number: Option<String>
The invoice number. Default is the number that is auto-incremented number from the last number.
invoice_date: Option<DateTime<Utc>>
The invoice date as specificed by the sender
payment_term: Option<PaymentTerm>
The payment due date for the invoice.
metadata: Option<Metadata>
The audit metadata
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for InvoiceDetail
impl Send for InvoiceDetail
impl Sync for InvoiceDetail
impl Unpin for InvoiceDetail
impl UnwindSafe for InvoiceDetail