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

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.