pub struct InvoicesPaymentsInvoicePaymentAssociatedPayment {
pub charge: Option<Expandable<Charge>>,
pub payment_intent: Option<Expandable<PaymentIntent>>,
pub type_: InvoicesPaymentsInvoicePaymentAssociatedPaymentType,
}
Fields§
§charge: Option<Expandable<Charge>>
ID of the successful charge for this payment when type
is charge
.
payment_intent: Option<Expandable<PaymentIntent>>
ID of the PaymentIntent associated with this payment when type
is payment_intent
.
Note: This property is only populated for invoices finalized on or after March 15th, 2019.
type_: InvoicesPaymentsInvoicePaymentAssociatedPaymentType
Type of payment object associated with this invoice payment.
Trait Implementations§
Source§impl Clone for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl Clone for InvoicesPaymentsInvoicePaymentAssociatedPayment
Source§fn clone(&self) -> InvoicesPaymentsInvoicePaymentAssociatedPayment
fn clone(&self) -> InvoicesPaymentsInvoicePaymentAssociatedPayment
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 FromValueOpt for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl FromValueOpt for InvoicesPaymentsInvoicePaymentAssociatedPayment
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl RefUnwindSafe for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl Send for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl Sync for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl Unpin for InvoicesPaymentsInvoicePaymentAssociatedPayment
impl UnwindSafe for InvoicesPaymentsInvoicePaymentAssociatedPayment
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