Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.SubscriptionPurchase
Description
Contains the types generated from the schema SubscriptionPurchase
Synopsis
- data SubscriptionPurchase = SubscriptionPurchase {
- subscriptionPurchaseAdd_ons :: Maybe [SubscriptionAddOnCreate]
- subscriptionPurchaseAuto_renew :: Maybe Bool
- subscriptionPurchaseBulk :: Maybe Bool
- subscriptionPurchaseCustom_fields :: Maybe CustomFields
- subscriptionPurchaseNext_bill_date :: Maybe JsonDateTime
- subscriptionPurchasePlan_code :: Text
- subscriptionPurchasePlan_id :: Maybe Text
- subscriptionPurchaseQuantity :: Maybe Int
- subscriptionPurchaseRamp_intervals :: Maybe [SubscriptionRampInterval]
- subscriptionPurchaseRenewal_billing_cycles :: Maybe Int
- subscriptionPurchaseRevenue_schedule_type :: Maybe SubscriptionPurchaseRevenue_schedule_type
- subscriptionPurchaseShipping :: Maybe SubscriptionShippingPurchase
- subscriptionPurchaseStarts_at :: Maybe JsonDateTime
- subscriptionPurchaseTax_inclusive :: Maybe Bool
- subscriptionPurchaseTotal_billing_cycles :: Maybe Int
- subscriptionPurchaseTrial_ends_at :: Maybe JsonDateTime
- subscriptionPurchaseUnit_amount :: Maybe Float
- mkSubscriptionPurchase :: Text -> SubscriptionPurchase
- data SubscriptionPurchaseRevenue_schedule_type
- = SubscriptionPurchaseRevenue_schedule_typeOther Value
- | SubscriptionPurchaseRevenue_schedule_typeTyped Text
- | SubscriptionPurchaseRevenue_schedule_typeEnumAt_range_end
- | SubscriptionPurchaseRevenue_schedule_typeEnumAt_range_start
- | SubscriptionPurchaseRevenue_schedule_typeEnumEvenly
- | SubscriptionPurchaseRevenue_schedule_typeEnumNever
Documentation
data SubscriptionPurchase Source #
Defines the object schema located at components.schemas.SubscriptionPurchase
in the specification.
Constructors
SubscriptionPurchase | |
Fields
|
Instances
FromJSON SubscriptionPurchase Source # | |
Defined in RecurlyClient.Types.SubscriptionPurchase Methods parseJSON :: Value -> Parser SubscriptionPurchase # parseJSONList :: Value -> Parser [SubscriptionPurchase] # | |
ToJSON SubscriptionPurchase Source # | |
Defined in RecurlyClient.Types.SubscriptionPurchase Methods toJSON :: SubscriptionPurchase -> Value # toEncoding :: SubscriptionPurchase -> Encoding # toJSONList :: [SubscriptionPurchase] -> Value # toEncodingList :: [SubscriptionPurchase] -> Encoding # | |
Show SubscriptionPurchase Source # | |
Defined in RecurlyClient.Types.SubscriptionPurchase Methods showsPrec :: Int -> SubscriptionPurchase -> ShowS # show :: SubscriptionPurchase -> String # showList :: [SubscriptionPurchase] -> ShowS # | |
Eq SubscriptionPurchase Source # | |
Defined in RecurlyClient.Types.SubscriptionPurchase Methods (==) :: SubscriptionPurchase -> SubscriptionPurchase -> Bool # (/=) :: SubscriptionPurchase -> SubscriptionPurchase -> Bool # |
mkSubscriptionPurchase Source #
Arguments
:: Text | |
-> SubscriptionPurchase |
Create a new SubscriptionPurchase
with all required fields.
data SubscriptionPurchaseRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.SubscriptionPurchase.properties.revenue_schedule_type
in the specification.
Constructors
SubscriptionPurchaseRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionPurchaseRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionPurchaseRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
SubscriptionPurchaseRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
SubscriptionPurchaseRevenue_schedule_typeEnumEvenly | Represents the JSON value |
SubscriptionPurchaseRevenue_schedule_typeEnumNever | Represents the JSON value |