Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.SubscriptionChange
Description
Contains the types generated from the schema SubscriptionChange
Synopsis
- data SubscriptionChange = SubscriptionChange {
- subscriptionChangeActivate_at :: Maybe JsonDateTime
- subscriptionChangeActivated :: Maybe Bool
- subscriptionChangeAdd_ons :: Maybe [SubscriptionAddOn]
- subscriptionChangeBilling_info :: Maybe SubscriptionChangeBillingInfo
- subscriptionChangeBusiness_entity :: Maybe BusinessEntityMini
- subscriptionChangeCreated_at :: Maybe JsonDateTime
- subscriptionChangeCustom_fields :: Maybe CustomFields
- subscriptionChangeDeleted_at :: Maybe JsonDateTime
- subscriptionChangeId :: Maybe Text
- subscriptionChangeInvoice_collection :: Maybe InvoiceCollection
- subscriptionChangeObject :: Maybe Text
- subscriptionChangePlan :: Maybe PlanMini
- subscriptionChangeQuantity :: Maybe Int
- subscriptionChangeRamp_intervals :: Maybe [SubscriptionRampIntervalResponse]
- subscriptionChangeRevenue_schedule_type :: Maybe SubscriptionChangeRevenue_schedule_type
- subscriptionChangeShipping :: Maybe SubscriptionShipping
- subscriptionChangeSubscription_id :: Maybe Text
- subscriptionChangeTax_inclusive :: Maybe Bool
- subscriptionChangeUnit_amount :: Maybe Float
- subscriptionChangeUpdated_at :: Maybe JsonDateTime
- mkSubscriptionChange :: SubscriptionChange
- data SubscriptionChangeRevenue_schedule_type
- = SubscriptionChangeRevenue_schedule_typeOther Value
- | SubscriptionChangeRevenue_schedule_typeTyped Text
- | SubscriptionChangeRevenue_schedule_typeEnumAt_range_end
- | SubscriptionChangeRevenue_schedule_typeEnumAt_range_start
- | SubscriptionChangeRevenue_schedule_typeEnumEvenly
- | SubscriptionChangeRevenue_schedule_typeEnumNever
Documentation
data SubscriptionChange Source #
Defines the object schema located at components.schemas.SubscriptionChange
in the specification.
Constructors
SubscriptionChange | |
Fields
|
Instances
FromJSON SubscriptionChange Source # | |
Defined in RecurlyClient.Types.SubscriptionChange Methods parseJSON :: Value -> Parser SubscriptionChange # parseJSONList :: Value -> Parser [SubscriptionChange] # | |
ToJSON SubscriptionChange Source # | |
Defined in RecurlyClient.Types.SubscriptionChange Methods toJSON :: SubscriptionChange -> Value # toEncoding :: SubscriptionChange -> Encoding # toJSONList :: [SubscriptionChange] -> Value # toEncodingList :: [SubscriptionChange] -> Encoding # | |
Show SubscriptionChange Source # | |
Defined in RecurlyClient.Types.SubscriptionChange Methods showsPrec :: Int -> SubscriptionChange -> ShowS # show :: SubscriptionChange -> String # showList :: [SubscriptionChange] -> ShowS # | |
Eq SubscriptionChange Source # | |
Defined in RecurlyClient.Types.SubscriptionChange Methods (==) :: SubscriptionChange -> SubscriptionChange -> Bool # (/=) :: SubscriptionChange -> SubscriptionChange -> Bool # |
mkSubscriptionChange :: SubscriptionChange Source #
Create a new SubscriptionChange
with all required fields.
data SubscriptionChangeRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.SubscriptionChange.properties.revenue_schedule_type
in the specification.
Constructors
SubscriptionChangeRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
SubscriptionChangeRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
SubscriptionChangeRevenue_schedule_typeEnumEvenly | Represents the JSON value |
SubscriptionChangeRevenue_schedule_typeEnumNever | Represents the JSON value |