square_api_client/models/enums/
tax_calculation_phase.rs

1//! Model for TaxCalculationPhase enum.
2
3use serde::{Deserialize, Serialize};
4
5/// When to calculate the taxes due on a cart.
6#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
7#[serde(rename_all = "SCREAMING_SNAKE_CASE")]
8pub enum TaxCalculationPhase {
9    /// The fee is calculated based on the payment's subtotal.
10    TaxSubtotalPhase,
11    /// The fee is calculated based on the payment's total.
12    TaxTotalPhase,
13}