stripeapi-1.0.0.0: Stripe-Library
Safe HaskellNone
LanguageHaskell2010

StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Description

Contains the types generated from the schema SubscriptionSchedulesResourceDefaultSettings

Synopsis

Documentation

data SubscriptionSchedulesResourceDefaultSettings Source #

Defines the object schema located at components.schemas.subscription_schedules_resource_default_settings in the specification.

Constructors

SubscriptionSchedulesResourceDefaultSettings 

Fields

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettings Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettings Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettings Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettings Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Constructors

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 "automatic"

SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor'EnumPhaseStart

Represents the JSON value "phase_start"

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsBillingCycleAnchor' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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

Constructors

SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' 

Fields

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsBillingThresholds' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Constructors

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 "charge_automatically"

SubscriptionSchedulesResourceDefaultSettingsCollectionMethod'EnumSendInvoice

Represents the JSON value "send_invoice"

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsCollectionMethod' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsDefaultPaymentMethod'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Constructors

SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' 

Fields

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsInvoiceSettings' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Constructors

SubscriptionSchedulesResourceDefaultSettingsTransferData' 

Fields

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsTransferData' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsTransferData' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsTransferData' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsTransferData' Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

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.

Instances

Instances details
Eq SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

Show SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

ToJSON SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings

FromJSON SubscriptionSchedulesResourceDefaultSettingsTransferData'Destination'Variants Source # 
Instance details

Defined in StripeAPI.Types.SubscriptionSchedulesResourceDefaultSettings