Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.SubscriptionCreate
Description
Contains the types generated from the schema SubscriptionCreate
Synopsis
- data SubscriptionCreate = SubscriptionCreate {
- subscriptionCreateAccount :: AccountCreate
- subscriptionCreateAdd_ons :: Maybe [SubscriptionAddOnCreate]
- subscriptionCreateAuto_renew :: Maybe Bool
- subscriptionCreateBilling_info_id :: Maybe Text
- subscriptionCreateBulk :: Maybe Bool
- subscriptionCreateBusiness_entity_code :: Maybe Text
- subscriptionCreateBusiness_entity_id :: Maybe Text
- subscriptionCreateCollection_method :: Maybe SubscriptionCreateCollection_method
- subscriptionCreateCoupon_codes :: Maybe [Text]
- subscriptionCreateCredit_customer_notes :: Maybe Text
- subscriptionCreateCurrency :: Text
- subscriptionCreateCustom_fields :: Maybe CustomFields
- subscriptionCreateCustomer_notes :: Maybe Text
- subscriptionCreateGateway_code :: Maybe Text
- subscriptionCreateGift_card_redemption_code :: Maybe Text
- subscriptionCreateNet_terms :: Maybe Int
- subscriptionCreateNet_terms_type :: Maybe SubscriptionCreateNet_terms_type
- subscriptionCreateNext_bill_date :: Maybe JsonDateTime
- subscriptionCreatePlan_code :: Text
- subscriptionCreatePlan_id :: Maybe Text
- subscriptionCreatePo_number :: Maybe Text
- subscriptionCreateQuantity :: Maybe Int
- subscriptionCreateRamp_intervals :: Maybe [SubscriptionRampInterval]
- subscriptionCreateRenewal_billing_cycles :: Maybe Int
- subscriptionCreateRevenue_schedule_type :: Maybe SubscriptionCreateRevenue_schedule_type
- subscriptionCreateShipping :: Maybe SubscriptionShippingCreate
- subscriptionCreateStarts_at :: Maybe JsonDateTime
- subscriptionCreateTax_inclusive :: Maybe Bool
- subscriptionCreateTerms_and_conditions :: Maybe Text
- subscriptionCreateTotal_billing_cycles :: Maybe Int
- subscriptionCreateTransaction_type :: Maybe SubscriptionCreateTransaction_type
- subscriptionCreateTrial_ends_at :: Maybe JsonDateTime
- subscriptionCreateUnit_amount :: Maybe Float
- mkSubscriptionCreate :: AccountCreate -> Text -> Text -> SubscriptionCreate
- data SubscriptionCreateCollection_method
- data SubscriptionCreateNet_terms_type
- data SubscriptionCreateRevenue_schedule_type
- = SubscriptionCreateRevenue_schedule_typeOther Value
- | SubscriptionCreateRevenue_schedule_typeTyped Text
- | SubscriptionCreateRevenue_schedule_typeEnumAt_range_end
- | SubscriptionCreateRevenue_schedule_typeEnumAt_range_start
- | SubscriptionCreateRevenue_schedule_typeEnumEvenly
- | SubscriptionCreateRevenue_schedule_typeEnumNever
- data SubscriptionCreateTransaction_type
Documentation
data SubscriptionCreate Source #
Defines the object schema located at components.schemas.SubscriptionCreate
in the specification.
Constructors
SubscriptionCreate | |
Fields
|
Instances
FromJSON SubscriptionCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionCreate Methods parseJSON :: Value -> Parser SubscriptionCreate # parseJSONList :: Value -> Parser [SubscriptionCreate] # | |
ToJSON SubscriptionCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionCreate Methods toJSON :: SubscriptionCreate -> Value # toEncoding :: SubscriptionCreate -> Encoding # toJSONList :: [SubscriptionCreate] -> Value # toEncodingList :: [SubscriptionCreate] -> Encoding # | |
Show SubscriptionCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionCreate Methods showsPrec :: Int -> SubscriptionCreate -> ShowS # show :: SubscriptionCreate -> String # showList :: [SubscriptionCreate] -> ShowS # | |
Eq SubscriptionCreate Source # | |
Defined in RecurlyClient.Types.SubscriptionCreate Methods (==) :: SubscriptionCreate -> SubscriptionCreate -> Bool # (/=) :: SubscriptionCreate -> SubscriptionCreate -> Bool # |
Arguments
:: AccountCreate | |
-> Text | |
-> Text | |
-> SubscriptionCreate |
Create a new SubscriptionCreate
with all required fields.
data SubscriptionCreateCollection_method Source #
Defines the enum schema located at components.schemas.SubscriptionCreate.properties.collection_method
in the specification.
Constructors
SubscriptionCreateCollection_methodOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionCreateCollection_methodTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionCreateCollection_methodEnumAutomatic | Represents the JSON value |
SubscriptionCreateCollection_methodEnumManual | Represents the JSON value |
Instances
data SubscriptionCreateNet_terms_type Source #
Defines the enum schema located at components.schemas.SubscriptionCreate.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
SubscriptionCreateNet_terms_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionCreateNet_terms_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionCreateNet_terms_typeEnumNet | Represents the JSON value |
SubscriptionCreateNet_terms_typeEnumEom | Represents the JSON value |
Instances
data SubscriptionCreateRevenue_schedule_type Source #
Defines the enum schema located at components.schemas.SubscriptionCreate.properties.revenue_schedule_type
in the specification.
Constructors
SubscriptionCreateRevenue_schedule_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionCreateRevenue_schedule_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionCreateRevenue_schedule_typeEnumAt_range_end | Represents the JSON value |
SubscriptionCreateRevenue_schedule_typeEnumAt_range_start | Represents the JSON value |
SubscriptionCreateRevenue_schedule_typeEnumEvenly | Represents the JSON value |
SubscriptionCreateRevenue_schedule_typeEnumNever | Represents the JSON value |
Instances
data SubscriptionCreateTransaction_type Source #
Defines the enum schema located at components.schemas.SubscriptionCreate.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
SubscriptionCreateTransaction_typeOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionCreateTransaction_typeTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionCreateTransaction_typeEnumMoto | Represents the JSON value |