pub struct PaymentHistorySummary {
pub pending_disbursement: String,
pub total_earned: String,
pub total_fees_paid: String,
}Expand description
Financial summary for the filtered payment records.
Note: These figures reflect only the filtered result set when date or status filters are applied, not lifetime totals.
JSON schema
{
"description": "Financial summary for the filtered payment records.\n\n**Note:** These figures reflect only the filtered result set when date\nor status filters are applied, not lifetime totals.\n",
"type": "object",
"required": [
"pending_disbursement",
"total_earned",
"total_fees_paid"
],
"properties": {
"pending_disbursement": {
"description": "Sum of net_amount for pending payments (decimal string)",
"examples": [
"135.00"
],
"type": "string"
},
"total_earned": {
"description": "Sum of net_amount for disbursed payments (decimal string)",
"examples": [
"270.00"
],
"type": "string"
},
"total_fees_paid": {
"description": "Sum of platform_fee for all filtered payments (decimal string)",
"examples": [
"30.00"
],
"type": "string"
}
},
"additionalProperties": false
}Fields§
§pending_disbursement: StringSum of net_amount for pending payments (decimal string)
total_earned: StringSum of net_amount for disbursed payments (decimal string)
total_fees_paid: StringSum of platform_fee for all filtered payments (decimal string)
Trait Implementations§
Source§impl Clone for PaymentHistorySummary
impl Clone for PaymentHistorySummary
Source§fn clone(&self) -> PaymentHistorySummary
fn clone(&self) -> PaymentHistorySummary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PaymentHistorySummary
impl Debug for PaymentHistorySummary
Source§impl<'de> Deserialize<'de> for PaymentHistorySummary
impl<'de> Deserialize<'de> for PaymentHistorySummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PaymentHistorySummary
impl RefUnwindSafe for PaymentHistorySummary
impl Send for PaymentHistorySummary
impl Sync for PaymentHistorySummary
impl Unpin for PaymentHistorySummary
impl UnsafeUnpin for PaymentHistorySummary
impl UnwindSafe for PaymentHistorySummary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more