paypal_rust/resources/platform_fee.rs
1use crate::resources::money::Money;
2use crate::resources::payee_base::PayeeBase;
3use serde::{Deserialize, Serialize};
4
5#[derive(Clone, Debug, Default, Deserialize, Serialize)]
6pub struct PlatformFee {
7 /// The fee for this transaction.
8 pub amount: Money,
9
10 /// The recipient of the fee for this transaction. If you omit this value, the default is the API caller.
11 pub payee: PayeeBase,
12}