| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
StripeAPI.Types.ApplicationFee
Description
Contains the types generated from the schema ApplicationFee
Synopsis
- data ApplicationFee = ApplicationFee {
- applicationFeeAccount :: ApplicationFeeAccount'Variants
- applicationFeeAmount :: Int
- applicationFeeAmountRefunded :: Int
- applicationFeeApplication :: ApplicationFeeApplication'Variants
- applicationFeeBalanceTransaction :: Maybe ApplicationFeeBalanceTransaction'Variants
- applicationFeeCharge :: ApplicationFeeCharge'Variants
- applicationFeeCreated :: Int
- applicationFeeCurrency :: Text
- applicationFeeId :: Text
- applicationFeeLivemode :: Bool
- applicationFeeOriginatingTransaction :: Maybe ApplicationFeeOriginatingTransaction'Variants
- applicationFeeRefunded :: Bool
- applicationFeeRefunds :: ApplicationFeeRefunds'
- mkApplicationFee :: ApplicationFeeAccount'Variants -> Int -> Int -> ApplicationFeeApplication'Variants -> ApplicationFeeCharge'Variants -> Int -> Text -> Text -> Bool -> Bool -> ApplicationFeeRefunds' -> ApplicationFee
- data ApplicationFeeAccount'Variants
- data ApplicationFeeApplication'Variants
- data ApplicationFeeBalanceTransaction'Variants
- data ApplicationFeeCharge'Variants
- data ApplicationFeeOriginatingTransaction'Variants
- data ApplicationFeeRefunds' = ApplicationFeeRefunds' {}
- mkApplicationFeeRefunds' :: [FeeRefund] -> Bool -> Text -> ApplicationFeeRefunds'
Documentation
data ApplicationFee Source #
Defines the object schema located at components.schemas.application_fee in the specification.
Constructors
| ApplicationFee | |
Fields
| |
Instances
| Eq ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods (==) :: ApplicationFee -> ApplicationFee -> Bool # (/=) :: ApplicationFee -> ApplicationFee -> Bool # | |
| Show ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods showsPrec :: Int -> ApplicationFee -> ShowS # show :: ApplicationFee -> String # showList :: [ApplicationFee] -> ShowS # | |
| ToJSON ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods toJSON :: ApplicationFee -> Value # toEncoding :: ApplicationFee -> Encoding # toJSONList :: [ApplicationFee] -> Value # toEncodingList :: [ApplicationFee] -> Encoding # | |
| FromJSON ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods parseJSON :: Value -> Parser ApplicationFee # parseJSONList :: Value -> Parser [ApplicationFee] # | |
Arguments
| :: ApplicationFeeAccount'Variants | |
| -> Int | |
| -> Int | |
| -> ApplicationFeeApplication'Variants | |
| -> ApplicationFeeCharge'Variants | |
| -> Int | |
| -> Text | |
| -> Text | |
| -> Bool | |
| -> Bool | |
| -> ApplicationFeeRefunds' | |
| -> ApplicationFee |
Create a new ApplicationFee with all required fields.
data ApplicationFeeAccount'Variants Source #
Defines the oneOf schema located at components.schemas.application_fee.properties.account.anyOf in the specification.
ID of the Stripe account this fee was taken from.
Instances
| Eq ApplicationFeeAccount'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee | |
| Show ApplicationFeeAccount'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods showsPrec :: Int -> ApplicationFeeAccount'Variants -> ShowS # show :: ApplicationFeeAccount'Variants -> String # showList :: [ApplicationFeeAccount'Variants] -> ShowS # | |
| ToJSON ApplicationFeeAccount'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee | |
| FromJSON ApplicationFeeAccount'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods parseJSON :: Value -> Parser ApplicationFeeAccount'Variants # parseJSONList :: Value -> Parser [ApplicationFeeAccount'Variants] # | |
data ApplicationFeeApplication'Variants Source #
Defines the oneOf schema located at components.schemas.application_fee.properties.application.anyOf in the specification.
ID of the Connect application that earned the fee.
Instances
data ApplicationFeeBalanceTransaction'Variants Source #
Defines the oneOf schema located at components.schemas.application_fee.properties.balance_transaction.anyOf in the specification.
Balance transaction that describes the impact of this collected application fee on your account balance (not including refunds).
Constructors
| ApplicationFeeBalanceTransaction'Text Text | |
| ApplicationFeeBalanceTransaction'BalanceTransaction BalanceTransaction |
Instances
data ApplicationFeeCharge'Variants Source #
Defines the oneOf schema located at components.schemas.application_fee.properties.charge.anyOf in the specification.
ID of the charge that the application fee was taken from.
Instances
| Eq ApplicationFeeCharge'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee | |
| Show ApplicationFeeCharge'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods showsPrec :: Int -> ApplicationFeeCharge'Variants -> ShowS # show :: ApplicationFeeCharge'Variants -> String # showList :: [ApplicationFeeCharge'Variants] -> ShowS # | |
| ToJSON ApplicationFeeCharge'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods toJSON :: ApplicationFeeCharge'Variants -> Value # toEncoding :: ApplicationFeeCharge'Variants -> Encoding # toJSONList :: [ApplicationFeeCharge'Variants] -> Value # toEncodingList :: [ApplicationFeeCharge'Variants] -> Encoding # | |
| FromJSON ApplicationFeeCharge'Variants Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods parseJSON :: Value -> Parser ApplicationFeeCharge'Variants # parseJSONList :: Value -> Parser [ApplicationFeeCharge'Variants] # | |
data ApplicationFeeOriginatingTransaction'Variants Source #
Defines the oneOf schema located at components.schemas.application_fee.properties.originating_transaction.anyOf in the specification.
ID of the corresponding charge on the platform account, if this fee was the result of a charge using the `destination` parameter.
Constructors
| ApplicationFeeOriginatingTransaction'Text Text | |
| ApplicationFeeOriginatingTransaction'Charge Charge |
Instances
data ApplicationFeeRefunds' Source #
Defines the object schema located at components.schemas.application_fee.properties.refunds in the specification.
A list of refunds that have been applied to the fee.
Constructors
| ApplicationFeeRefunds' | |
Fields
| |
Instances
| Eq ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods (==) :: ApplicationFeeRefunds' -> ApplicationFeeRefunds' -> Bool # (/=) :: ApplicationFeeRefunds' -> ApplicationFeeRefunds' -> Bool # | |
| Show ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods showsPrec :: Int -> ApplicationFeeRefunds' -> ShowS # show :: ApplicationFeeRefunds' -> String # showList :: [ApplicationFeeRefunds'] -> ShowS # | |
| ToJSON ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods toJSON :: ApplicationFeeRefunds' -> Value # toEncoding :: ApplicationFeeRefunds' -> Encoding # toJSONList :: [ApplicationFeeRefunds'] -> Value # | |
| FromJSON ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee Methods parseJSON :: Value -> Parser ApplicationFeeRefunds' # parseJSONList :: Value -> Parser [ApplicationFeeRefunds'] # | |
mkApplicationFeeRefunds' Source #
Arguments
| :: [FeeRefund] | |
| -> Bool | |
| -> Text | |
| -> ApplicationFeeRefunds' |
Create a new ApplicationFeeRefunds' with all required fields.