Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.Transaction
Description
Contains the types generated from the schema Transaction
Synopsis
- data Transaction = Transaction {
- transactionAccount :: Maybe AccountMini
- transactionAction_result :: Maybe Object
- transactionAmount :: Maybe Float
- transactionAvs_check :: Maybe TransactionAvs_check
- transactionBackup_payment_method_used :: Maybe Bool
- transactionBilling_address :: Maybe AddressWithName
- transactionCollected_at :: Maybe JsonDateTime
- transactionCollection_method :: Maybe TransactionCollection_method
- transactionCreated_at :: Maybe JsonDateTime
- transactionCurrency :: Maybe Text
- transactionCustomer_message :: Maybe Text
- transactionCustomer_message_locale :: Maybe Text
- transactionCvv_check :: Maybe TransactionCvv_check
- transactionFraud_info :: Maybe TransactionFraudInfo
- transactionGateway_approval_code :: Maybe Text
- transactionGateway_message :: Maybe Text
- transactionGateway_reference :: Maybe Text
- transactionGateway_response_code :: Maybe Text
- transactionGateway_response_time :: Maybe Float
- transactionGateway_response_values :: Maybe Object
- transactionId :: Maybe Text
- transactionInvoice :: Maybe InvoiceMini
- transactionIp_address_country :: Maybe Text
- transactionIp_address_v4 :: Maybe Text
- transactionObject :: Maybe Text
- transactionOrigin :: Maybe TransactionOrigin
- transactionOriginal_transaction_id :: Maybe Text
- transactionPayment_gateway :: Maybe TransactionPayment_gateway
- transactionPayment_method :: Maybe PaymentMethod
- transactionRefunded :: Maybe Bool
- transactionStatus :: Maybe TransactionStatus
- transactionStatus_code :: Maybe Text
- transactionStatus_message :: Maybe Text
- transactionSubscription_ids :: Maybe [Text]
- transactionSuccess :: Maybe Bool
- transactionType :: Maybe TransactionType
- transactionUpdated_at :: Maybe JsonDateTime
- transactionUuid :: Maybe Text
- transactionVat_number :: Maybe Text
- transactionVoided_at :: Maybe JsonDateTime
- transactionVoided_by_invoice :: Maybe InvoiceMini
- mkTransaction :: Transaction
- data TransactionAvs_check
- = TransactionAvs_checkOther Value
- | TransactionAvs_checkTyped Text
- | TransactionAvs_checkEnumA
- | TransactionAvs_checkEnumB
- | TransactionAvs_checkEnumC
- | TransactionAvs_checkEnumD
- | TransactionAvs_checkEnumE
- | TransactionAvs_checkEnumF
- | TransactionAvs_checkEnumG
- | TransactionAvs_checkEnumH
- | TransactionAvs_checkEnumI
- | TransactionAvs_checkEnumJ
- | TransactionAvs_checkEnumK
- | TransactionAvs_checkEnumL
- | TransactionAvs_checkEnumM
- | TransactionAvs_checkEnumN
- | TransactionAvs_checkEnumO
- | TransactionAvs_checkEnumP
- | TransactionAvs_checkEnumQ
- | TransactionAvs_checkEnumR
- | TransactionAvs_checkEnumS
- | TransactionAvs_checkEnumT
- | TransactionAvs_checkEnumU
- | TransactionAvs_checkEnumV
- | TransactionAvs_checkEnumW
- | TransactionAvs_checkEnumX
- | TransactionAvs_checkEnumY
- | TransactionAvs_checkEnumZ
- data TransactionCollection_method
- data TransactionCvv_check
- data TransactionOrigin
- = TransactionOriginOther Value
- | TransactionOriginTyped Text
- | TransactionOriginEnumApi
- | TransactionOriginEnumChargeback
- | TransactionOriginEnumExternal_recovery
- | TransactionOriginEnumForce_collect
- | TransactionOriginEnumHpp
- | TransactionOriginEnumMerchant
- | TransactionOriginEnumRecurly_admin
- | TransactionOriginEnumRecurlyjs
- | TransactionOriginEnumRecurring
- | TransactionOriginEnumRefunded_externally
- | TransactionOriginEnumTransparent
- data TransactionPayment_gateway = TransactionPayment_gateway {}
- mkTransactionPayment_gateway :: TransactionPayment_gateway
- data TransactionStatus
- = TransactionStatusOther Value
- | TransactionStatusTyped Text
- | TransactionStatusEnumChargeback
- | TransactionStatusEnumDeclined
- | TransactionStatusEnumError
- | TransactionStatusEnumPending
- | TransactionStatusEnumProcessing
- | TransactionStatusEnumScheduled
- | TransactionStatusEnumSuccess
- | TransactionStatusEnumVoid
- data TransactionType
Documentation
data Transaction Source #
Defines the object schema located at components.schemas.Transaction
in the specification.
Constructors
Transaction | |
Fields
|
Instances
FromJSON Transaction Source # | |
Defined in RecurlyClient.Types.Transaction | |
ToJSON Transaction Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: Transaction -> Value # toEncoding :: Transaction -> Encoding # toJSONList :: [Transaction] -> Value # toEncodingList :: [Transaction] -> Encoding # | |
Show Transaction Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> Transaction -> ShowS # show :: Transaction -> String # showList :: [Transaction] -> ShowS # | |
Eq Transaction Source # | |
Defined in RecurlyClient.Types.Transaction |
mkTransaction :: Transaction Source #
Create a new Transaction
with all required fields.
data TransactionAvs_check Source #
Defines the enum schema located at components.schemas.Transaction.properties.avs_check
in the specification.
When processed, result from checking the overall AVS on the transaction.
Constructors
TransactionAvs_checkOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionAvs_checkTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionAvs_checkEnumA | Represents the JSON value |
TransactionAvs_checkEnumB | Represents the JSON value |
TransactionAvs_checkEnumC | Represents the JSON value |
TransactionAvs_checkEnumD | Represents the JSON value |
TransactionAvs_checkEnumE | Represents the JSON value |
TransactionAvs_checkEnumF | Represents the JSON value |
TransactionAvs_checkEnumG | Represents the JSON value |
TransactionAvs_checkEnumH | Represents the JSON value |
TransactionAvs_checkEnumI | Represents the JSON value |
TransactionAvs_checkEnumJ | Represents the JSON value |
TransactionAvs_checkEnumK | Represents the JSON value |
TransactionAvs_checkEnumL | Represents the JSON value |
TransactionAvs_checkEnumM | Represents the JSON value |
TransactionAvs_checkEnumN | Represents the JSON value |
TransactionAvs_checkEnumO | Represents the JSON value |
TransactionAvs_checkEnumP | Represents the JSON value |
TransactionAvs_checkEnumQ | Represents the JSON value |
TransactionAvs_checkEnumR | Represents the JSON value |
TransactionAvs_checkEnumS | Represents the JSON value |
TransactionAvs_checkEnumT | Represents the JSON value |
TransactionAvs_checkEnumU | Represents the JSON value |
TransactionAvs_checkEnumV | Represents the JSON value |
TransactionAvs_checkEnumW | Represents the JSON value |
TransactionAvs_checkEnumX | Represents the JSON value |
TransactionAvs_checkEnumY | Represents the JSON value |
TransactionAvs_checkEnumZ | Represents the JSON value |
Instances
FromJSON TransactionAvs_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods parseJSON :: Value -> Parser TransactionAvs_check # parseJSONList :: Value -> Parser [TransactionAvs_check] # | |
ToJSON TransactionAvs_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: TransactionAvs_check -> Value # toEncoding :: TransactionAvs_check -> Encoding # toJSONList :: [TransactionAvs_check] -> Value # toEncodingList :: [TransactionAvs_check] -> Encoding # | |
Show TransactionAvs_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> TransactionAvs_check -> ShowS # show :: TransactionAvs_check -> String # showList :: [TransactionAvs_check] -> ShowS # | |
Eq TransactionAvs_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods (==) :: TransactionAvs_check -> TransactionAvs_check -> Bool # (/=) :: TransactionAvs_check -> TransactionAvs_check -> Bool # |
data TransactionCollection_method Source #
Defines the enum schema located at components.schemas.Transaction.properties.collection_method
in the specification.
The method by which the payment was collected.
Constructors
TransactionCollection_methodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionCollection_methodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionCollection_methodEnumAutomatic | Represents the JSON value |
TransactionCollection_methodEnumManual | Represents the JSON value |
Instances
data TransactionCvv_check Source #
Defines the enum schema located at components.schemas.Transaction.properties.cvv_check
in the specification.
When processed, result from checking the CVV/CVC value on the transaction.
Constructors
TransactionCvv_checkOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionCvv_checkTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionCvv_checkEnumD | Represents the JSON value |
TransactionCvv_checkEnumI | Represents the JSON value |
TransactionCvv_checkEnumM | Represents the JSON value |
TransactionCvv_checkEnumN | Represents the JSON value |
TransactionCvv_checkEnumP | Represents the JSON value |
TransactionCvv_checkEnumS | Represents the JSON value |
TransactionCvv_checkEnumU | Represents the JSON value |
TransactionCvv_checkEnumX | Represents the JSON value |
Instances
FromJSON TransactionCvv_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods parseJSON :: Value -> Parser TransactionCvv_check # parseJSONList :: Value -> Parser [TransactionCvv_check] # | |
ToJSON TransactionCvv_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: TransactionCvv_check -> Value # toEncoding :: TransactionCvv_check -> Encoding # toJSONList :: [TransactionCvv_check] -> Value # toEncodingList :: [TransactionCvv_check] -> Encoding # | |
Show TransactionCvv_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> TransactionCvv_check -> ShowS # show :: TransactionCvv_check -> String # showList :: [TransactionCvv_check] -> ShowS # | |
Eq TransactionCvv_check Source # | |
Defined in RecurlyClient.Types.Transaction Methods (==) :: TransactionCvv_check -> TransactionCvv_check -> Bool # (/=) :: TransactionCvv_check -> TransactionCvv_check -> Bool # |
data TransactionOrigin Source #
Defines the enum schema located at components.schemas.Transaction.properties.origin
in the specification.
Describes how the transaction was triggered.
Constructors
TransactionOriginOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionOriginTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionOriginEnumApi | Represents the JSON value |
TransactionOriginEnumChargeback | Represents the JSON value |
TransactionOriginEnumExternal_recovery | Represents the JSON value |
TransactionOriginEnumForce_collect | Represents the JSON value |
TransactionOriginEnumHpp | Represents the JSON value |
TransactionOriginEnumMerchant | Represents the JSON value |
TransactionOriginEnumRecurly_admin | Represents the JSON value |
TransactionOriginEnumRecurlyjs | Represents the JSON value |
TransactionOriginEnumRecurring | Represents the JSON value |
TransactionOriginEnumRefunded_externally | Represents the JSON value |
TransactionOriginEnumTransparent | Represents the JSON value |
Instances
FromJSON TransactionOrigin Source # | |
Defined in RecurlyClient.Types.Transaction Methods parseJSON :: Value -> Parser TransactionOrigin # parseJSONList :: Value -> Parser [TransactionOrigin] # | |
ToJSON TransactionOrigin Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: TransactionOrigin -> Value # toEncoding :: TransactionOrigin -> Encoding # toJSONList :: [TransactionOrigin] -> Value # toEncodingList :: [TransactionOrigin] -> Encoding # | |
Show TransactionOrigin Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> TransactionOrigin -> ShowS # show :: TransactionOrigin -> String # showList :: [TransactionOrigin] -> ShowS # | |
Eq TransactionOrigin Source # | |
Defined in RecurlyClient.Types.Transaction Methods (==) :: TransactionOrigin -> TransactionOrigin -> Bool # (/=) :: TransactionOrigin -> TransactionOrigin -> Bool # |
data TransactionPayment_gateway Source #
Defines the object schema located at components.schemas.Transaction.properties.payment_gateway
in the specification.
Constructors
TransactionPayment_gateway | |
Fields |
Instances
mkTransactionPayment_gateway :: TransactionPayment_gateway Source #
Create a new TransactionPayment_gateway
with all required fields.
data TransactionStatus Source #
Defines the enum schema located at components.schemas.Transaction.properties.status
in the specification.
The current transaction status. Note that the status may change, e.g. a `pending` transaction may become `declined` or `success` may later become `void`.
Constructors
TransactionStatusOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionStatusTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionStatusEnumChargeback | Represents the JSON value |
TransactionStatusEnumDeclined | Represents the JSON value |
TransactionStatusEnumError | Represents the JSON value |
TransactionStatusEnumPending | Represents the JSON value |
TransactionStatusEnumProcessing | Represents the JSON value |
TransactionStatusEnumScheduled | Represents the JSON value |
TransactionStatusEnumSuccess | Represents the JSON value |
TransactionStatusEnumVoid | Represents the JSON value |
Instances
FromJSON TransactionStatus Source # | |
Defined in RecurlyClient.Types.Transaction Methods parseJSON :: Value -> Parser TransactionStatus # parseJSONList :: Value -> Parser [TransactionStatus] # | |
ToJSON TransactionStatus Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: TransactionStatus -> Value # toEncoding :: TransactionStatus -> Encoding # toJSONList :: [TransactionStatus] -> Value # toEncodingList :: [TransactionStatus] -> Encoding # | |
Show TransactionStatus Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> TransactionStatus -> ShowS # show :: TransactionStatus -> String # showList :: [TransactionStatus] -> ShowS # | |
Eq TransactionStatus Source # | |
Defined in RecurlyClient.Types.Transaction Methods (==) :: TransactionStatus -> TransactionStatus -> Bool # (/=) :: TransactionStatus -> TransactionStatus -> Bool # |
data TransactionType Source #
Defines the enum schema located at components.schemas.Transaction.properties.type
in the specification.
- `authorization` – verifies billing information and places a hold on money in the customer's account.
- `capture` – captures funds held by an authorization and completes a purchase.
- `purchase` – combines the authorization and capture in one transaction.
- `refund` – returns all or a portion of the money collected in a previous transaction to the customer.
- `verify` – a $0 or $1 transaction used to verify billing information which is immediately voided.
Constructors
TransactionTypeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
TransactionTypeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
TransactionTypeEnumAuthorization | Represents the JSON value |
TransactionTypeEnumCapture | Represents the JSON value |
TransactionTypeEnumPurchase | Represents the JSON value |
TransactionTypeEnumRefund | Represents the JSON value |
TransactionTypeEnumVerify | Represents the JSON value |
Instances
FromJSON TransactionType Source # | |
Defined in RecurlyClient.Types.Transaction Methods parseJSON :: Value -> Parser TransactionType # parseJSONList :: Value -> Parser [TransactionType] # | |
ToJSON TransactionType Source # | |
Defined in RecurlyClient.Types.Transaction Methods toJSON :: TransactionType -> Value # toEncoding :: TransactionType -> Encoding # toJSONList :: [TransactionType] -> Value # toEncodingList :: [TransactionType] -> Encoding # | |
Show TransactionType Source # | |
Defined in RecurlyClient.Types.Transaction Methods showsPrec :: Int -> TransactionType -> ShowS # show :: TransactionType -> String # showList :: [TransactionType] -> ShowS # | |
Eq TransactionType Source # | |
Defined in RecurlyClient.Types.Transaction Methods (==) :: TransactionType -> TransactionType -> Bool # (/=) :: TransactionType -> TransactionType -> Bool # |