Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.SubscriptionChangeCreate
Description
Contains the types generated from the schema SubscriptionChangeCreate
Synopsis
- data SubscriptionChangeCreate = SubscriptionChangeCreate {
- subscriptionChangeCreateAdd_ons :: Maybe [SubscriptionAddOnUpdate]
- subscriptionChangeCreateBilling_info :: Maybe SubscriptionChangeBillingInfoCreate
- subscriptionChangeCreateBusiness_entity_code :: Maybe Text
- subscriptionChangeCreateBusiness_entity_id :: Maybe Text
- subscriptionChangeCreateCollection_method :: Maybe SubscriptionChangeCreateCollection_method
- subscriptionChangeCreateCoupon_codes :: Maybe [Text]
- subscriptionChangeCreateCustom_fields :: Maybe CustomFields
- subscriptionChangeCreateNet_terms :: Maybe Int
- subscriptionChangeCreateNet_terms_type :: Maybe SubscriptionChangeCreateNet_terms_type
- subscriptionChangeCreatePlan_code :: Maybe Text
- subscriptionChangeCreatePlan_id :: Maybe Text
- subscriptionChangeCreatePo_number :: Maybe Text
- subscriptionChangeCreateProration_settings :: Maybe ProrationSettings
- subscriptionChangeCreateQuantity :: Maybe Int
- subscriptionChangeCreateRamp_intervals :: Maybe [SubscriptionRampInterval]
- subscriptionChangeCreateRevenue_schedule_type :: Maybe SubscriptionChangeCreateRevenue_schedule_type
- subscriptionChangeCreateShipping :: Maybe SubscriptionChangeShippingCreate
- subscriptionChangeCreateTax_inclusive :: Maybe Bool
- subscriptionChangeCreateTimeframe :: Maybe SubscriptionChangeCreateTimeframe
- subscriptionChangeCreateTransaction_type :: Maybe SubscriptionChangeCreateTransaction_type
- subscriptionChangeCreateUnit_amount :: Maybe Float
- mkSubscriptionChangeCreate :: SubscriptionChangeCreate
- data SubscriptionChangeCreateCollection_method
- data SubscriptionChangeCreateNet_terms_type
- data SubscriptionChangeCreateRevenue_schedule_type
- = SubscriptionChangeCreateRevenue_schedule_typeOther Value
- | SubscriptionChangeCreateRevenue_schedule_typeTyped Text
- | SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_end
- | SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_start
- | SubscriptionChangeCreateRevenue_schedule_typeEnumEvenly
- | SubscriptionChangeCreateRevenue_schedule_typeEnumNever
- data SubscriptionChangeCreateTimeframe
- data SubscriptionChangeCreateTransaction_type
Documentation
data SubscriptionChangeCreate Source #
Defines the object schema located at components.schemas.SubscriptionChangeCreate
in the specification.
Constructors
SubscriptionChangeCreate | |
Fields
|
Instances
FromJSON SubscriptionChangeCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionChangeCreate Methods parseJSON :: Value -> Parser SubscriptionChangeCreate # parseJSONList :: Value -> Parser [SubscriptionChangeCreate] # | |
ToJSON SubscriptionChangeCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionChangeCreate Methods toJSON :: SubscriptionChangeCreate -> Value # toEncoding :: SubscriptionChangeCreate -> Encoding # toJSONList :: [SubscriptionChangeCreate] -> Value # | |
Show SubscriptionChangeCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionChangeCreate Methods showsPrec :: Int -> SubscriptionChangeCreate -> ShowS # show :: SubscriptionChangeCreate -> String # showList :: [SubscriptionChangeCreate] -> ShowS # | |
Eq SubscriptionChangeCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionChangeCreate Methods (==) :: SubscriptionChangeCreate -> SubscriptionChangeCreate -> Bool # (/=) :: SubscriptionChangeCreate -> SubscriptionChangeCreate -> Bool # |
mkSubscriptionChangeCreate :: SubscriptionChangeCreate Source #
Create a new SubscriptionChangeCreate
with all required fields.
data SubscriptionChangeCreateCollection_method Source #
Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.collection_method
in the specification.
Constructors
SubscriptionChangeCreateCollection_methodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeCreateCollection_methodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeCreateCollection_methodEnumAutomatic | Represents the JSON value |
SubscriptionChangeCreateCollection_methodEnumManual | Represents the JSON value |
data SubscriptionChangeCreateNet_terms_type Source #
Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.net_terms_type
in the specification.
Optionally supplied string that may be either `net` or `eom` (end-of-month). When `net`, an invoice becomes past due the specified number of `Net Terms` days from the current date. When `eom` an invoice becomes past due the specified number of `Net Terms` days from the last day of the current month.
Constructors
SubscriptionChangeCreateNet_terms_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeCreateNet_terms_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeCreateNet_terms_typeEnumNet | Represents the JSON value |
SubscriptionChangeCreateNet_terms_typeEnumEom | Represents the JSON value |
Instances
data SubscriptionChangeCreateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.revenue_schedule_type
in the specification.
Constructors
SubscriptionChangeCreateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeCreateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
SubscriptionChangeCreateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
SubscriptionChangeCreateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
SubscriptionChangeCreateRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
data SubscriptionChangeCreateTimeframe Source #
Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.timeframe
in the specification.
The timeframe parameter controls when the upgrade or downgrade takes place. The subscription change can occur now, when the subscription is next billed, or when the subscription term ends. Generally, if you're performing an upgrade, you will want the change to occur immediately (now). If you're performing a downgrade, you should set the timeframe to `term_end` or `bill_date` so the change takes effect at a scheduled billing date. The `renewal` timeframe option is accepted as an alias for `term_end`.
Constructors
SubscriptionChangeCreateTimeframeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeCreateTimeframeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeCreateTimeframeEnumBill_date | Represents the JSON value |
SubscriptionChangeCreateTimeframeEnumNow | Represents the JSON value |
SubscriptionChangeCreateTimeframeEnumRenewal | Represents the JSON value |
SubscriptionChangeCreateTimeframeEnumTerm_end | Represents the JSON value |
Instances
data SubscriptionChangeCreateTransaction_type Source #
Defines the enum schema located at components.schemas.SubscriptionChangeCreate.properties.transaction_type
in the specification.
An optional type designation for the payment gateway transaction created by this request. Supports 'moto' value, which is the acronym for mail order and telephone transactions.
Constructors
SubscriptionChangeCreateTransaction_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionChangeCreateTransaction_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionChangeCreateTransaction_typeEnumMoto | Represents the JSON value |