pub enum SubscriptionChargeItem {
CatalogItem(SubscriptionItemCreateWithPriceId),
NonCatalogExistingProduct(SubscriptionChargeCreateWithPrice),
NonCatalogPriceAndProduct(SubscriptionChargeCreateWithPriceAndProduct),
}
Variants§
CatalogItem(SubscriptionItemCreateWithPriceId)
Add a catalog item to a subscription. In this case, the product and price that you’re billing for exist in your product catalog in Paddle.
NonCatalogExistingProduct(SubscriptionChargeCreateWithPrice)
Add a non-catalog price for an existing product in your catalog to a subscription. In this case, the product you’re billing for is a catalog product, but you charge a specific price for it.
NonCatalogPriceAndProduct(SubscriptionChargeCreateWithPriceAndProduct)
Add a non-catalog price for a non-catalog product in your catalog to a subscription. In this case, the product and price that you’re billing for are specific to this subscription.
Trait Implementations§
Source§impl Clone for SubscriptionChargeItem
impl Clone for SubscriptionChargeItem
Source§fn clone(&self) -> SubscriptionChargeItem
fn clone(&self) -> SubscriptionChargeItem
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 Debug for SubscriptionChargeItem
impl Debug for SubscriptionChargeItem
Source§impl<'de> Deserialize<'de> for SubscriptionChargeItem
impl<'de> Deserialize<'de> for SubscriptionChargeItem
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
Auto Trait Implementations§
impl Freeze for SubscriptionChargeItem
impl RefUnwindSafe for SubscriptionChargeItem
impl Send for SubscriptionChargeItem
impl Sync for SubscriptionChargeItem
impl Unpin for SubscriptionChargeItem
impl UnwindSafe for SubscriptionChargeItem
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