pub struct TransactionDetails {
pub tax_rates_used: Vec<TaxRatesUsed>,
pub totals: TransactionTotals,
pub adjusted_totals: TransactionTotalsAdjusted,
pub payout_totals: Option<TransactionPayoutTotals>,
pub adjusted_payout_totals: Option<TransactionPayoutTotalsAdjusted>,
pub line_items: Vec<TransactionLineItemWithId>,
}
Expand description
Calculated totals for a transaction, including proration, discounts, tax, and currency conversion. Considered the source of truth for totals on a transaction.
Fields§
§tax_rates_used: Vec<TaxRatesUsed>
List of tax rates applied for this transaction.
totals: TransactionTotals
Breakdown of the total for a transaction. These numbers can be negative when dealing with subscription updates that result in credit.
adjusted_totals: TransactionTotalsAdjusted
Breakdown of the totals for a transaction after adjustments.
payout_totals: Option<TransactionPayoutTotals>
Breakdown of the payout total for a transaction. null
until the transaction is completed
. Returned in your payout currency.
adjusted_payout_totals: Option<TransactionPayoutTotalsAdjusted>
Breakdown of the payout total for a transaction after adjustments. null
until the transaction is completed
.
line_items: Vec<TransactionLineItemWithId>
Information about line items for this transaction. Different from transaction items
as they include totals calculated by Paddle. Considered the source of truth for line item totals.
Trait Implementations§
Source§impl Clone for TransactionDetails
impl Clone for TransactionDetails
Source§fn clone(&self) -> TransactionDetails
fn clone(&self) -> TransactionDetails
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more