pub struct TransactionLineItem {
pub price_id: PriceID,
pub quantity: i64,
pub proration: Proration,
pub tax_rate: String,
pub unit_totals: Totals,
pub totals: Totals,
pub product: Product,
}Expand description
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.
Fields§
§price_id: PriceIDUnique Paddle ID for this price, prefixed with pri_.
quantity: i64Quantity of this transaction line item.
proration: ProrationHow proration was calculated for this item. Populated when a transaction is created from a subscription change, where proration_billing_mode was prorated_immediately or prorated_next_billing_period. Set automatically by Paddle.
tax_rate: StringRate used to calculate tax for this transaction line item.
unit_totals: TotalsBreakdown of a charge in the lowest denomination of a currency (e.g. cents for USD).
totals: TotalsBreakdown of a charge in the lowest denomination of a currency (e.g. cents for USD).
product: ProductRepresents a product entity.
Trait Implementations§
Source§impl Clone for TransactionLineItem
impl Clone for TransactionLineItem
Source§fn clone(&self) -> TransactionLineItem
fn clone(&self) -> TransactionLineItem
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more