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

RecurlyClient.Types.CreditPayment

Description

Contains the types generated from the schema CreditPayment

Synopsis

Documentation

data CreditPayment Source #

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

Constructors

CreditPayment 

Fields

mkCreditPayment :: CreditPayment Source #

Create a new CreditPayment with all required fields.

data CreditPaymentAction Source #

Defines the enum schema located at components.schemas.CreditPayment.properties.action in the specification.

The action for which the credit was created.

Constructors

CreditPaymentActionOther Value

This case is used if the value encountered during decoding does not match any of the provided cases in the specification.

CreditPaymentActionTyped Text

This constructor can be used to send values to the server which are not present in the specification yet.

CreditPaymentActionEnumPayment

Represents the JSON value "payment"

CreditPaymentActionEnumReduction

Represents the JSON value "reduction"

CreditPaymentActionEnumRefund

Represents the JSON value "refund"

CreditPaymentActionEnumWrite_off

Represents the JSON value "write_off"