recurly-client-0.0.0.1: Client for Recurly subscription management
Safe HaskellSafe-Inferred
LanguageHaskell2010

RecurlyClient.Types.Transaction

Description

Contains the types generated from the schema Transaction

Synopsis

Documentation

data Transaction Source #

Defines the object schema located at components.schemas.Transaction in the specification.

Constructors

Transaction 

Fields

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 A

TransactionAvs_checkEnumB

Represents the JSON value B

TransactionAvs_checkEnumC

Represents the JSON value C

TransactionAvs_checkEnumD

Represents the JSON value D

TransactionAvs_checkEnumE

Represents the JSON value E

TransactionAvs_checkEnumF

Represents the JSON value F

TransactionAvs_checkEnumG

Represents the JSON value G

TransactionAvs_checkEnumH

Represents the JSON value H

TransactionAvs_checkEnumI

Represents the JSON value I

TransactionAvs_checkEnumJ

Represents the JSON value J

TransactionAvs_checkEnumK

Represents the JSON value K

TransactionAvs_checkEnumL

Represents the JSON value L

TransactionAvs_checkEnumM

Represents the JSON value M

TransactionAvs_checkEnumN

Represents the JSON value N

TransactionAvs_checkEnumO

Represents the JSON value O

TransactionAvs_checkEnumP

Represents the JSON value P

TransactionAvs_checkEnumQ

Represents the JSON value Q

TransactionAvs_checkEnumR

Represents the JSON value R

TransactionAvs_checkEnumS

Represents the JSON value S

TransactionAvs_checkEnumT

Represents the JSON value T

TransactionAvs_checkEnumU

Represents the JSON value U

TransactionAvs_checkEnumV

Represents the JSON value V

TransactionAvs_checkEnumW

Represents the JSON value W

TransactionAvs_checkEnumX

Represents the JSON value X

TransactionAvs_checkEnumY

Represents the JSON value Y

TransactionAvs_checkEnumZ

Represents the JSON value Z

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 "automatic"

TransactionCollection_methodEnumManual

Represents the JSON value "manual"

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 D

TransactionCvv_checkEnumI

Represents the JSON value I

TransactionCvv_checkEnumM

Represents the JSON value M

TransactionCvv_checkEnumN

Represents the JSON value N

TransactionCvv_checkEnumP

Represents the JSON value P

TransactionCvv_checkEnumS

Represents the JSON value S

TransactionCvv_checkEnumU

Represents the JSON value U

TransactionCvv_checkEnumX

Represents the JSON value X

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 "api"

TransactionOriginEnumChargeback

Represents the JSON value "chargeback"

TransactionOriginEnumExternal_recovery

Represents the JSON value "external_recovery"

TransactionOriginEnumForce_collect

Represents the JSON value "force_collect"

TransactionOriginEnumHpp

Represents the JSON value "hpp"

TransactionOriginEnumMerchant

Represents the JSON value "merchant"

TransactionOriginEnumRecurly_admin

Represents the JSON value "recurly_admin"

TransactionOriginEnumRecurlyjs

Represents the JSON value "recurlyjs"

TransactionOriginEnumRecurring

Represents the JSON value "recurring"

TransactionOriginEnumRefunded_externally

Represents the JSON value "refunded_externally"

TransactionOriginEnumTransparent

Represents the JSON value "transparent"

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 "chargeback"

TransactionStatusEnumDeclined

Represents the JSON value "declined"

TransactionStatusEnumError

Represents the JSON value "error"

TransactionStatusEnumPending

Represents the JSON value "pending"

TransactionStatusEnumProcessing

Represents the JSON value "processing"

TransactionStatusEnumScheduled

Represents the JSON value "scheduled"

TransactionStatusEnumSuccess

Represents the JSON value "success"

TransactionStatusEnumVoid

Represents the JSON value "void"

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 "authorization"

TransactionTypeEnumCapture

Represents the JSON value "capture"

TransactionTypeEnumPurchase

Represents the JSON value "purchase"

TransactionTypeEnumRefund

Represents the JSON value "refund"

TransactionTypeEnumVerify

Represents the JSON value "verify"