stripeapi-1.0.0.0: 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)

-> StripeT 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 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.