pub struct RefundUpdatedEvent {
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<RefundUpdatedEventData>>,
}Expand description
RefundUpdatedEvent : Published when a Refund is updated. Typically the refund.status changes when a refund is completed.
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, \"refund.updated\".
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<RefundUpdatedEventData>>Implementations§
Source§impl RefundUpdatedEvent
impl RefundUpdatedEvent
Sourcepub fn new() -> RefundUpdatedEvent
pub fn new() -> RefundUpdatedEvent
Published when a Refund is updated. Typically the refund.status changes when a refund is completed.
Trait Implementations§
Source§impl Clone for RefundUpdatedEvent
impl Clone for RefundUpdatedEvent
Source§fn clone(&self) -> RefundUpdatedEvent
fn clone(&self) -> RefundUpdatedEvent
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 RefundUpdatedEvent
impl Debug for RefundUpdatedEvent
Source§impl Default for RefundUpdatedEvent
impl Default for RefundUpdatedEvent
Source§fn default() -> RefundUpdatedEvent
fn default() -> RefundUpdatedEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefundUpdatedEvent
impl<'de> Deserialize<'de> for RefundUpdatedEvent
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 RefundUpdatedEvent
impl PartialEq for RefundUpdatedEvent
Source§impl Serialize for RefundUpdatedEvent
impl Serialize for RefundUpdatedEvent
impl StructuralPartialEq for RefundUpdatedEvent
Auto Trait Implementations§
impl Freeze for RefundUpdatedEvent
impl RefUnwindSafe for RefundUpdatedEvent
impl Send for RefundUpdatedEvent
impl Sync for RefundUpdatedEvent
impl Unpin for RefundUpdatedEvent
impl UnsafeUnpin for RefundUpdatedEvent
impl UnwindSafe for RefundUpdatedEvent
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