[][src]Struct stripe::Review

pub struct Review {
    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>,
}

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]

Retrieves a Review object.

Trait Implementations

impl Clone for Review[src]

impl Debug for Review[src]

impl<'de> Deserialize<'de> for Review[src]

impl Object for Review[src]

type Id = ReviewId

The canonical id type for this object.

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.