Struct lexoffice::model::voucherlist::Voucherlist [−][src]
This section describes the properties of the meta data object for vouchers returned by this endpoint.
Fields
id: ReadOnly<Uuid>
Unique id of the voucher in lexoffice.
voucher_type: Option<VoucherType>
Type of the voucher. Possible values are salesinvoice, salescreditnote, purchaseinvoice, purchasecreditnote, invoice, downpaymentinvoice, creditnote, orderconfirmation, and quotation.
voucher_status: Option<VoucherStatus>
Showing the current workflow status of the voucher in lexoffice. Possible values are draft, open, paid, paidoff, voided, transferred, sepadebit, overdue, accepted, and rejected.
voucher_number: Option<String>
Identification/Reference number of the voucher.
voucher_date: Option<DateTime>
Date when the voucher was issued. Value in format yyyy-MM-ddTHH:mm:ss.SSSXXX
as described in RFC 3339/ISO 8601 (e.g. 2020-02-21T00:00:00.000+01:00).
updated_date: Option<DateTime>
Date when the voucher was last changed (or status changed) in lexoffice. Value in format yyyy-MM-ddTHH:mm:ss.SSSXXX
as described in RFC 3339/ISO 8601 (e.g. 2020-02-21T00:00:00.000+01:00).
due_date: Option<DateTime>
Date when the voucher’s payment has to be settled. Value in format yyyy-MM-ddTHH:mm:ss.SSSXXX
as described in RFC 3339/ISO 8601 (e.g. 2020-02-21T00:00:00.000+01:00).
contact_name: Option<String>
Name of the recipient or invoicing party. Further information on the contact can be retrieved by using the corresponding voucher endpoint (see below).
total_amount: Option<f64>
Total amount of the voucher (may include taxes). Format is ##.00 (119.00).
open_amount: Option<f64>
Open amount of the voucher. May be null (e.g., for invoices in draft, or various non-invoice vouchers). Format is ##.00 (123.00).
currency: Option<Currency>
Currency of the voucher. Only possible value is EUR.
archived: Option<bool>
Indicates if the voucher is marked as archived in lexoffice.
Implementations
impl Voucherlist
[src]
pub fn builder(
) -> VoucherlistBuilder<((), (), (), (), (), (), (), (), (), (), ())>
[src]
) -> VoucherlistBuilder<((), (), (), (), (), (), (), (), (), (), ())>
Create a builder for building Voucherlist
.
On the builder, call .voucher_type(...)
(optional), .voucher_status(...)
(optional), .voucher_number(...)
(optional), .voucher_date(...)
(optional), .updated_date(...)
(optional), .due_date(...)
(optional), .contact_name(...)
(optional), .total_amount(...)
(optional), .open_amount(...)
(optional), .currency(...)
(optional), .archived(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of Voucherlist
.
Trait Implementations
impl Clone for Voucherlist
[src]
fn clone(&self) -> Voucherlist
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Voucherlist
[src]
impl<'de> Deserialize<'de> for Voucherlist
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl HasId for Voucherlist
[src]
impl PartialEq<Voucherlist> for Voucherlist
[src]
fn eq(&self, other: &Voucherlist) -> bool
[src]
fn ne(&self, other: &Voucherlist) -> bool
[src]
impl Serialize for Voucherlist
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for Voucherlist
[src]
Auto Trait Implementations
impl RefUnwindSafe for Voucherlist
impl Send for Voucherlist
impl Sync for Voucherlist
impl Unpin for Voucherlist
impl UnwindSafe for Voucherlist
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,