pub struct InvoicePayment {
pub recorded_by_email: Option<String>,
pub payment_gateway: Option<Value>,
pub paid_at: Option<String>,
pub created_at: Option<String>,
pub paid_date: Option<String>,
pub recorded_by: Option<String>,
pub updated_at: Option<String>,
pub id: Option<i64>,
pub notes: Option<String>,
pub amount: Option<f64>,
pub transaction_id: Option<String>,
}Fields§
§recorded_by_email: Option<String>The email of the person who recorded the payment.
payment_gateway: Option<Value>The payment gateway id and name used to process the payment.
paid_at: Option<String>Date and time the payment was made.
created_at: Option<String>Date and time the payment was recorded.
paid_date: Option<String>Date the payment was made.
recorded_by: Option<String>The name of the person who recorded the payment.
updated_at: Option<String>Date and time the payment was last updated.
id: Option<i64>Unique ID for the payment.
notes: Option<String>Any notes associated with the payment.
amount: Option<f64>The amount of the payment.
transaction_id: Option<String>Either the card authorization or PayPal transaction ID.
Trait Implementations§
Source§impl Debug for InvoicePayment
impl Debug for InvoicePayment
Source§impl<'de> Deserialize<'de> for InvoicePayment
impl<'de> Deserialize<'de> for InvoicePayment
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 Display for InvoicePayment
impl Display for InvoicePayment
Auto Trait Implementations§
impl Freeze for InvoicePayment
impl RefUnwindSafe for InvoicePayment
impl Send for InvoicePayment
impl Sync for InvoicePayment
impl Unpin for InvoicePayment
impl UnwindSafe for InvoicePayment
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