mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
raw/net estimated revenue fields
This commit is contained in:
@@ -50,11 +50,13 @@ pub enum PayoutRunStatus {
|
||||
Paid,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, utoipa::ToSchema)]
|
||||
#[derive(Debug, Clone, Default, Serialize, Deserialize, utoipa::ToSchema)]
|
||||
pub struct PayoutRunReport {
|
||||
pub days: Vec<DayRevenue>,
|
||||
#[serde(with = "rust_decimal::serde::float")]
|
||||
pub fees_deducted_usd: Decimal,
|
||||
pub days: Vec<DayRevenue>,
|
||||
#[serde(with = "rust_decimal::serde::float")]
|
||||
pub raw_estimated_revenue_usd: Decimal,
|
||||
#[serde(with = "rust_decimal::serde::float")]
|
||||
pub fees_deducted_usd: Decimal,
|
||||
#[serde(with = "rust_decimal::serde::float")]
|
||||
pub variance_adjustment_usd: Decimal,
|
||||
#[serde(with = "rust_decimal::serde::float")]
|
||||
|
||||
Reference in New Issue
Block a user