pub struct ProductAdsPaymentEvent {
pub posted_date: Option<String>,
pub transaction_type: Option<String>,
pub invoice_id: Option<String>,
pub base_value: Option<Box<Currency>>,
pub tax_value: Option<Box<Currency>>,
pub transaction_value: Option<Box<Currency>>,
}Expand description
ProductAdsPaymentEvent : A Sponsored Products payment event.
Fields
posted_date: Option<String>transaction_type: Option<String>Indicates if the transaction is for a charge or a refund. Possible values: * charge - Charge * refund - Refund
invoice_id: Option<String>Identifier for the invoice that the transaction appears in.
base_value: Option<Box<Currency>>tax_value: Option<Box<Currency>>transaction_value: Option<Box<Currency>>Implementations
sourceimpl ProductAdsPaymentEvent
impl ProductAdsPaymentEvent
sourcepub fn new() -> ProductAdsPaymentEvent
pub fn new() -> ProductAdsPaymentEvent
A Sponsored Products payment event.
Trait Implementations
sourceimpl Clone for ProductAdsPaymentEvent
impl Clone for ProductAdsPaymentEvent
sourcefn clone(&self) -> ProductAdsPaymentEvent
fn clone(&self) -> ProductAdsPaymentEvent
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 ProductAdsPaymentEvent
impl Debug for ProductAdsPaymentEvent
sourceimpl Default for ProductAdsPaymentEvent
impl Default for ProductAdsPaymentEvent
sourcefn default() -> ProductAdsPaymentEvent
fn default() -> ProductAdsPaymentEvent
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ProductAdsPaymentEvent
impl<'de> Deserialize<'de> for ProductAdsPaymentEvent
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<ProductAdsPaymentEvent> for ProductAdsPaymentEvent
impl PartialEq<ProductAdsPaymentEvent> for ProductAdsPaymentEvent
sourcefn eq(&self, other: &ProductAdsPaymentEvent) -> bool
fn eq(&self, other: &ProductAdsPaymentEvent) -> bool
sourceimpl Serialize for ProductAdsPaymentEvent
impl Serialize for ProductAdsPaymentEvent
impl StructuralPartialEq for ProductAdsPaymentEvent
Auto Trait Implementations
impl RefUnwindSafe for ProductAdsPaymentEvent
impl Send for ProductAdsPaymentEvent
impl Sync for ProductAdsPaymentEvent
impl Unpin for ProductAdsPaymentEvent
impl UnwindSafe for ProductAdsPaymentEvent
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