pub struct TransactionPayoutTotals {
pub subtotal: String,
pub discount: String,
pub tax: String,
pub total: String,
pub credit: String,
pub credit_to_balance: String,
pub balance: String,
pub grand_total: String,
pub fee: String,
pub earnings: String,
pub currency_code: CurrencyCodePayouts,
}Expand description
Breakdown of the payout total for a transaction. null until the transaction is completed. Returned in your payout currency.
Fields§
§subtotal: StringTotal before tax and fees.
discount: StringTotal discount as a result of any discounts applied.
Except for percentage discounts, Paddle applies tax to discounts based on the line item price.tax_mode. If price.tax_mode for a line item is internal, Paddle removes tax from the discount applied.
tax: StringTotal tax on the subtotal.
total: StringTotal after tax.
credit: StringTotal credit applied to this transaction. This includes credits applied using a customer’s credit balance and adjustments to a billed transaction.
credit_to_balance: StringAdditional credit generated from negative details.line_items. This credit is added to the customer balance.
balance: StringTotal due on a transaction after credits and any payments.
grand_total: StringTotal due on a transaction after credits but before any payments.
fee: StringTotal fee taken by Paddle for this payout.
earnings: StringTotal earnings for this payout. This is the subtotal minus the Paddle fee.
currency_code: CurrencyCodePayoutsSupported three-letter ISO 4217 currency code for payouts from Paddle.
Trait Implementations§
Source§impl Clone for TransactionPayoutTotals
impl Clone for TransactionPayoutTotals
Source§fn clone(&self) -> TransactionPayoutTotals
fn clone(&self) -> TransactionPayoutTotals
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more