stripeapi-2.0.0.1: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Operations.GetSkusId

Description

Contains the different functions to run the operation getSkusId

Synopsis

Documentation

getSkusId Source #

Arguments

:: forall m. MonadHTTP m 
=> GetSkusIdParameters

Contains all available parameters of this operation (query and path parameters)

-> ClientT m (Response GetSkusIdResponse)

Monadic computation which returns the result of the operation

GET /v1/skus/{id}

<p>Retrieves the details of an existing SKU. Supply the unique SKU identifier from either a SKU creation request or from the product, and Stripe will return the corresponding SKU information.</p>

data GetSkusIdParameters Source #

Defines the object schema located at paths./v1/skus/{id}.GET.parameters in the specification.

Constructors

GetSkusIdParameters 

Fields

data GetSkusIdResponse Source #

Represents a response of the operation getSkusId.

The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetSkusIdResponseError is used.

Constructors

GetSkusIdResponseError String

Means either no matching case available or a parse error

GetSkusIdResponse200 GetSkusIdResponseBody200

Successful response.

GetSkusIdResponseDefault Error

Error response.

data GetSkusIdResponseBody200 Source #

Defines the object schema located at paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf in the specification.

Constructors

GetSkusIdResponseBody200 

Fields

data GetSkusIdResponseBody200Deleted' Source #

Defines the enum schema located at paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.deleted in the specification.

Always true for a deleted object

Constructors

GetSkusIdResponseBody200Deleted'Other Value

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

GetSkusIdResponseBody200Deleted'Typed Bool

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

GetSkusIdResponseBody200Deleted'EnumTrue

Represents the JSON value true

data GetSkusIdResponseBody200Object' Source #

Defines the enum schema located at paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.object in the specification.

String representing the object's type. Objects of the same type share the same value.

Constructors

GetSkusIdResponseBody200Object'Other Value

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

GetSkusIdResponseBody200Object'Typed Text

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

GetSkusIdResponseBody200Object'EnumSku

Represents the JSON value "sku"

data GetSkusIdResponseBody200PackageDimensions' Source #

Defines the object schema located at paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.package_dimensions.anyOf in the specification.

The dimensions of this SKU for shipping purposes.

data GetSkusIdResponseBody200Product'Variants Source #

Defines the oneOf schema located at paths./v1/skus/{id}.GET.responses.200.content.application/json.schema.anyOf.properties.product.anyOf in the specification.

The ID of the product this SKU is associated with. The product must be currently active.