pub struct GiftCardActivityUnlinkedActivityRefund {
pub amount_money: Money,
pub payment_id: Option<String>,
pub reference_id: Option<String>,
}
Expand description
Represents details about a UNLINKED_ACTIVITY_REFUND
gift card activity type.
Fields
amount_money: Money
The amount added to the gift card for the refund. This value is a positive integer.
payment_id: Option<String>
Read only The ID of the refunded payment. This field is not used starting in Square version 2022-06-16.
reference_id: Option<String>
A client-specified ID that associates the gift card activity with an entity in another system.
Trait Implementations
sourceimpl Clone for GiftCardActivityUnlinkedActivityRefund
impl Clone for GiftCardActivityUnlinkedActivityRefund
sourcefn clone(&self) -> GiftCardActivityUnlinkedActivityRefund
fn clone(&self) -> GiftCardActivityUnlinkedActivityRefund
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for GiftCardActivityUnlinkedActivityRefund
impl Default for GiftCardActivityUnlinkedActivityRefund
sourcefn default() -> GiftCardActivityUnlinkedActivityRefund
fn default() -> GiftCardActivityUnlinkedActivityRefund
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GiftCardActivityUnlinkedActivityRefund
impl<'de> Deserialize<'de> for GiftCardActivityUnlinkedActivityRefund
sourcefn 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
sourceimpl PartialEq<GiftCardActivityUnlinkedActivityRefund> for GiftCardActivityUnlinkedActivityRefund
impl PartialEq<GiftCardActivityUnlinkedActivityRefund> for GiftCardActivityUnlinkedActivityRefund
sourcefn eq(&self, other: &GiftCardActivityUnlinkedActivityRefund) -> bool
fn eq(&self, other: &GiftCardActivityUnlinkedActivityRefund) -> bool
impl Eq for GiftCardActivityUnlinkedActivityRefund
impl StructuralEq for GiftCardActivityUnlinkedActivityRefund
impl StructuralPartialEq for GiftCardActivityUnlinkedActivityRefund
Auto Trait Implementations
impl RefUnwindSafe for GiftCardActivityUnlinkedActivityRefund
impl Send for GiftCardActivityUnlinkedActivityRefund
impl Sync for GiftCardActivityUnlinkedActivityRefund
impl Unpin for GiftCardActivityUnlinkedActivityRefund
impl UnwindSafe for GiftCardActivityUnlinkedActivityRefund
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.