| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Operations.PostSources
Description
Contains the different functions to run the operation postSources
Synopsis
- postSources :: forall m. MonadHTTP m => Maybe PostSourcesRequestBody -> ClientT m (Response PostSourcesResponse)
- data PostSourcesRequestBody = PostSourcesRequestBody {
- postSourcesRequestBodyAmount :: Maybe Int
- postSourcesRequestBodyCurrency :: Maybe Text
- postSourcesRequestBodyCustomer :: Maybe Text
- postSourcesRequestBodyExpand :: Maybe [Text]
- postSourcesRequestBodyFlow :: Maybe PostSourcesRequestBodyFlow'
- postSourcesRequestBodyMandate :: Maybe PostSourcesRequestBodyMandate'
- postSourcesRequestBodyMetadata :: Maybe Object
- postSourcesRequestBodyOriginalSource :: Maybe Text
- postSourcesRequestBodyOwner :: Maybe PostSourcesRequestBodyOwner'
- postSourcesRequestBodyReceiver :: Maybe PostSourcesRequestBodyReceiver'
- postSourcesRequestBodyRedirect :: Maybe PostSourcesRequestBodyRedirect'
- postSourcesRequestBodySourceOrder :: Maybe PostSourcesRequestBodySourceOrder'
- postSourcesRequestBodyStatementDescriptor :: Maybe Text
- postSourcesRequestBodyToken :: Maybe Text
- postSourcesRequestBodyType :: Maybe Text
- postSourcesRequestBodyUsage :: Maybe PostSourcesRequestBodyUsage'
- mkPostSourcesRequestBody :: PostSourcesRequestBody
- data PostSourcesRequestBodyFlow'
- data PostSourcesRequestBodyMandate' = PostSourcesRequestBodyMandate' {
- postSourcesRequestBodyMandate'Acceptance :: Maybe PostSourcesRequestBodyMandate'Acceptance'
- postSourcesRequestBodyMandate'Amount :: Maybe PostSourcesRequestBodyMandate'Amount'Variants
- postSourcesRequestBodyMandate'Currency :: Maybe Text
- postSourcesRequestBodyMandate'Interval :: Maybe PostSourcesRequestBodyMandate'Interval'
- postSourcesRequestBodyMandate'NotificationMethod :: Maybe PostSourcesRequestBodyMandate'NotificationMethod'
- mkPostSourcesRequestBodyMandate' :: PostSourcesRequestBodyMandate'
- data PostSourcesRequestBodyMandate'Acceptance' = PostSourcesRequestBodyMandate'Acceptance' {
- postSourcesRequestBodyMandate'Acceptance'Date :: Maybe Int
- postSourcesRequestBodyMandate'Acceptance'Ip :: Maybe Text
- postSourcesRequestBodyMandate'Acceptance'Offline :: Maybe PostSourcesRequestBodyMandate'Acceptance'Offline'
- postSourcesRequestBodyMandate'Acceptance'Online :: Maybe PostSourcesRequestBodyMandate'Acceptance'Online'
- postSourcesRequestBodyMandate'Acceptance'Status :: PostSourcesRequestBodyMandate'Acceptance'Status'
- postSourcesRequestBodyMandate'Acceptance'Type :: Maybe PostSourcesRequestBodyMandate'Acceptance'Type'
- postSourcesRequestBodyMandate'Acceptance'UserAgent :: Maybe Text
- mkPostSourcesRequestBodyMandate'Acceptance' :: PostSourcesRequestBodyMandate'Acceptance'Status' -> PostSourcesRequestBodyMandate'Acceptance'
- data PostSourcesRequestBodyMandate'Acceptance'Offline' = PostSourcesRequestBodyMandate'Acceptance'Offline' {}
- mkPostSourcesRequestBodyMandate'Acceptance'Offline' :: Text -> PostSourcesRequestBodyMandate'Acceptance'Offline'
- data PostSourcesRequestBodyMandate'Acceptance'Online' = PostSourcesRequestBodyMandate'Acceptance'Online' {}
- mkPostSourcesRequestBodyMandate'Acceptance'Online' :: PostSourcesRequestBodyMandate'Acceptance'Online'
- data PostSourcesRequestBodyMandate'Acceptance'Status'
- = PostSourcesRequestBodyMandate'Acceptance'Status'Other Value
- | PostSourcesRequestBodyMandate'Acceptance'Status'Typed Text
- | PostSourcesRequestBodyMandate'Acceptance'Status'EnumAccepted
- | PostSourcesRequestBodyMandate'Acceptance'Status'EnumPending
- | PostSourcesRequestBodyMandate'Acceptance'Status'EnumRefused
- | PostSourcesRequestBodyMandate'Acceptance'Status'EnumRevoked
- data PostSourcesRequestBodyMandate'Acceptance'Type'
- data PostSourcesRequestBodyMandate'Amount'Variants
- data PostSourcesRequestBodyMandate'Interval'
- data PostSourcesRequestBodyMandate'NotificationMethod'
- = PostSourcesRequestBodyMandate'NotificationMethod'Other Value
- | PostSourcesRequestBodyMandate'NotificationMethod'Typed Text
- | PostSourcesRequestBodyMandate'NotificationMethod'EnumDeprecatedNone
- | PostSourcesRequestBodyMandate'NotificationMethod'EnumEmail
- | PostSourcesRequestBodyMandate'NotificationMethod'EnumManual
- | PostSourcesRequestBodyMandate'NotificationMethod'EnumNone
- | PostSourcesRequestBodyMandate'NotificationMethod'EnumStripeEmail
- data PostSourcesRequestBodyOwner' = PostSourcesRequestBodyOwner' {}
- mkPostSourcesRequestBodyOwner' :: PostSourcesRequestBodyOwner'
- data PostSourcesRequestBodyOwner'Address' = PostSourcesRequestBodyOwner'Address' {
- postSourcesRequestBodyOwner'Address'City :: Maybe Text
- postSourcesRequestBodyOwner'Address'Country :: Maybe Text
- postSourcesRequestBodyOwner'Address'Line1 :: Maybe Text
- postSourcesRequestBodyOwner'Address'Line2 :: Maybe Text
- postSourcesRequestBodyOwner'Address'PostalCode :: Maybe Text
- postSourcesRequestBodyOwner'Address'State :: Maybe Text
- mkPostSourcesRequestBodyOwner'Address' :: PostSourcesRequestBodyOwner'Address'
- data PostSourcesRequestBodyReceiver' = PostSourcesRequestBodyReceiver' {}
- mkPostSourcesRequestBodyReceiver' :: PostSourcesRequestBodyReceiver'
- data PostSourcesRequestBodyReceiver'RefundAttributesMethod'
- = PostSourcesRequestBodyReceiver'RefundAttributesMethod'Other Value
- | PostSourcesRequestBodyReceiver'RefundAttributesMethod'Typed Text
- | PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumEmail
- | PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumManual
- | PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumNone
- data PostSourcesRequestBodyRedirect' = PostSourcesRequestBodyRedirect' {}
- mkPostSourcesRequestBodyRedirect' :: Text -> PostSourcesRequestBodyRedirect'
- data PostSourcesRequestBodySourceOrder' = PostSourcesRequestBodySourceOrder' {}
- mkPostSourcesRequestBodySourceOrder' :: PostSourcesRequestBodySourceOrder'
- data PostSourcesRequestBodySourceOrder'Items' = PostSourcesRequestBodySourceOrder'Items' {
- postSourcesRequestBodySourceOrder'Items'Amount :: Maybe Int
- postSourcesRequestBodySourceOrder'Items'Currency :: Maybe Text
- postSourcesRequestBodySourceOrder'Items'Description :: Maybe Text
- postSourcesRequestBodySourceOrder'Items'Parent :: Maybe Text
- postSourcesRequestBodySourceOrder'Items'Quantity :: Maybe Int
- postSourcesRequestBodySourceOrder'Items'Type :: Maybe PostSourcesRequestBodySourceOrder'Items'Type'
- mkPostSourcesRequestBodySourceOrder'Items' :: PostSourcesRequestBodySourceOrder'Items'
- data PostSourcesRequestBodySourceOrder'Items'Type'
- = PostSourcesRequestBodySourceOrder'Items'Type'Other Value
- | PostSourcesRequestBodySourceOrder'Items'Type'Typed Text
- | PostSourcesRequestBodySourceOrder'Items'Type'EnumDiscount
- | PostSourcesRequestBodySourceOrder'Items'Type'EnumShipping
- | PostSourcesRequestBodySourceOrder'Items'Type'EnumSku
- | PostSourcesRequestBodySourceOrder'Items'Type'EnumTax
- data PostSourcesRequestBodySourceOrder'Shipping' = PostSourcesRequestBodySourceOrder'Shipping' {
- postSourcesRequestBodySourceOrder'Shipping'Address :: PostSourcesRequestBodySourceOrder'Shipping'Address'
- postSourcesRequestBodySourceOrder'Shipping'Carrier :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Name :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Phone :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'TrackingNumber :: Maybe Text
- mkPostSourcesRequestBodySourceOrder'Shipping' :: PostSourcesRequestBodySourceOrder'Shipping'Address' -> PostSourcesRequestBodySourceOrder'Shipping'
- data PostSourcesRequestBodySourceOrder'Shipping'Address' = PostSourcesRequestBodySourceOrder'Shipping'Address' {
- postSourcesRequestBodySourceOrder'Shipping'Address'City :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Address'Country :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Address'Line1 :: Text
- postSourcesRequestBodySourceOrder'Shipping'Address'Line2 :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Address'PostalCode :: Maybe Text
- postSourcesRequestBodySourceOrder'Shipping'Address'State :: Maybe Text
- mkPostSourcesRequestBodySourceOrder'Shipping'Address' :: Text -> PostSourcesRequestBodySourceOrder'Shipping'Address'
- data PostSourcesRequestBodyUsage'
- data PostSourcesResponse
Documentation
Arguments
| :: forall m. MonadHTTP m | |
| => Maybe PostSourcesRequestBody | The request body to send |
| -> ClientT m (Response PostSourcesResponse) | Monadic computation which returns the result of the operation |
POST /v1/sources
<p>Creates a new source object.</p>
data PostSourcesRequestBody Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema in the specification.
Constructors
| PostSourcesRequestBody | |
Fields
| |
Instances
| Eq PostSourcesRequestBody Source # | |
Defined in StripeAPI.Operations.PostSources Methods (==) :: PostSourcesRequestBody -> PostSourcesRequestBody -> Bool # (/=) :: PostSourcesRequestBody -> PostSourcesRequestBody -> Bool # | |
| Show PostSourcesRequestBody Source # | |
Defined in StripeAPI.Operations.PostSources Methods showsPrec :: Int -> PostSourcesRequestBody -> ShowS # show :: PostSourcesRequestBody -> String # showList :: [PostSourcesRequestBody] -> ShowS # | |
| ToJSON PostSourcesRequestBody Source # | |
Defined in StripeAPI.Operations.PostSources Methods toJSON :: PostSourcesRequestBody -> Value # toEncoding :: PostSourcesRequestBody -> Encoding # toJSONList :: [PostSourcesRequestBody] -> Value # | |
| FromJSON PostSourcesRequestBody Source # | |
Defined in StripeAPI.Operations.PostSources Methods parseJSON :: Value -> Parser PostSourcesRequestBody # parseJSONList :: Value -> Parser [PostSourcesRequestBody] # | |
mkPostSourcesRequestBody :: PostSourcesRequestBody Source #
Create a new PostSourcesRequestBody with all required fields.
data PostSourcesRequestBodyFlow' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.flow in the specification.
The authentication `flow` of the source to create. `flow` is one of `redirect`, `receiver`, `code_verification`, `none`. It is generally inferred unless a type supports multiple flows.
Constructors
| PostSourcesRequestBodyFlow'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyFlow'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyFlow'EnumCodeVerification | Represents the JSON value |
| PostSourcesRequestBodyFlow'EnumNone | Represents the JSON value |
| PostSourcesRequestBodyFlow'EnumReceiver | Represents the JSON value |
| PostSourcesRequestBodyFlow'EnumRedirect | Represents the JSON value |
Instances
data PostSourcesRequestBodyMandate' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate in the specification.
Information about a mandate possibility attached to a source object (generally for bank debits) as well as its acceptance status.
Constructors
| PostSourcesRequestBodyMandate' | |
Fields
| |
Instances
| Eq PostSourcesRequestBodyMandate' Source # | |
Defined in StripeAPI.Operations.PostSources | |
| Show PostSourcesRequestBodyMandate' Source # | |
Defined in StripeAPI.Operations.PostSources Methods showsPrec :: Int -> PostSourcesRequestBodyMandate' -> ShowS # show :: PostSourcesRequestBodyMandate' -> String # showList :: [PostSourcesRequestBodyMandate'] -> ShowS # | |
| ToJSON PostSourcesRequestBodyMandate' Source # | |
Defined in StripeAPI.Operations.PostSources | |
| FromJSON PostSourcesRequestBodyMandate' Source # | |
Defined in StripeAPI.Operations.PostSources Methods parseJSON :: Value -> Parser PostSourcesRequestBodyMandate' # parseJSONList :: Value -> Parser [PostSourcesRequestBodyMandate'] # | |
mkPostSourcesRequestBodyMandate' :: PostSourcesRequestBodyMandate' Source #
Create a new PostSourcesRequestBodyMandate' with all required fields.
data PostSourcesRequestBodyMandate'Acceptance' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance in the specification.
Constructors
| PostSourcesRequestBodyMandate'Acceptance' | |
Fields
| |
Instances
mkPostSourcesRequestBodyMandate'Acceptance' Source #
Arguments
| :: PostSourcesRequestBodyMandate'Acceptance'Status' | |
| -> PostSourcesRequestBodyMandate'Acceptance' |
Create a new PostSourcesRequestBodyMandate'Acceptance' with all required fields.
data PostSourcesRequestBodyMandate'Acceptance'Offline' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.offline in the specification.
Constructors
| PostSourcesRequestBodyMandate'Acceptance'Offline' | |
Fields
| |
Instances
mkPostSourcesRequestBodyMandate'Acceptance'Offline' Source #
Arguments
| :: Text |
|
| -> PostSourcesRequestBodyMandate'Acceptance'Offline' |
Create a new PostSourcesRequestBodyMandate'Acceptance'Offline' with all required fields.
data PostSourcesRequestBodyMandate'Acceptance'Online' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.online in the specification.
Constructors
| PostSourcesRequestBodyMandate'Acceptance'Online' | |
Fields
| |
Instances
mkPostSourcesRequestBodyMandate'Acceptance'Online' :: PostSourcesRequestBodyMandate'Acceptance'Online' Source #
Create a new PostSourcesRequestBodyMandate'Acceptance'Online' with all required fields.
data PostSourcesRequestBodyMandate'Acceptance'Status' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.status in the specification.
Constructors
| PostSourcesRequestBodyMandate'Acceptance'Status'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyMandate'Acceptance'Status'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyMandate'Acceptance'Status'EnumAccepted | Represents the JSON value |
| PostSourcesRequestBodyMandate'Acceptance'Status'EnumPending | Represents the JSON value |
| PostSourcesRequestBodyMandate'Acceptance'Status'EnumRefused | Represents the JSON value |
| PostSourcesRequestBodyMandate'Acceptance'Status'EnumRevoked | Represents the JSON value |
Instances
data PostSourcesRequestBodyMandate'Acceptance'Type' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.acceptance.properties.type in the specification.
Constructors
| PostSourcesRequestBodyMandate'Acceptance'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyMandate'Acceptance'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyMandate'Acceptance'Type'EnumOffline | Represents the JSON value |
| PostSourcesRequestBodyMandate'Acceptance'Type'EnumOnline | Represents the JSON value |
Instances
data PostSourcesRequestBodyMandate'Amount'Variants Source #
Defines the oneOf schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.amount.anyOf in the specification.
Constructors
| PostSourcesRequestBodyMandate'Amount'EmptyString | Represents the JSON value |
| PostSourcesRequestBodyMandate'Amount'Int Int |
data PostSourcesRequestBodyMandate'Interval' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.interval in the specification.
Constructors
| PostSourcesRequestBodyMandate'Interval'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyMandate'Interval'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyMandate'Interval'EnumOneTime | Represents the JSON value |
| PostSourcesRequestBodyMandate'Interval'EnumScheduled | Represents the JSON value |
| PostSourcesRequestBodyMandate'Interval'EnumVariable | Represents the JSON value |
Instances
data PostSourcesRequestBodyMandate'NotificationMethod' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.mandate.properties.notification_method in the specification.
Constructors
| PostSourcesRequestBodyMandate'NotificationMethod'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyMandate'NotificationMethod'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyMandate'NotificationMethod'EnumDeprecatedNone | Represents the JSON value |
| PostSourcesRequestBodyMandate'NotificationMethod'EnumEmail | Represents the JSON value |
| PostSourcesRequestBodyMandate'NotificationMethod'EnumManual | Represents the JSON value |
| PostSourcesRequestBodyMandate'NotificationMethod'EnumNone | Represents the JSON value |
| PostSourcesRequestBodyMandate'NotificationMethod'EnumStripeEmail | Represents the JSON value |
Instances
data PostSourcesRequestBodyOwner' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner in the specification.
Information about the owner of the payment instrument that may be used or required by particular source types.
Constructors
| PostSourcesRequestBodyOwner' | |
Fields
| |
Instances
mkPostSourcesRequestBodyOwner' :: PostSourcesRequestBodyOwner' Source #
Create a new PostSourcesRequestBodyOwner' with all required fields.
data PostSourcesRequestBodyOwner'Address' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.owner.properties.address in the specification.
Constructors
| PostSourcesRequestBodyOwner'Address' | |
Fields
| |
Instances
mkPostSourcesRequestBodyOwner'Address' :: PostSourcesRequestBodyOwner'Address' Source #
Create a new PostSourcesRequestBodyOwner'Address' with all required fields.
data PostSourcesRequestBodyReceiver' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receiver in the specification.
Optional parameters for the receiver flow. Can be set only if the source is a receiver (`flow` is `receiver`).
Constructors
| PostSourcesRequestBodyReceiver' | |
Fields
| |
Instances
mkPostSourcesRequestBodyReceiver' :: PostSourcesRequestBodyReceiver' Source #
Create a new PostSourcesRequestBodyReceiver' with all required fields.
data PostSourcesRequestBodyReceiver'RefundAttributesMethod' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.receiver.properties.refund_attributes_method in the specification.
Constructors
| PostSourcesRequestBodyReceiver'RefundAttributesMethod'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyReceiver'RefundAttributesMethod'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumEmail | Represents the JSON value |
| PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumManual | Represents the JSON value |
| PostSourcesRequestBodyReceiver'RefundAttributesMethod'EnumNone | Represents the JSON value |
Instances
data PostSourcesRequestBodyRedirect' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.redirect in the specification.
Parameters required for the redirect flow. Required if the source is authenticated by a redirect (`flow` is `redirect`).
Constructors
| PostSourcesRequestBodyRedirect' | |
Fields
| |
Instances
mkPostSourcesRequestBodyRedirect' Source #
Create a new PostSourcesRequestBodyRedirect' with all required fields.
data PostSourcesRequestBodySourceOrder' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order in the specification.
Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.
Constructors
| PostSourcesRequestBodySourceOrder' | |
Instances
mkPostSourcesRequestBodySourceOrder' :: PostSourcesRequestBodySourceOrder' Source #
Create a new PostSourcesRequestBodySourceOrder' with all required fields.
data PostSourcesRequestBodySourceOrder'Items' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items in the specification.
Constructors
| PostSourcesRequestBodySourceOrder'Items' | |
Fields
| |
Instances
mkPostSourcesRequestBodySourceOrder'Items' :: PostSourcesRequestBodySourceOrder'Items' Source #
Create a new PostSourcesRequestBodySourceOrder'Items' with all required fields.
data PostSourcesRequestBodySourceOrder'Items'Type' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.items.items.properties.type in the specification.
Constructors
| PostSourcesRequestBodySourceOrder'Items'Type'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodySourceOrder'Items'Type'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodySourceOrder'Items'Type'EnumDiscount | Represents the JSON value |
| PostSourcesRequestBodySourceOrder'Items'Type'EnumShipping | Represents the JSON value |
| PostSourcesRequestBodySourceOrder'Items'Type'EnumSku | Represents the JSON value |
| PostSourcesRequestBodySourceOrder'Items'Type'EnumTax | Represents the JSON value |
data PostSourcesRequestBodySourceOrder'Shipping' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping in the specification.
Constructors
| PostSourcesRequestBodySourceOrder'Shipping' | |
Fields
| |
Instances
mkPostSourcesRequestBodySourceOrder'Shipping' Source #
Arguments
| :: PostSourcesRequestBodySourceOrder'Shipping'Address' | |
| -> PostSourcesRequestBodySourceOrder'Shipping' |
Create a new PostSourcesRequestBodySourceOrder'Shipping' with all required fields.
data PostSourcesRequestBodySourceOrder'Shipping'Address' Source #
Defines the object schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.source_order.properties.shipping.properties.address in the specification.
Constructors
| PostSourcesRequestBodySourceOrder'Shipping'Address' | |
Fields
| |
Instances
mkPostSourcesRequestBodySourceOrder'Shipping'Address' Source #
Arguments
| :: Text | |
| -> PostSourcesRequestBodySourceOrder'Shipping'Address' |
Create a new PostSourcesRequestBodySourceOrder'Shipping'Address' with all required fields.
data PostSourcesRequestBodyUsage' Source #
Defines the enum schema located at paths./v1/sources.POST.requestBody.content.application/x-www-form-urlencoded.schema.properties.usage in the specification.
Constructors
| PostSourcesRequestBodyUsage'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| PostSourcesRequestBodyUsage'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| PostSourcesRequestBodyUsage'EnumReusable | Represents the JSON value |
| PostSourcesRequestBodyUsage'EnumSingleUse | Represents the JSON value |
Instances
data PostSourcesResponse Source #
Represents a response of the operation postSources.
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), PostSourcesResponseError is used.
Constructors
| PostSourcesResponseError String | Means either no matching case available or a parse error |
| PostSourcesResponse200 Source | Successful response. |
| PostSourcesResponseDefault Error | Error response. |
Instances
| Eq PostSourcesResponse Source # | |
Defined in StripeAPI.Operations.PostSources Methods (==) :: PostSourcesResponse -> PostSourcesResponse -> Bool # (/=) :: PostSourcesResponse -> PostSourcesResponse -> Bool # | |
| Show PostSourcesResponse Source # | |
Defined in StripeAPI.Operations.PostSources Methods showsPrec :: Int -> PostSourcesResponse -> ShowS # show :: PostSourcesResponse -> String # showList :: [PostSourcesResponse] -> ShowS # | |