Prices/PriceCurrencyOptionsCustomUnitAmountOptions.cs

stripe-dotnet · src/Stripe.net/Services/Prices/PriceCurrencyOptionsCustomUnitAmountOptions.cs · csharp · Apache-2.0
payments

Specifies custom unit amount settings for a price in a specific currency, with enable flag and bounds.

// Source: https://github.com/stripe/stripe-dotnet | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
// File generated from our OpenAPI spec
namespace Stripe
{
    using Newtonsoft.Json;
    using Stripe.Infrastructure;
    using STJS = System.Text.Json.Serialization;

    [STJS.JsonConverter(typeof(STJStripeOptionsConverter))]
    public class PriceCurrencyOptionsCustomUnitAmountOptions : INestedOptions
    {
        /// <summary>
        /// Pass in <c>true</c> to enable <c>custom_unit_amount</c>, otherwise omit
        /// <c>custom_unit_amount</c>.
        /// </summary>
        [JsonProperty("enabled")]
        [STJS.JsonPropertyName("enabled")]
        public bool? Enabled { g

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key