[−][src]Struct stripe::Review
The resource representing a Stripe "RadarReview".
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
, or disputed
.
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
, or disputed
.
session: Option<RadarReviewResourceSession>
Information related to the browsing session of the user who initiated the payment.
Implementations
impl Review
[src]
pub fn list(client: &Client, params: ListReviews) -> Response<List<Review>>
[src]
Returns a list of Review
objects that have open
set to true
.
The objects are sorted in descending order by creation date, with the most recently created object appearing first.
pub fn retrieve(
client: &Client,
id: &ReviewId,
expand: &[&str]
) -> Response<Review>
[src]
client: &Client,
id: &ReviewId,
expand: &[&str]
) -> Response<Review>
Retrieves a Review
object.
Trait Implementations
impl Clone for Review
[src]
impl Debug for Review
[src]
impl<'de> Deserialize<'de> for Review
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Object for Review
[src]
type Id = ReviewId
The canonical id type for this object.
fn id(&self) -> Self::Id
[src]
fn object(&self) -> &'static str
[src]
impl Serialize for Review
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,