[−][src]Struct stripe::Review
The resource representing a Stripe "RadarReview".
Fields
id: ReviewIdUnique 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: TimestampTime 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: boolHas the value true if the object exists in live mode or the value false if the object exists in test mode.
open: boolIf true, the review needs action.
opened_reason: ReviewOpenedReasonThe 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: ReviewReasonThe 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.
Methods
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 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 Clone for Review[src]
fn clone(&self) -> Review[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Debug for Review[src]
impl Serialize for Review[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl<'de> Deserialize<'de> for Review[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
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> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self