pub struct InvoiceRefundedEvent {
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<InvoiceRefundedEventData>>,
}Expand description
InvoiceRefundedEvent : Published when a refund is applied toward a payment of an invoice. For more information about invoice refunds, see Refund 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.refunded\".
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<InvoiceRefundedEventData>>Implementations§
Source§impl InvoiceRefundedEvent
impl InvoiceRefundedEvent
Sourcepub fn new() -> InvoiceRefundedEvent
pub fn new() -> InvoiceRefundedEvent
Published when a refund is applied toward a payment of an invoice. For more information about invoice refunds, see Refund an invoice.
Trait Implementations§
Source§impl Clone for InvoiceRefundedEvent
impl Clone for InvoiceRefundedEvent
Source§fn clone(&self) -> InvoiceRefundedEvent
fn clone(&self) -> InvoiceRefundedEvent
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 InvoiceRefundedEvent
impl Debug for InvoiceRefundedEvent
Source§impl Default for InvoiceRefundedEvent
impl Default for InvoiceRefundedEvent
Source§fn default() -> InvoiceRefundedEvent
fn default() -> InvoiceRefundedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InvoiceRefundedEvent
impl<'de> Deserialize<'de> for InvoiceRefundedEvent
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 InvoiceRefundedEvent
impl PartialEq for InvoiceRefundedEvent
Source§impl Serialize for InvoiceRefundedEvent
impl Serialize for InvoiceRefundedEvent
impl StructuralPartialEq for InvoiceRefundedEvent
Auto Trait Implementations§
impl Freeze for InvoiceRefundedEvent
impl RefUnwindSafe for InvoiceRefundedEvent
impl Send for InvoiceRefundedEvent
impl Sync for InvoiceRefundedEvent
impl Unpin for InvoiceRefundedEvent
impl UnsafeUnpin for InvoiceRefundedEvent
impl UnwindSafe for InvoiceRefundedEvent
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