Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema SubscriptionSchedulePhaseConfiguration
Synopsis
- data SubscriptionSchedulePhaseConfiguration = SubscriptionSchedulePhaseConfiguration {
- subscriptionSchedulePhaseConfigurationAddInvoiceItems :: [SubscriptionScheduleAddInvoiceItem]
- subscriptionSchedulePhaseConfigurationApplicationFeePercent :: Maybe Double
- subscriptionSchedulePhaseConfigurationAutomaticTax :: Maybe SchedulesPhaseAutomaticTax
- subscriptionSchedulePhaseConfigurationBillingCycleAnchor :: Maybe SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
- subscriptionSchedulePhaseConfigurationBillingThresholds :: Maybe SubscriptionSchedulePhaseConfigurationBillingThresholds'
- subscriptionSchedulePhaseConfigurationCollectionMethod :: Maybe SubscriptionSchedulePhaseConfigurationCollectionMethod'
- subscriptionSchedulePhaseConfigurationCoupon :: Maybe SubscriptionSchedulePhaseConfigurationCoupon'Variants
- subscriptionSchedulePhaseConfigurationDefaultPaymentMethod :: Maybe SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
- subscriptionSchedulePhaseConfigurationDefaultTaxRates :: Maybe [TaxRate]
- subscriptionSchedulePhaseConfigurationEndDate :: Int
- subscriptionSchedulePhaseConfigurationInvoiceSettings :: Maybe SubscriptionSchedulePhaseConfigurationInvoiceSettings'
- subscriptionSchedulePhaseConfigurationItems :: [SubscriptionScheduleConfigurationItem]
- subscriptionSchedulePhaseConfigurationProrationBehavior :: SubscriptionSchedulePhaseConfigurationProrationBehavior'
- subscriptionSchedulePhaseConfigurationStartDate :: Int
- subscriptionSchedulePhaseConfigurationTransferData :: Maybe SubscriptionSchedulePhaseConfigurationTransferData'
- subscriptionSchedulePhaseConfigurationTrialEnd :: Maybe Int
- mkSubscriptionSchedulePhaseConfiguration :: [SubscriptionScheduleAddInvoiceItem] -> Int -> [SubscriptionScheduleConfigurationItem] -> SubscriptionSchedulePhaseConfigurationProrationBehavior' -> Int -> SubscriptionSchedulePhaseConfiguration
- data SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'
- data SubscriptionSchedulePhaseConfigurationBillingThresholds' = SubscriptionSchedulePhaseConfigurationBillingThresholds' {}
- mkSubscriptionSchedulePhaseConfigurationBillingThresholds' :: SubscriptionSchedulePhaseConfigurationBillingThresholds'
- data SubscriptionSchedulePhaseConfigurationCollectionMethod'
- data SubscriptionSchedulePhaseConfigurationCoupon'Variants
- data SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants
- data SubscriptionSchedulePhaseConfigurationInvoiceSettings' = SubscriptionSchedulePhaseConfigurationInvoiceSettings' {}
- mkSubscriptionSchedulePhaseConfigurationInvoiceSettings' :: SubscriptionSchedulePhaseConfigurationInvoiceSettings'
- data SubscriptionSchedulePhaseConfigurationProrationBehavior'
- = SubscriptionSchedulePhaseConfigurationProrationBehavior'Other Value
- | SubscriptionSchedulePhaseConfigurationProrationBehavior'Typed Text
- | SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumAlwaysInvoice
- | SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumCreateProrations
- | SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumNone
- data SubscriptionSchedulePhaseConfigurationTransferData' = SubscriptionSchedulePhaseConfigurationTransferData' {}
- mkSubscriptionSchedulePhaseConfigurationTransferData' :: SubscriptionSchedulePhaseConfigurationTransferData'
- data SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants
Documentation
data SubscriptionSchedulePhaseConfiguration Source #
Defines the object schema located at components.schemas.subscription_schedule_phase_configuration
in the specification.
A phase describes the plans, coupon, and trialing status of a subscription for a predefined time period.
SubscriptionSchedulePhaseConfiguration | |
|
mkSubscriptionSchedulePhaseConfiguration Source #
:: [SubscriptionScheduleAddInvoiceItem] | |
-> Int | |
-> [SubscriptionScheduleConfigurationItem] | |
-> SubscriptionSchedulePhaseConfigurationProrationBehavior' | |
-> Int | |
-> SubscriptionSchedulePhaseConfiguration |
Create a new SubscriptionSchedulePhaseConfiguration
with all required fields.
data SubscriptionSchedulePhaseConfigurationBillingCycleAnchor' Source #
Defines the enum schema located at components.schemas.subscription_schedule_phase_configuration.properties.billing_cycle_anchor
in the specification.
Possible values are `phase_start` or `automatic`. If `phase_start` then billing cycle anchor of the subscription is set to the start of the phase when entering the phase. If `automatic` then the billing cycle anchor is automatically modified as needed when entering the phase. For more information, see the billing cycle documentation.
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'EnumAutomatic | Represents the JSON value |
SubscriptionSchedulePhaseConfigurationBillingCycleAnchor'EnumPhaseStart | Represents the JSON value |
Instances
data SubscriptionSchedulePhaseConfigurationBillingThresholds' Source #
Defines the object schema located at components.schemas.subscription_schedule_phase_configuration.properties.billing_thresholds.anyOf
in the specification.
Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period
SubscriptionSchedulePhaseConfigurationBillingThresholds' | |
|
Instances
mkSubscriptionSchedulePhaseConfigurationBillingThresholds' :: SubscriptionSchedulePhaseConfigurationBillingThresholds' Source #
Create a new SubscriptionSchedulePhaseConfigurationBillingThresholds'
with all required fields.
data SubscriptionSchedulePhaseConfigurationCollectionMethod' Source #
Defines the enum schema located at components.schemas.subscription_schedule_phase_configuration.properties.collection_method
in the specification.
Either `charge_automatically`, or `send_invoice`. When charging automatically, Stripe will attempt to pay the underlying subscription at the end of each billing cycle using the default source attached to the customer. When sending an invoice, Stripe will email your customer an invoice with payment instructions.
SubscriptionSchedulePhaseConfigurationCollectionMethod'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionSchedulePhaseConfigurationCollectionMethod'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionSchedulePhaseConfigurationCollectionMethod'EnumChargeAutomatically | Represents the JSON value |
SubscriptionSchedulePhaseConfigurationCollectionMethod'EnumSendInvoice | Represents the JSON value |
Instances
data SubscriptionSchedulePhaseConfigurationCoupon'Variants Source #
Defines the oneOf schema located at components.schemas.subscription_schedule_phase_configuration.properties.coupon.anyOf
in the specification.
ID of the coupon to use during this phase of the subscription schedule.
SubscriptionSchedulePhaseConfigurationCoupon'Text Text | |
SubscriptionSchedulePhaseConfigurationCoupon'Coupon Coupon | |
SubscriptionSchedulePhaseConfigurationCoupon'DeletedCoupon DeletedCoupon |
Instances
data SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Variants Source #
Defines the oneOf schema located at components.schemas.subscription_schedule_phase_configuration.properties.default_payment_method.anyOf
in the specification.
ID of the default payment method for the subscription schedule. It must belong to the customer associated with the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'Text Text | |
SubscriptionSchedulePhaseConfigurationDefaultPaymentMethod'PaymentMethod PaymentMethod |
Instances
data SubscriptionSchedulePhaseConfigurationInvoiceSettings' Source #
Defines the object schema located at components.schemas.subscription_schedule_phase_configuration.properties.invoice_settings.anyOf
in the specification.
The invoice settings applicable during this phase.
SubscriptionSchedulePhaseConfigurationInvoiceSettings' | |
|
Instances
mkSubscriptionSchedulePhaseConfigurationInvoiceSettings' :: SubscriptionSchedulePhaseConfigurationInvoiceSettings' Source #
Create a new SubscriptionSchedulePhaseConfigurationInvoiceSettings'
with all required fields.
data SubscriptionSchedulePhaseConfigurationProrationBehavior' Source #
Defines the enum schema located at components.schemas.subscription_schedule_phase_configuration.properties.proration_behavior
in the specification.
If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`.
SubscriptionSchedulePhaseConfigurationProrationBehavior'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionSchedulePhaseConfigurationProrationBehavior'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumAlwaysInvoice | Represents the JSON value |
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumCreateProrations | Represents the JSON value |
SubscriptionSchedulePhaseConfigurationProrationBehavior'EnumNone | Represents the JSON value |
Instances
data SubscriptionSchedulePhaseConfigurationTransferData' Source #
Defines the object schema located at components.schemas.subscription_schedule_phase_configuration.properties.transfer_data.anyOf
in the specification.
The account (if any) the associated subscription\'s payments will be attributed to for tax reporting, and where funds from each payment will be transferred to for each of the subscription\'s invoices.
SubscriptionSchedulePhaseConfigurationTransferData' | |
|
Instances
mkSubscriptionSchedulePhaseConfigurationTransferData' :: SubscriptionSchedulePhaseConfigurationTransferData' Source #
Create a new SubscriptionSchedulePhaseConfigurationTransferData'
with all required fields.
data SubscriptionSchedulePhaseConfigurationTransferData'Destination'Variants Source #
Defines the oneOf schema located at components.schemas.subscription_schedule_phase_configuration.properties.transfer_data.anyOf.properties.destination.anyOf
in the specification.
The account where funds from the payment will be transferred to upon payment success.
SubscriptionSchedulePhaseConfigurationTransferData'Destination'Text Text | |
SubscriptionSchedulePhaseConfigurationTransferData'Destination'Account Account |