pub struct SubscriptionChargeOverride {
pub id: String,
pub billable_metric_id: Option<String>,
pub invoice_display_name: Option<String>,
pub min_amount_cents: Option<i64>,
pub tax_codes: Option<Vec<String>>,
pub properties: Option<Value>,
}Expand description
Charge override for a subscription.
Fields§
§id: StringThe ID of the charge to override.
billable_metric_id: Option<String>Override the billable metric ID.
invoice_display_name: Option<String>Override the invoice display name.
min_amount_cents: Option<i64>Override the minimum amount in cents.
tax_codes: Option<Vec<String>>Override tax codes for this charge.
properties: Option<Value>Override the pricing properties.
Trait Implementations§
Source§impl Clone for SubscriptionChargeOverride
impl Clone for SubscriptionChargeOverride
Source§fn clone(&self) -> SubscriptionChargeOverride
fn clone(&self) -> SubscriptionChargeOverride
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 SubscriptionChargeOverride
impl Debug for SubscriptionChargeOverride
Source§impl<'de> Deserialize<'de> for SubscriptionChargeOverride
impl<'de> Deserialize<'de> for SubscriptionChargeOverride
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 SubscriptionChargeOverride
impl RefUnwindSafe for SubscriptionChargeOverride
impl Send for SubscriptionChargeOverride
impl Sync for SubscriptionChargeOverride
impl Unpin for SubscriptionChargeOverride
impl UnwindSafe for SubscriptionChargeOverride
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