pub struct InvoicePaymentMadeEvent {
pub merchant_id: Option<Option<String>>,
pub type: Option<Option<String>>,
pub event_id: Option<Option<String>>,
pub created_at: Option<String>,
pub data: Option<Box<InvoicePaymentMadeEventData>>,
}Expand description
InvoicePaymentMadeEvent : Published when a payment that is associated with an invoice is completed. For more information about invoice payments, see Pay an invoice.
Fields§
§merchant_id: Option<Option<String>>The ID of the target merchant associated with the event.
type: Option<Option<String>>The type of event this represents, \"invoice.payment_made\".
event_id: Option<Option<String>>A unique ID for the event.
created_at: Option<String>Timestamp of when the event was created, in RFC 3339 format.
data: Option<Box<InvoicePaymentMadeEventData>>Implementations§
Source§impl InvoicePaymentMadeEvent
impl InvoicePaymentMadeEvent
Sourcepub fn new() -> InvoicePaymentMadeEvent
pub fn new() -> InvoicePaymentMadeEvent
Published when a payment that is associated with an invoice is completed. For more information about invoice payments, see Pay an invoice.
Trait Implementations§
Source§impl Clone for InvoicePaymentMadeEvent
impl Clone for InvoicePaymentMadeEvent
Source§fn clone(&self) -> InvoicePaymentMadeEvent
fn clone(&self) -> InvoicePaymentMadeEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InvoicePaymentMadeEvent
impl Debug for InvoicePaymentMadeEvent
Source§impl Default for InvoicePaymentMadeEvent
impl Default for InvoicePaymentMadeEvent
Source§fn default() -> InvoicePaymentMadeEvent
fn default() -> InvoicePaymentMadeEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoicePaymentMadeEvent
impl<'de> Deserialize<'de> for InvoicePaymentMadeEvent
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 InvoicePaymentMadeEvent
impl PartialEq for InvoicePaymentMadeEvent
Source§impl Serialize for InvoicePaymentMadeEvent
impl Serialize for InvoicePaymentMadeEvent
impl StructuralPartialEq for InvoicePaymentMadeEvent
Auto Trait Implementations§
impl Freeze for InvoicePaymentMadeEvent
impl RefUnwindSafe for InvoicePaymentMadeEvent
impl Send for InvoicePaymentMadeEvent
impl Sync for InvoicePaymentMadeEvent
impl Unpin for InvoicePaymentMadeEvent
impl UnsafeUnpin for InvoicePaymentMadeEvent
impl UnwindSafe for InvoicePaymentMadeEvent
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