Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema SourceTransaction
Synopsis
- data SourceTransaction = SourceTransaction {
- sourceTransactionAchCreditTransfer :: Maybe SourceTransactionAchCreditTransferData
- sourceTransactionAmount :: Integer
- sourceTransactionChfCreditTransfer :: Maybe SourceTransactionChfCreditTransferData
- sourceTransactionCreated :: Integer
- sourceTransactionCurrency :: String
- sourceTransactionGbpCreditTransfer :: Maybe SourceTransactionGbpCreditTransferData
- sourceTransactionId :: String
- sourceTransactionLivemode :: Bool
- sourceTransactionObject :: SourceTransactionObject'
- sourceTransactionPaperCheck :: Maybe SourceTransactionPaperCheckData
- sourceTransactionSepaCreditTransfer :: Maybe SourceTransactionSepaCreditTransferData
- sourceTransactionSource :: String
- sourceTransactionStatus :: String
- sourceTransactionType :: SourceTransactionType'
- data SourceTransactionObject'
- data SourceTransactionType'
- = SourceTransactionType'EnumOther Value
- | SourceTransactionType'EnumTyped String
- | SourceTransactionType'EnumStringAchCreditTransfer
- | SourceTransactionType'EnumStringAchDebit
- | SourceTransactionType'EnumStringAlipay
- | SourceTransactionType'EnumStringBancontact
- | SourceTransactionType'EnumStringCard
- | SourceTransactionType'EnumStringCardPresent
- | SourceTransactionType'EnumStringEps
- | SourceTransactionType'EnumStringGiropay
- | SourceTransactionType'EnumStringIdeal
- | SourceTransactionType'EnumStringKlarna
- | SourceTransactionType'EnumStringMultibanco
- | SourceTransactionType'EnumStringP24
- | SourceTransactionType'EnumStringSepaDebit
- | SourceTransactionType'EnumStringSofort
- | SourceTransactionType'EnumStringThreeDSecure
- | SourceTransactionType'EnumStringWechat
Documentation
data SourceTransaction Source #
Defines the data type for the schema source_transaction
Some payment methods have no required amount that a customer must send. Customers can be instructed to send any amount, and it can be made up of multiple transactions. As such, sources can have multiple associated transactions.
SourceTransaction | |
|
Instances
Eq SourceTransaction Source # | |
Defined in StripeAPI.Types.SourceTransaction (==) :: SourceTransaction -> SourceTransaction -> Bool # (/=) :: SourceTransaction -> SourceTransaction -> Bool # | |
Show SourceTransaction Source # | |
Defined in StripeAPI.Types.SourceTransaction showsPrec :: Int -> SourceTransaction -> ShowS # show :: SourceTransaction -> String # showList :: [SourceTransaction] -> ShowS # | |
ToJSON SourceTransaction Source # | |
Defined in StripeAPI.Types.SourceTransaction toJSON :: SourceTransaction -> Value # toEncoding :: SourceTransaction -> Encoding # toJSONList :: [SourceTransaction] -> Value # toEncodingList :: [SourceTransaction] -> Encoding # | |
FromJSON SourceTransaction Source # | |
Defined in StripeAPI.Types.SourceTransaction parseJSON :: Value -> Parser SourceTransaction # parseJSONList :: Value -> Parser [SourceTransaction] # |
data SourceTransactionObject' Source #
Defines the enum schema source_transactionObject'
String representing the object's type. Objects of the same type share the same value.
SourceTransactionObject'EnumOther Value | |
SourceTransactionObject'EnumTyped String | |
SourceTransactionObject'EnumStringSourceTransaction |
Instances
data SourceTransactionType' Source #
Defines the enum schema source_transactionType'
The type of source this transaction is attached to.
Instances
Eq SourceTransactionType' Source # | |
Defined in StripeAPI.Types.SourceTransaction | |
Show SourceTransactionType' Source # | |
Defined in StripeAPI.Types.SourceTransaction showsPrec :: Int -> SourceTransactionType' -> ShowS # show :: SourceTransactionType' -> String # showList :: [SourceTransactionType'] -> ShowS # | |
ToJSON SourceTransactionType' Source # | |
Defined in StripeAPI.Types.SourceTransaction toJSON :: SourceTransactionType' -> Value # toEncoding :: SourceTransactionType' -> Encoding # toJSONList :: [SourceTransactionType'] -> Value # | |
FromJSON SourceTransactionType' Source # | |
Defined in StripeAPI.Types.SourceTransaction |