pub struct SaveScheduledTransaction {
pub account_id: String,
pub date: String,
pub amount: Option<i64>,
pub payee_id: Option<String>,
pub payee_name: Option<String>,
pub category_id: Option<String>,
pub memo: Option<String>,
pub flag_color: Option<TransactionFlagColor>,
pub frequency: Option<ScheduledTransactionFrequency>,
}
Fields§
§account_id: String
§date: String
The scheduled transaction date in ISO format (e.g. 2016-12-01). This should be a future date no more than 5 years into the future.
amount: Option<i64>
The scheduled transaction amount in milliunits format.
payee_id: Option<String>
The payee for the scheduled transaction. To create a transfer between two accounts, use the account transfer payee pointing to the target account. Account transfer payees are specified as transfer_payee_id
on the account resource.
payee_name: Option<String>
The payee name for the the scheduled transaction. If a payee_name
value is provided and payee_id
has a null value, the payee_name
value will be used to resolve the payee by either (1) a payee with the same name or (2) creation of a new payee.
category_id: Option<String>
The category for the scheduled transaction. Credit Card Payment categories are not permitted. Creating a split scheduled transaction is not currently supported.
memo: Option<String>
§flag_color: Option<TransactionFlagColor>
§frequency: Option<ScheduledTransactionFrequency>
Implementations§
Source§impl SaveScheduledTransaction
impl SaveScheduledTransaction
pub fn new(account_id: String, date: String) -> SaveScheduledTransaction
Trait Implementations§
Source§impl Clone for SaveScheduledTransaction
impl Clone for SaveScheduledTransaction
Source§fn clone(&self) -> SaveScheduledTransaction
fn clone(&self) -> SaveScheduledTransaction
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for SaveScheduledTransaction
impl Debug for SaveScheduledTransaction
Source§impl<'de> Deserialize<'de> for SaveScheduledTransaction
impl<'de> Deserialize<'de> for SaveScheduledTransaction
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>,
Source§impl PartialEq for SaveScheduledTransaction
impl PartialEq for SaveScheduledTransaction
Source§impl Serialize for SaveScheduledTransaction
impl Serialize for SaveScheduledTransaction
impl StructuralPartialEq for SaveScheduledTransaction
Auto Trait Implementations§
impl Freeze for SaveScheduledTransaction
impl RefUnwindSafe for SaveScheduledTransaction
impl Send for SaveScheduledTransaction
impl Sync for SaveScheduledTransaction
impl Unpin for SaveScheduledTransaction
impl UnwindSafe for SaveScheduledTransaction
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more