Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
ApplicationFee | |
|
Instances
Eq ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee (==) :: ApplicationFee -> ApplicationFee -> Bool # (/=) :: ApplicationFee -> ApplicationFee -> Bool # | |
Show ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee showsPrec :: Int -> ApplicationFee -> ShowS # show :: ApplicationFee -> String # showList :: [ApplicationFee] -> ShowS # | |
ToJSON ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee toJSON :: ApplicationFee -> Value # toEncoding :: ApplicationFee -> Encoding # toJSONList :: [ApplicationFee] -> Value # toEncodingList :: [ApplicationFee] -> Encoding # | |
FromJSON ApplicationFee Source # | |
Defined in StripeAPI.Types.ApplicationFee parseJSON :: Value -> Parser ApplicationFee # parseJSONList :: Value -> Parser [ApplicationFee] # |
:: 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.
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.
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).
ApplicationFeeBalanceTransaction'Text Text | |
ApplicationFeeBalanceTransaction'BalanceTransaction BalanceTransaction |
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
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.
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.
ApplicationFeeRefunds' | |
|
Instances
Eq ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee | |
Show ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee showsPrec :: Int -> ApplicationFeeRefunds' -> ShowS # show :: ApplicationFeeRefunds' -> String # showList :: [ApplicationFeeRefunds'] -> ShowS # | |
ToJSON ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee toJSON :: ApplicationFeeRefunds' -> Value # toEncoding :: ApplicationFeeRefunds' -> Encoding # toJSONList :: [ApplicationFeeRefunds'] -> Value # | |
FromJSON ApplicationFeeRefunds' Source # | |
Defined in StripeAPI.Types.ApplicationFee |
mkApplicationFeeRefunds' Source #
:: [FeeRefund] | |
-> Bool | |
-> Text | |
-> ApplicationFeeRefunds' |
Create a new ApplicationFeeRefunds'
with all required fields.