stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.Review

Description

Contains the types generated from the schema Review

Synopsis

Documentation

data Review Source #

Defines the object schema located at components.schemas.review in the specification.

Reviews can be used to supplement automated fraud detection with human expertise.

Learn more about Radar and reviewing payments here.

Constructors

Review 

Fields

Instances

Instances details
Eq Review Source # 
Instance details

Defined in StripeAPI.Types.Review

Methods

(==) :: Review -> Review -> Bool #

(/=) :: Review -> Review -> Bool #

Show Review Source # 
Instance details

Defined in StripeAPI.Types.Review

ToJSON Review Source # 
Instance details

Defined in StripeAPI.Types.Review

FromJSON Review Source # 
Instance details

Defined in StripeAPI.Types.Review

data ReviewClosedReason' Source #

Defines the enum schema located at components.schemas.review.properties.closed_reason in the specification.

The reason the review was closed, or null if it has not yet been closed. One of `approved`, `refunded`, `refunded_as_fraud`, or `disputed`.

Constructors

ReviewClosedReason'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

ReviewClosedReason'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

ReviewClosedReason'EnumApproved

Represents the JSON value "approved"

ReviewClosedReason'EnumDisputed

Represents the JSON value "disputed"

ReviewClosedReason'EnumRefunded

Represents the JSON value "refunded"

ReviewClosedReason'EnumRefundedAsFraud

Represents the JSON value "refunded_as_fraud"

data ReviewIpAddressLocation' Source #

Defines the object schema located at components.schemas.review.properties.ip_address_location.anyOf in the specification.

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.

Constructors

ReviewIpAddressLocation' 

Fields

data ReviewOpenedReason' Source #

Defines the enum schema located at components.schemas.review.properties.opened_reason in the specification.

The reason the review was opened. One of `rule` or `manual`.

Constructors

ReviewOpenedReason'Other Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

ReviewOpenedReason'Typed Text

This constructor can be used to send values to the server which are not present in the specification yet.

ReviewOpenedReason'EnumManual

Represents the JSON value "manual"

ReviewOpenedReason'EnumRule

Represents the JSON value "rule"

data ReviewSession' Source #

Defines the object schema located at components.schemas.review.properties.session.anyOf in the specification.

Information related to the browsing session of the user who initiated the payment.

Constructors

ReviewSession' 

Fields

mkReviewSession' :: ReviewSession' Source #

Create a new ReviewSession' with all required fields.