pub struct NextTransaction {
pub billing_period: TimePeriod,
pub details: SubscriptionTransactionDetailsPreview,
pub adjustments: Vec<AdjustmentPreview>,
}
Expand description
Preview of the next transaction for this subscription. May include prorated charges that aren’t yet billed and one-time charges. null
if the subscription is scheduled to cancel or pause.
Fields§
§billing_period: TimePeriod
§details: SubscriptionTransactionDetailsPreview
Calculated totals for a transaction preview, including discounts, tax, and currency conversion. Considered the source of truth for totals on a transaction preview.
adjustments: Vec<AdjustmentPreview>
Preview of adjustments for the next transaction.
Trait Implementations§
Source§impl Clone for NextTransaction
impl Clone for NextTransaction
Source§fn clone(&self) -> NextTransaction
fn clone(&self) -> NextTransaction
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 NextTransaction
impl Debug for NextTransaction
Source§impl<'de> Deserialize<'de> for NextTransaction
impl<'de> Deserialize<'de> for NextTransaction
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 NextTransaction
impl RefUnwindSafe for NextTransaction
impl Send for NextTransaction
impl Sync for NextTransaction
impl Unpin for NextTransaction
impl UnwindSafe for NextTransaction
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