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

RecurlyClient.Types.CustomFieldDefinition

Description

Contains the types generated from the schema CustomFieldDefinition

Synopsis

Documentation

data CustomFieldDefinition Source #

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

Constructors

CustomFieldDefinition 

Fields

data CustomFieldDefinitionRelated_type Source #

Defines the enum schema located at components.schemas.CustomFieldDefinition.properties.related_type in the specification.

Constructors

CustomFieldDefinitionRelated_typeOther Value

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

CustomFieldDefinitionRelated_typeTyped Text

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

CustomFieldDefinitionRelated_typeEnumAccount

Represents the JSON value "account"

CustomFieldDefinitionRelated_typeEnumItem

Represents the JSON value "item"

CustomFieldDefinitionRelated_typeEnumPlan

Represents the JSON value "plan"

CustomFieldDefinitionRelated_typeEnumSubscription

Represents the JSON value "subscription"

CustomFieldDefinitionRelated_typeEnumCharge

Represents the JSON value "charge"

data CustomFieldDefinitionUser_access Source #

Defines the enum schema located at components.schemas.CustomFieldDefinition.properties.user_access in the specification.

The access control applied inside Recurly's admin UI: - `api_only` - No one will be able to view or edit this field's data via the admin UI. - `read_only` - Users with the Customers role will be able to view this field's data via the admin UI, but editing will only be available via the API. - `write` - Users with the Customers role will be able to view and edit this field's data via the admin UI. - `set_only` - Users with the Customers role will be able to set this field's data via the admin console.

Constructors

CustomFieldDefinitionUser_accessOther Value

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

CustomFieldDefinitionUser_accessTyped Text

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

CustomFieldDefinitionUser_accessEnumApi_only

Represents the JSON value "api_only"

CustomFieldDefinitionUser_accessEnumRead_only

Represents the JSON value "read_only"

CustomFieldDefinitionUser_accessEnumWrite

Represents the JSON value "write"

CustomFieldDefinitionUser_accessEnumSet_only

Represents the JSON value "set_only"