pub struct PaymentOrder {Show 13 fields
pub payment_order_uid: Uuid,
pub category_uid: Uuid,
pub amount: CurrencyAndAmount,
pub reference: String,
pub payee_uid: Uuid,
pub payee_account_uid: Uuid,
pub payment_order_recurrance: Option<StandingOrderRecurrance>,
pub processed_immediately: bool,
pub next_date: NaiveDate,
pub cancelled_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
pub spending_category: Option<SpendingCategory>,
pub standing_order_recurrance: Option<StandingOrderRecurrance>,
}
Expand description
A payment instruction to be carried out at a specific point in time
Fields§
§payment_order_uid: Uuid
Unique identifier of this payment order
category_uid: Uuid
Unique identifier of the category associated with this payment order
amount: CurrencyAndAmount
Representation of money
reference: String
The reference set by the payer
payee_uid: Uuid
The ID of the payee receiving the payments
payee_account_uid: Uuid
The account ID of the payee account receiving the payments
payment_order_recurrance: Option<StandingOrderRecurrance>
Recurrence rules of a standing order
processed_immediately: bool
Indicates if the payment order should process immediately or if this is a future dated payment
next_date: NaiveDate
Date on which the next standing order payment will be made
cancelled_at: DateTime<Utc>
The time the payment order is cancelled at
updated_at: DateTime<Utc>
The time the payment order is updated at
spending_category: Option<SpendingCategory>
Optional spending category for the payment order
standing_order_recurrance: Option<StandingOrderRecurrance>
Recurrence rules of a standing order
Trait Implementations§
Source§impl Clone for PaymentOrder
impl Clone for PaymentOrder
Source§fn clone(&self) -> PaymentOrder
fn clone(&self) -> PaymentOrder
Returns a duplicate of the value. Read more
1.0.0 · 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 PaymentOrder
impl Debug for PaymentOrder
Source§impl<'de> Deserialize<'de> for PaymentOrder
impl<'de> Deserialize<'de> for PaymentOrder
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
Source§impl PartialEq for PaymentOrder
impl PartialEq for PaymentOrder
impl Eq for PaymentOrder
impl StructuralPartialEq for PaymentOrder
Auto Trait Implementations§
impl Freeze for PaymentOrder
impl RefUnwindSafe for PaymentOrder
impl Send for PaymentOrder
impl Sync for PaymentOrder
impl Unpin for PaymentOrder
impl UnwindSafe for PaymentOrder
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