pub struct CouponPaymentEvent {
pub posted_date: Option<String>,
pub coupon_id: Option<String>,
pub seller_coupon_description: Option<String>,
pub clip_or_redemption_count: Option<i64>,
pub payment_event_id: Option<String>,
pub fee_component: Option<Box<FeeComponent>>,
pub charge_component: Option<Box<ChargeComponent>>,
pub total_amount: Option<Box<Currency>>,
}Expand description
CouponPaymentEvent : An event related to coupon payments.
Fields
posted_date: Option<String>coupon_id: Option<String>A coupon identifier.
seller_coupon_description: Option<String>The description provided by the seller when they created the coupon.
clip_or_redemption_count: Option<i64>The number of coupon clips or redemptions.
payment_event_id: Option<String>A payment event identifier.
fee_component: Option<Box<FeeComponent>>charge_component: Option<Box<ChargeComponent>>total_amount: Option<Box<Currency>>Implementations
sourceimpl CouponPaymentEvent
impl CouponPaymentEvent
sourcepub fn new() -> CouponPaymentEvent
pub fn new() -> CouponPaymentEvent
An event related to coupon payments.
Trait Implementations
sourceimpl Clone for CouponPaymentEvent
impl Clone for CouponPaymentEvent
sourcefn clone(&self) -> CouponPaymentEvent
fn clone(&self) -> CouponPaymentEvent
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 Debug for CouponPaymentEvent
impl Debug for CouponPaymentEvent
sourceimpl Default for CouponPaymentEvent
impl Default for CouponPaymentEvent
sourcefn default() -> CouponPaymentEvent
fn default() -> CouponPaymentEvent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CouponPaymentEvent
impl<'de> Deserialize<'de> for CouponPaymentEvent
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<CouponPaymentEvent> for CouponPaymentEvent
impl PartialEq<CouponPaymentEvent> for CouponPaymentEvent
sourcefn eq(&self, other: &CouponPaymentEvent) -> bool
fn eq(&self, other: &CouponPaymentEvent) -> bool
sourceimpl Serialize for CouponPaymentEvent
impl Serialize for CouponPaymentEvent
impl StructuralPartialEq for CouponPaymentEvent
Auto Trait Implementations
impl RefUnwindSafe for CouponPaymentEvent
impl Send for CouponPaymentEvent
impl Sync for CouponPaymentEvent
impl Unpin for CouponPaymentEvent
impl UnwindSafe for CouponPaymentEvent
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