| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
RecurlyClient.Types.ExternalInvoice
Description
Contains the types generated from the schema ExternalInvoice
Synopsis
- data ExternalInvoice = ExternalInvoice {
- externalInvoiceAccount :: Maybe AccountMini
- externalInvoiceCreated_at :: Maybe JsonDateTime
- externalInvoiceCurrency :: Maybe Text
- externalInvoiceExternal_id :: Maybe Text
- externalInvoiceExternal_subscription :: Maybe ExternalSubscription
- externalInvoiceId :: Maybe Text
- externalInvoiceLine_items :: Maybe [ExternalCharge]
- externalInvoiceObject :: Maybe Text
- externalInvoicePurchased_at :: Maybe JsonDateTime
- externalInvoiceState :: Maybe ExternalInvoiceState
- externalInvoiceTotal :: Maybe Text
- externalInvoiceUpdated_at :: Maybe JsonDateTime
- mkExternalInvoice :: ExternalInvoice
- data ExternalInvoiceState
Documentation
data ExternalInvoice Source #
Defines the object schema located at components.schemas.ExternalInvoice in the specification.
Invoice from an external resource such as Apple App Store or Google Play Store.
Constructors
| ExternalInvoice | |
Fields
| |
Instances
| FromJSON ExternalInvoice Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods parseJSON :: Value -> Parser ExternalInvoice # parseJSONList :: Value -> Parser [ExternalInvoice] # | |
| ToJSON ExternalInvoice Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods toJSON :: ExternalInvoice -> Value # toEncoding :: ExternalInvoice -> Encoding # toJSONList :: [ExternalInvoice] -> Value # toEncodingList :: [ExternalInvoice] -> Encoding # | |
| Show ExternalInvoice Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods showsPrec :: Int -> ExternalInvoice -> ShowS # show :: ExternalInvoice -> String # showList :: [ExternalInvoice] -> ShowS # | |
| Eq ExternalInvoice Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods (==) :: ExternalInvoice -> ExternalInvoice -> Bool # (/=) :: ExternalInvoice -> ExternalInvoice -> Bool # | |
mkExternalInvoice :: ExternalInvoice Source #
Create a new ExternalInvoice with all required fields.
data ExternalInvoiceState Source #
Defines the enum schema located at components.schemas.ExternalInvoice.properties.state in the specification.
Constructors
| ExternalInvoiceStateOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
| ExternalInvoiceStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
| ExternalInvoiceStateEnumPaid | Represents the JSON value |
Instances
| FromJSON ExternalInvoiceState Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods parseJSON :: Value -> Parser ExternalInvoiceState # parseJSONList :: Value -> Parser [ExternalInvoiceState] # | |
| ToJSON ExternalInvoiceState Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods toJSON :: ExternalInvoiceState -> Value # toEncoding :: ExternalInvoiceState -> Encoding # toJSONList :: [ExternalInvoiceState] -> Value # toEncodingList :: [ExternalInvoiceState] -> Encoding # | |
| Show ExternalInvoiceState Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods showsPrec :: Int -> ExternalInvoiceState -> ShowS # show :: ExternalInvoiceState -> String # showList :: [ExternalInvoiceState] -> ShowS # | |
| Eq ExternalInvoiceState Source # | |
Defined in RecurlyClient.Types.ExternalInvoice Methods (==) :: ExternalInvoiceState -> ExternalInvoiceState -> Bool # (/=) :: ExternalInvoiceState -> ExternalInvoiceState -> Bool # | |