Safe Haskell | None |
---|---|
Language | Haskell2010 |
Contains the different functions to run the operation getInvoicesUpcomingLines
Synopsis
- getInvoicesUpcomingLines :: forall m. MonadHTTP m => GetInvoicesUpcomingLinesParameters -> ClientT m (Response GetInvoicesUpcomingLinesResponse)
- data GetInvoicesUpcomingLinesParameters = GetInvoicesUpcomingLinesParameters {
- getInvoicesUpcomingLinesParametersQueryAutomaticTax :: Maybe GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
- getInvoicesUpcomingLinesParametersQueryCoupon :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomer :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
- getInvoicesUpcomingLinesParametersQueryDiscounts :: Maybe GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
- getInvoicesUpcomingLinesParametersQueryEndingBefore :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryExpand :: Maybe [Text]
- getInvoicesUpcomingLinesParametersQueryInvoiceItems :: Maybe [GetInvoicesUpcomingLinesParametersQueryInvoiceItems']
- getInvoicesUpcomingLinesParametersQueryLimit :: Maybe Int
- getInvoicesUpcomingLinesParametersQuerySchedule :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryStartingAfter :: Maybe Text
- getInvoicesUpcomingLinesParametersQuerySubscription :: Maybe Text
- getInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionCancelAtPeriodEnd :: Maybe Bool
- getInvoicesUpcomingLinesParametersQuerySubscriptionCancelNow :: Maybe Bool
- getInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems :: Maybe [GetInvoicesUpcomingLinesParametersQuerySubscriptionItems']
- getInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
- getInvoicesUpcomingLinesParametersQuerySubscriptionProrationDate :: Maybe Int
- getInvoicesUpcomingLinesParametersQuerySubscriptionStartDate :: Maybe Int
- getInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionTrialFromPlan :: Maybe Bool
- mkGetInvoicesUpcomingLinesParameters :: GetInvoicesUpcomingLinesParameters
- data GetInvoicesUpcomingLinesParametersQueryAutomaticTax' = GetInvoicesUpcomingLinesParametersQueryAutomaticTax' {}
- mkGetInvoicesUpcomingLinesParametersQueryAutomaticTax' :: Bool -> GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails' = GetInvoicesUpcomingLinesParametersQueryCustomerDetails' {
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt :: Maybe GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds :: Maybe [GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds']
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 {
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1City :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Country :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Line1 :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1Line2 :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1PostalCode :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1State :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 {
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Name :: Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Phone :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' -> Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' {
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'City :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Country :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Line1 :: Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'Line2 :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'PostalCode :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'State :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' :: Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' {}
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'
- = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Other Value
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Typed Text
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumEmptyString
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumExempt
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumNone
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumReverse
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' {}
- mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type' -> Text -> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
- data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'
- = GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'Other Value
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'Typed Text
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumAeTrn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumAuAbn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumBrCnpj
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumBrCpf
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaBn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaGstHst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstBc
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstMb
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaPstSk
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumCaQst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumChVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumClTin
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumEsCif
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumEuVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumGbVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumHkBr
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumIdNpwp
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumIlVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumInGst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumJpCn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumJpRn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumKrBrn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumLiUid
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMxRfc
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMyFrp
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMyItn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumMySst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumNoVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumNzGst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumRuInn
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumRuKpp
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSaVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSgGst
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumSgUen
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumThVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumTwVat
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumUsEin
- | GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type'EnumZaVat
- data GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 = GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 {}
- mkGetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
- data GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems' = GetInvoicesUpcomingLinesParametersQueryInvoiceItems' {
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Amount :: Maybe Int
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Currency :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Description :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discountable :: Maybe Bool
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Invoiceitem :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Period :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Price :: Maybe Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'Quantity :: Maybe Int
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'UnitAmount :: Maybe Int
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'UnitAmountDecimal :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems' :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 = GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 {}
- mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' = GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' {}
- mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' :: Int -> Int -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' = GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' {
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'Currency :: Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'Product :: Text
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior :: Maybe GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'UnitAmount :: Maybe Int
- getInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'UnitAmountDecimal :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'
- = GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Other Value
- | GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Typed Text
- | GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumExclusive
- | GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumInclusive
- | GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumUnspecified
- data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Other Value
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Typed Text
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumNow
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumUnchanged
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1 GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Int Int
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' {
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'ClearUsage :: Maybe Bool
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Deleted :: Maybe Bool
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Id :: Maybe Text
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Price :: Maybe Text
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'Quantity :: Maybe Int
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
- mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 {}
- mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 :: Int -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'EmptyString
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' {
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Currency :: Text
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Product :: Text
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior :: Maybe GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'UnitAmount :: Maybe Int
- getInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'UnitAmountDecimal :: Maybe Text
- mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' :: Text -> Text -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' {}
- mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval' -> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Other Value
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Typed Text
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumDay
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumMonth
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumWeek
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumYear
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Other Value
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Typed Text
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumExclusive
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumInclusive
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumUnspecified
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'
- = GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Other Value
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Typed Text
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumAlwaysInvoice
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumCreateProrations
- | GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumNone
- data GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants
- data GetInvoicesUpcomingLinesResponse
- data GetInvoicesUpcomingLinesResponseBody200 = GetInvoicesUpcomingLinesResponseBody200 {}
- mkGetInvoicesUpcomingLinesResponseBody200 :: [LineItem] -> Bool -> Text -> GetInvoicesUpcomingLinesResponseBody200
Documentation
getInvoicesUpcomingLines Source #
:: forall m. MonadHTTP m | |
=> GetInvoicesUpcomingLinesParameters | Contains all available parameters of this operation (query and path parameters) |
-> ClientT m (Response GetInvoicesUpcomingLinesResponse) | Monadic computation which returns the result of the operation |
GET /v1/invoices/upcoming/lines
<p>When retrieving an upcoming invoice, you’ll get a <strong>lines</strong> property containing the total count of line items and the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.</p>
data GetInvoicesUpcomingLinesParameters Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters
in the specification.
GetInvoicesUpcomingLinesParameters | |
|
mkGetInvoicesUpcomingLinesParameters :: GetInvoicesUpcomingLinesParameters Source #
Create a new GetInvoicesUpcomingLinesParameters
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryAutomaticTax' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryAutomatic_tax
in the specification.
Represents the parameter named 'automatic_tax'
Settings for automatic tax lookup for this invoice preview.
Instances
mkGetInvoicesUpcomingLinesParametersQueryAutomaticTax' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryAutomaticTax'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details
in the specification.
Represents the parameter named 'customer_details'
Details about the customer you want to invoice
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 | |
|
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1 Source #
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'OneOf1
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Address'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.address.anyOf
in the specification.
Instances
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 | |
|
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1 Source #
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf.properties.address
in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' | |
|
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' Source #
:: Text |
|
-> GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address' |
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'OneOf1Address'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Shipping'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.shipping.anyOf
in the specification.
Instances
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' :: GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax.properties.ip_address.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'Tax'IpAddress'Text Text |
Instances
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_exempt
in the specification.
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumEmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumExempt | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumNone | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxExempt'EnumReverse | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryCustomerDetails'TaxIds'Type' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryCustomer_details.properties.tax_ids.items.properties.type
in the specification.
Instances
data GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryDiscounts.anyOf.items
in the specification.
GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 | |
|
Instances
mkGetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1 Source #
Create a new GetInvoicesUpcomingLinesParametersQueryDiscounts'OneOf1
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryDiscounts'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryDiscounts.anyOf
in the specification.
Represents the parameter named 'discounts'
The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. Pass an empty string to avoid inheriting any discounts. To preview the upcoming invoice for a subscription that hasn't been created, use `coupon` instead.
Instances
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems' :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryInvoiceItems'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf.items
in the specification.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 | |
|
Instances
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 :: GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1 Source #
Create a new GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'OneOf1
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Discounts'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.discounts.anyOf
in the specification.
Instances
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.metadata.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Metadata'Object Object |
Instances
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.period
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryInvoiceItems'Period'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.price_data
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData' Source #
Create a new GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'
with all required fields.
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.price_data.properties.tax_behavior
in the specification.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumExclusive | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumInclusive | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'PriceData'TaxBehavior'EnumUnspecified | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.queryInvoice_items.items.properties.tax_rates.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQueryInvoiceItems'TaxRates'ListTText [Text] |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1 Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumNow | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'OneOf1EnumUnchanged | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionBillingCycleAnchor'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_billing_cycle_anchor.anyOf
in the specification.
Represents the parameter named 'subscription_billing_cycle_anchor'
For new subscriptions, a future timestamp to anchor the subscription's billing cycle. This is used to determine the date of the first full invoice, and, for plans with `month` or `year` intervals, the day of the month for subsequent invoices. For existing subscriptions, the value can only be set to `now` or `unchanged`.
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_cancel_at.anyOf
in the specification.
Represents the parameter named 'subscription_cancel_at'
Timestamp indicating when the subscription should be scheduled to cancel. Will prorate if within the current period and prorations have been enabled using `proration_behavior`.
GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionCancelAt'Int Int |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_default_tax_rates.anyOf
in the specification.
Represents the parameter named 'subscription_default_tax_rates'
If provided, the invoice returned will preview updating or creating a subscription with these default tax rates. The default tax rates will apply to any line item that does not have `tax_rates` set.
GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionDefaultTaxRates'ListTText [Text] |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems' :: GetInvoicesUpcomingLinesParametersQuerySubscriptionItems' Source #
Create a new GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'
with all required fields.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 Source #
:: Int |
|
-> GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1 |
Create a new GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'OneOf1
with all required fields.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'BillingThresholds'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.billing_thresholds.anyOf
in the specification.
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.metadata.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'Metadata'Object Object |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData' Source #
Create a new GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'
with all required fields.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring
in the specification.
Instances
mkGetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring' Source #
Create a new GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'
with all required fields.
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.recurring.properties.interval
in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumDay | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumMonth | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumWeek | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'Recurring'Interval'EnumYear | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.price_data.properties.tax_behavior
in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumExclusive | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumInclusive | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'PriceData'TaxBehavior'EnumUnspecified | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_items.items.properties.tax_rates.anyOf
in the specification.
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'EmptyString | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionItems'TaxRates'ListTText [Text] |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior' Source #
Defines the enum schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_proration_behavior
in the specification.
Represents the parameter named 'subscription_proration_behavior'
Determines how to handle prorations when the billing cycle changes (e.g., when switching plans, resetting `billing_cycle_anchor=now`, or starting a trial), or if an item's `quantity` changes. Valid values are `create_prorations`, `none`, or `always_invoice`.
Passing `create_prorations` will cause proration invoice items to be created when applicable. These proration items will only be invoiced immediately under certain conditions. In order to always invoice immediately for prorations, pass `always_invoice`.
Prorations can be disabled by passing `none`.
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Other Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'Typed Text | This constructor can be used to send values to the server which are not present in the specification yet. |
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumAlwaysInvoice | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumCreateProrations | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionProrationBehavior'EnumNone | Represents the JSON value |
Instances
data GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Variants Source #
Defines the oneOf schema located at paths./v1/invoices/upcoming/lines.GET.parameters.properties.querySubscription_trial_end.anyOf
in the specification.
Represents the parameter named 'subscription_trial_end'
If provided, the invoice returned will preview updating or creating a subscription with that trial end. If set, one of `subscription_items` or `subscription` is required.
GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Now | Represents the JSON value |
GetInvoicesUpcomingLinesParametersQuerySubscriptionTrialEnd'Int Int |
Instances
data GetInvoicesUpcomingLinesResponse Source #
Represents a response of the operation getInvoicesUpcomingLines
.
The response constructor is chosen by the status code of the response. If no case matches (no specific case for the response code, no range case, no default case), GetInvoicesUpcomingLinesResponseError
is used.
GetInvoicesUpcomingLinesResponseError String | Means either no matching case available or a parse error |
GetInvoicesUpcomingLinesResponse200 GetInvoicesUpcomingLinesResponseBody200 | Successful response. |
GetInvoicesUpcomingLinesResponseDefault Error | Error response. |
data GetInvoicesUpcomingLinesResponseBody200 Source #
Defines the object schema located at paths./v1/invoices/upcoming/lines.GET.responses.200.content.application/json.schema
in the specification.
GetInvoicesUpcomingLinesResponseBody200 | |
|
mkGetInvoicesUpcomingLinesResponseBody200 Source #
:: [LineItem] | |
-> Bool | |
-> Text | |
-> GetInvoicesUpcomingLinesResponseBody200 |
Create a new GetInvoicesUpcomingLinesResponseBody200
with all required fields.