pub struct WebhookInvoiceProcessingEvent {
pub delivery_id: Option<String>,
pub webhook_id: Option<String>,
pub original_delivery_id: Option<String>,
pub is_redelivery: Option<bool>,
pub _type: Option<String>,
pub timestamp: Option<f32>,
pub store_id: Option<String>,
pub invoice_id: Option<String>,
pub over_paid: Option<bool>,
}Expand description
WebhookInvoiceProcessingEvent : Callback sent if the type is InvoiceProcessing
Fields§
§delivery_id: Option<String>The delivery id of the webhook
webhook_id: Option<String>The id of the webhook
original_delivery_id: Option<String>If this delivery is a redelivery, the is the delivery id of the original delivery.
is_redelivery: Option<bool>True if this delivery is a redelivery
_type: Option<String>The type of this event, current available are InvoiceCreated, InvoiceReceivedPayment, InvoiceProcessing, InvoiceExpired, InvoiceSettled, InvoiceInvalid, and InvoicePaymentSettled.
timestamp: Option<f32>The timestamp when this delivery has been created
store_id: Option<String>The store id of the invoice’s event
invoice_id: Option<String>The invoice id of the invoice’s event
over_paid: Option<bool>Whether this invoice has received more money than expected
Implementations§
Source§impl WebhookInvoiceProcessingEvent
impl WebhookInvoiceProcessingEvent
Sourcepub fn new() -> WebhookInvoiceProcessingEvent
pub fn new() -> WebhookInvoiceProcessingEvent
Callback sent if the type is InvoiceProcessing
Trait Implementations§
Source§impl Clone for WebhookInvoiceProcessingEvent
impl Clone for WebhookInvoiceProcessingEvent
Source§fn clone(&self) -> WebhookInvoiceProcessingEvent
fn clone(&self) -> WebhookInvoiceProcessingEvent
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 Default for WebhookInvoiceProcessingEvent
impl Default for WebhookInvoiceProcessingEvent
Source§fn default() -> WebhookInvoiceProcessingEvent
fn default() -> WebhookInvoiceProcessingEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WebhookInvoiceProcessingEvent
impl<'de> Deserialize<'de> for WebhookInvoiceProcessingEvent
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 WebhookInvoiceProcessingEvent
impl PartialEq for WebhookInvoiceProcessingEvent
Source§fn eq(&self, other: &WebhookInvoiceProcessingEvent) -> bool
fn eq(&self, other: &WebhookInvoiceProcessingEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for WebhookInvoiceProcessingEvent
Auto Trait Implementations§
impl Freeze for WebhookInvoiceProcessingEvent
impl RefUnwindSafe for WebhookInvoiceProcessingEvent
impl Send for WebhookInvoiceProcessingEvent
impl Sync for WebhookInvoiceProcessingEvent
impl Unpin for WebhookInvoiceProcessingEvent
impl UnwindSafe for WebhookInvoiceProcessingEvent
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