SalesFormsPrefs

Struct SalesFormsPrefs 

Source
pub struct SalesFormsPrefs {
Show 22 fields pub sales_emaill_bcc: Option<Email>, pub sales_email_cc: Option<Email>, pub using_progress_invoicing: Option<bool>, pub custom_field: Option<String>, pub allow_service_date: Option<bool>, pub estimate_message: Option<String>, pub email_copy_to_company: Option<bool>, pub default_customer_message: Option<String>, pub allow_shipping: Option<bool>, pub default_discount_account: Option<bool>, pub ipn_support_enabled: Option<bool>, pub e_transaction_payment_enabled: Option<bool>, pub default_terms: Option<NtRef>, pub allow_deposit: Option<bool>, pub using_price_levels: Option<bool>, pub default_shipping_account: Option<bool>, pub e_transaction_attach_pdf: Option<bool>, pub custom_txn_numbers: Option<bool>, pub e_transaction_enabled_status: Option<String>, pub allow_estimates: Option<bool>, pub allow_discount: Option<bool>, pub auto_apply_credit: Option<bool>,
}
Expand description

Sales Forms Preferences

Represents the preferences for sales forms in QuickBooks.

Fields§

§sales_emaill_bcc: Option<Email>

BCC email address for sales forms.

§sales_email_cc: Option<Email>

CC email address for sales forms.

§using_progress_invoicing: Option<bool>

Indicates if progress invoicing is being used.

§custom_field: Option<String>

Custom field for sales forms.

§allow_service_date: Option<bool>

Indicates if service date is allowed on sales forms.

§estimate_message: Option<String>

Default message for estimates.

§email_copy_to_company: Option<bool>

Indicates if a copy of the email should be sent to the company.

§default_customer_message: Option<String>

Default customer message for sales forms.

§allow_shipping: Option<bool>

Indicates if shipping is allowed on sales forms.

§default_discount_account: Option<bool>

Indicates if the default discount account is enabled.

§ipn_support_enabled: Option<bool>

Indicates if IPN support is enabled.

§e_transaction_payment_enabled: Option<bool>

Indicates if e-transaction payment is enabled.

§default_terms: Option<NtRef>

Default terms for sales forms.

§allow_deposit: Option<bool>

Indicates if deposits are allowed on sales forms.

§using_price_levels: Option<bool>

Indicates if price levels are being used.

§default_shipping_account: Option<bool>

Indicates if the default shipping account is enabled.

§e_transaction_attach_pdf: Option<bool>

Indicates if e-transaction PDF attachment is enabled.

§custom_txn_numbers: Option<bool>

Indicates if custom transaction numbers are allowed.

§e_transaction_enabled_status: Option<String>

Status of e-transaction enabled.

§allow_estimates: Option<bool>

Indicates if estimates are allowed.

§allow_discount: Option<bool>

Indicates if discounts are allowed.

§auto_apply_credit: Option<bool>

Indicates if auto-apply credit is enabled.

Trait Implementations§

Source§

impl Clone for SalesFormsPrefs

Source§

fn clone(&self) -> SalesFormsPrefs

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SalesFormsPrefs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for SalesFormsPrefs

Source§

fn default() -> SalesFormsPrefs

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

impl<'de> Deserialize<'de> for SalesFormsPrefs

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for SalesFormsPrefs

Source§

fn eq(&self, other: &SalesFormsPrefs) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for SalesFormsPrefs

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for SalesFormsPrefs

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

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