[][src]Struct rtdlib::types::Invoice

pub struct Invoice { /* fields omitted */ }

Product invoice

Implementations

impl Invoice[src]

pub fn from_json<S: AsRef<str>>(json: S) -> RTDResult<Self>[src]

pub fn builder() -> RTDInvoiceBuilder[src]

pub fn currency(&self) -> &String[src]

pub fn price_parts(&self) -> &Vec<LabeledPricePart>[src]

pub fn is_test(&self) -> bool[src]

pub fn need_name(&self) -> bool[src]

pub fn need_phone_number(&self) -> bool[src]

pub fn need_email_address(&self) -> bool[src]

pub fn need_shipping_address(&self) -> bool[src]

pub fn send_phone_number_to_provider(&self) -> bool[src]

pub fn send_email_address_to_provider(&self) -> bool[src]

pub fn is_flexible(&self) -> bool[src]

Trait Implementations

impl AsRef<Invoice> for Invoice[src]

impl Clone for Invoice[src]

impl Debug for Invoice[src]

impl Default for Invoice[src]

impl<'de> Deserialize<'de> for Invoice[src]

impl RObject for Invoice[src]

impl Serialize for Invoice[src]

Auto Trait Implementations

impl RefUnwindSafe for Invoice

impl Send for Invoice

impl Sync for Invoice

impl Unpin for Invoice

impl UnwindSafe for Invoice

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.