pub struct Review {Show 13 fields
pub id: ReviewId,
pub billing_zip: Option<String>,
pub charge: Option<Expandable<Charge>>,
pub closed_reason: Option<ReviewClosedReason>,
pub created: Timestamp,
pub ip_address: Option<String>,
pub ip_address_location: Option<RadarReviewResourceLocation>,
pub livemode: bool,
pub open: bool,
pub opened_reason: ReviewOpenedReason,
pub payment_intent: Option<Expandable<PaymentIntent>>,
pub reason: ReviewReason,
pub session: Option<RadarReviewResourceSession>,
}
Expand description
The resource representing a Stripe “RadarReview”.
For more details see https://stripe.com/docs/api/reviews/object
Fields
id: ReviewId
Unique identifier for the object.
billing_zip: Option<String>
The ZIP or postal code of the card used, if applicable.
charge: Option<Expandable<Charge>>
The charge associated with this review.
closed_reason: Option<ReviewClosedReason>
The reason the review was closed, or null if it has not yet been closed.
One of approved
, refunded
, refunded_as_fraud
, disputed
, or redacted
.
created: Timestamp
Time at which the object was created.
Measured in seconds since the Unix epoch.
ip_address: Option<String>
The IP address where the payment originated.
ip_address_location: Option<RadarReviewResourceLocation>
Information related to the location of the payment.
Note that this information is an approximation and attempts to locate the nearest population center - it should not be used to determine a specific address.
livemode: bool
Has the value true
if the object exists in live mode or the value false
if the object exists in test mode.
open: bool
If true
, the review needs action.
opened_reason: ReviewOpenedReason
The reason the review was opened.
One of rule
or manual
.
payment_intent: Option<Expandable<PaymentIntent>>
The PaymentIntent ID associated with this review, if one exists.
reason: ReviewReason
The reason the review is currently open or closed.
One of rule
, manual
, approved
, refunded
, refunded_as_fraud
, disputed
, or redacted
.
session: Option<RadarReviewResourceSession>
Information related to the browsing session of the user who initiated the payment.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Review
impl<'de> Deserialize<'de> for Review
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
Auto Trait Implementations
impl RefUnwindSafe for Review
impl Send for Review
impl Sync for Review
impl Unpin for Review
impl UnwindSafe for Review
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more