Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the types generated from the schema SubscriptionSchedulesResourceDefaultSettings
Synopsis
- data SubscriptionSchedulesResourceDefaultSettings = SubscriptionSchedulesResourceDefaultSettings {
- subscriptionSchedulesResourceDefaultSettingsApplicationFeePercent :: Maybe Double
- subscriptionSchedulesResourceDefaultSettingsAutomaticTax :: Maybe SubscriptionSchedulesResourceDefaultSettingsAutomaticTax
- subscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor :: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
- subscriptionSchedulesResourceDefaultSettingsBillingThresholds :: Maybe SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
- subscriptionSchedulesResourceDefaultSettingsCollectionMethod :: Maybe SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
- subscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod :: Maybe SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
- subscriptionSchedulesResourceDefaultSettingsInvoiceSettings :: Maybe SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
- subscriptionSchedulesResourceDefaultSettingsTransferData :: Maybe SubscriptionSchedulesResourceDefaultSettingsTransferData'
- mkSubscriptionSchedulesResourceDefaultSettings :: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' -> SubscriptionSchedulesResourceDefaultSettings
- data SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'
- = SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Other Value
- | SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Typed Text
- | SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumAutomatic
- | SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumPhaseStart
- data SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' = SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' {}
- mkSubscriptionSchedulesResourceDefaultSettingsBillingThresholds' :: SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
- data SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'
- = SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Other Value
- | SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Typed Text
- | SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumChargeAutomatically
- | SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumSendInvoice
- data SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants
- data SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' = SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' {}
- mkSubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' :: SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
- data SubscriptionSchedulesResourceDefaultSettingsTransferData' = SubscriptionSchedulesResourceDefaultSettingsTransferData' {}
- mkSubscriptionSchedulesResourceDefaultSettingsTransferData' :: SubscriptionSchedulesResourceDefaultSettingsTransferData'
- data SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants
Documentation
data SubscriptionSchedulesResourceDefaultSettings Source #
Defines the object schema located at components.schemas.subscription_schedules_resource_default_settings
in the specification.
SubscriptionSchedulesResourceDefaultSettings | |
|
Instances
mkSubscriptionSchedulesResourceDefaultSettings Source #
:: SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' |
|
-> SubscriptionSchedulesResourceDefaultSettings |
Create a new SubscriptionSchedulesResourceDefaultSettings
with all required fields.
data SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' Source #
Defines the enum schema located at components.schemas.subscription_schedules_resource_default_settings.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.
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumAutomatic | Represents the JSON value |
SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumPhaseStart | Represents the JSON value |
Instances
data SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source #
Defines the object schema located at components.schemas.subscription_schedules_resource_default_settings.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
SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' | |
|
Instances
mkSubscriptionSchedulesResourceDefaultSettingsBillingThresholds' :: SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source #
Create a new SubscriptionSchedulesResourceDefaultSettingsBillingThresholds'
with all required fields.
data SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' Source #
Defines the enum schema located at components.schemas.subscription_schedules_resource_default_settings.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.
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumChargeAutomatically | Represents the JSON value |
SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumSendInvoice | Represents the JSON value |
Instances
data SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants Source #
Defines the oneOf schema located at components.schemas.subscription_schedules_resource_default_settings.properties.default_payment_method.anyOf
in the specification.
ID of the default payment method for the subscription schedule. If not set, invoices will use the default payment method in the customer's invoice settings.
SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Text Text | |
SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'PaymentMethod PaymentMethod |
Instances
data SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source #
Defines the object schema located at components.schemas.subscription_schedules_resource_default_settings.properties.invoice_settings.anyOf
in the specification.
The subscription schedule\'s default invoice settings.
SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' | |
|
Instances
mkSubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' :: SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source #
Create a new SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings'
with all required fields.
data SubscriptionSchedulesResourceDefaultSettingsTransferData' Source #
Defines the object schema located at components.schemas.subscription_schedules_resource_default_settings.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.
SubscriptionSchedulesResourceDefaultSettingsTransferData' | |
|
Instances
mkSubscriptionSchedulesResourceDefaultSettingsTransferData' :: SubscriptionSchedulesResourceDefaultSettingsTransferData' Source #
Create a new SubscriptionSchedulesResourceDefaultSettingsTransferData'
with all required fields.
data SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants Source #
Defines the oneOf schema located at components.schemas.subscription_schedules_resource_default_settings.properties.transfer_data.anyOf.properties.destination.anyOf
in the specification.
The account where funds from the payment will be transferred to upon payment success.
SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Text Text | |
SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Account Account |