pub struct OneTimeProductBuyPurchaseOption {
pub legacy_compatible: Option<bool>,
pub multi_quantity_enabled: Option<bool>,
}Expand description
A purchase option that can be bought.
This type is not used in any activity, and only used as part of another schema.
Fields§
§legacy_compatible: Option<bool>Optional. Whether this purchase option will be available in legacy PBL flows that do not support one-time products model. Up to one “buy” purchase option can be marked as backwards compatible.
multi_quantity_enabled: Option<bool>Optional. Whether this purchase option allows multi-quantity. Multi-quantity allows buyer to purchase more than one item in a single checkout.
Trait Implementations§
Source§impl Clone for OneTimeProductBuyPurchaseOption
impl Clone for OneTimeProductBuyPurchaseOption
Source§fn clone(&self) -> OneTimeProductBuyPurchaseOption
fn clone(&self) -> OneTimeProductBuyPurchaseOption
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for OneTimeProductBuyPurchaseOption
impl Default for OneTimeProductBuyPurchaseOption
Source§fn default() -> OneTimeProductBuyPurchaseOption
fn default() -> OneTimeProductBuyPurchaseOption
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OneTimeProductBuyPurchaseOption
impl<'de> Deserialize<'de> for OneTimeProductBuyPurchaseOption
Source§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
impl Part for OneTimeProductBuyPurchaseOption
Auto Trait Implementations§
impl Freeze for OneTimeProductBuyPurchaseOption
impl RefUnwindSafe for OneTimeProductBuyPurchaseOption
impl Send for OneTimeProductBuyPurchaseOption
impl Sync for OneTimeProductBuyPurchaseOption
impl Unpin for OneTimeProductBuyPurchaseOption
impl UnwindSafe for OneTimeProductBuyPurchaseOption
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more