Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b7d9dec4da43fdbe727b3b4d8007a7099aa61beb
3ccf295957c8cadc88e1463ea3ab4ec683a0314f
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2100
v2102
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public string Object { get; set; }

/// <summary>
/// The amount an item was discounted for. Positive integer.
/// The discount applied on this line item represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the <c>amount_details[discount_amount]</c> field.
/// </summary>
[JsonProperty("discount_amount")]
#if NET6_0_OR_GREATER
Expand All @@ -45,7 +49,8 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public PaymentIntentAmountDetailsLineItemPaymentMethodOptions PaymentMethodOptions { get; set; }

/// <summary>
/// Unique identifier of the product. At most 12 characters long.
/// The product code of the line item, such as an SKU. Required for L3 rates. At most 12
/// characters long.
/// </summary>
[JsonProperty("product_code")]
#if NET6_0_OR_GREATER
Expand All @@ -54,7 +59,10 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public string ProductCode { get; set; }

/// <summary>
/// Name of the product. At most 100 characters long.
/// The product name of the line item. Required for L3 rates. At most 1024 characters long.
///
/// For Cards, this field is truncated to 26 alphanumeric characters before being sent to
/// the card networks. For Paypal, this field is truncated to 127 characters.
/// </summary>
[JsonProperty("product_name")]
#if NET6_0_OR_GREATER
Expand All @@ -63,7 +71,7 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public string ProductName { get; set; }

/// <summary>
/// Number of items of the product. Positive integer.
/// The quantity of items. Required for L3 rates. An integer greater than 0.
/// </summary>
[JsonProperty("quantity")]
#if NET6_0_OR_GREATER
Expand All @@ -81,7 +89,9 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public PaymentIntentAmountDetailsLineItemTax Tax { get; set; }

/// <summary>
/// Cost of the product. Non-negative integer.
/// The unit cost of the line item represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L3 rates. An integer greater than or equal to 0.
/// </summary>
[JsonProperty("unit_cost")]
#if NET6_0_OR_GREATER
Expand All @@ -90,7 +100,8 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity<PaymentIntentAmou
public long UnitCost { get; set; }

/// <summary>
/// A unit of measure for the line item, such as gallons, feet, meters, etc.
/// A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3
/// rates. At most 12 alphanumeric characters long.
/// </summary>
[JsonProperty("unit_of_measure")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ namespace Stripe
public class PaymentIntentAmountDetailsLineItemTax : StripeEntity<PaymentIntentAmountDetailsLineItemTax>
{
/// <summary>
/// Total portion of the amount that is for tax.
/// The total amount of tax on the transaction represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L2 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the
/// <c>amount_details[line_items][#][tax][total_tax_amount]</c> field.
/// </summary>
[JsonProperty("total_tax_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ namespace Stripe
public class PaymentIntentAmountDetails : StripeEntity<PaymentIntentAmountDetails>
{
/// <summary>
/// The total discount applied on the transaction.
/// The total discount applied on the transaction represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the
/// <c>amount_details[line_items][#][discount_amount]</c> field.
/// </summary>
[JsonProperty("discount_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ namespace Stripe
public class PaymentIntentAmountDetailsShipping : StripeEntity<PaymentIntentAmountDetailsShipping>
{
/// <summary>
/// Portion of the amount that is for shipping.
/// If a physical good is being shipped, the cost of shipping represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than or equal to 0.
/// </summary>
[JsonProperty("amount")]
#if NET6_0_OR_GREATER
Expand All @@ -18,7 +20,8 @@ public class PaymentIntentAmountDetailsShipping : StripeEntity<PaymentIntentAmou
public long? Amount { get; set; }

/// <summary>
/// The postal code that represents the shipping source.
/// If a physical good is being shipped, the postal code of where it is being shipped from.
/// At most 10 alphanumeric characters long, hyphens are allowed.
/// </summary>
[JsonProperty("from_postal_code")]
#if NET6_0_OR_GREATER
Expand All @@ -27,7 +30,8 @@ public class PaymentIntentAmountDetailsShipping : StripeEntity<PaymentIntentAmou
public string FromPostalCode { get; set; }

/// <summary>
/// The postal code that represents the shipping destination.
/// If a physical good is being shipped, the postal code of where it is being shipped to. At
/// most 10 alphanumeric characters long, hyphens are allowed.
/// </summary>
[JsonProperty("to_postal_code")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ namespace Stripe
public class PaymentIntentAmountDetailsTax : StripeEntity<PaymentIntentAmountDetailsTax>
{
/// <summary>
/// Total portion of the amount that is for tax.
/// The total amount of tax on the transaction represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L2 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the
/// <c>amount_details[line_items][#][tax][total_tax_amount]</c> field.
/// </summary>
[JsonProperty("total_tax_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ namespace Stripe
public class PaymentIntentPaymentDetails : StripeEntity<PaymentIntentPaymentDetails>
{
/// <summary>
/// Some customers might be required by their company or organization to provide this
/// information. If so, provide this value. Otherwise you can ignore this field.
/// A unique value to identify the customer. This field is available only for card payments.
///
/// This field is truncated to 25 alphanumeric characters, excluding spaces, before being
/// sent to card networks.
/// </summary>
[JsonProperty("customer_reference")]
#if NET6_0_OR_GREATER
Expand All @@ -19,7 +21,16 @@ public class PaymentIntentPaymentDetails : StripeEntity<PaymentIntentPaymentDeta
public string CustomerReference { get; set; }

/// <summary>
/// A unique value assigned by the business to identify the transaction.
/// A unique value assigned by the business to identify the transaction. Required for L2 and
/// L3 rates.
///
/// Required when the Payment Method Types array contains <c>card</c>, including when <a
/// href="https://stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled">automatic_payment_methods.enabled</a>
/// is set to <c>true</c>.
///
/// For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces,
/// before being sent to card networks. For Klarna, this field is truncated to 255
/// characters and is visible to customers when they view the order in the Klarna app.
/// </summary>
[JsonProperty("order_reference")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ namespace Stripe
public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions
{
/// <summary>
/// The amount an item was discounted for. Positive integer.
/// The discount applied on this line item represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the <c>amount_details[discount_amount]</c> field.
/// </summary>
[JsonProperty("discount_amount")]
#if NET6_0_OR_GREATER
Expand All @@ -27,7 +31,8 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions
public PaymentIntentAmountDetailsLineItemPaymentMethodOptionsOptions PaymentMethodOptions { get; set; }

/// <summary>
/// Unique identifier of the product. At most 12 characters long.
/// The product code of the line item, such as an SKU. Required for L3 rates. At most 12
/// characters long.
/// </summary>
[JsonProperty("product_code")]
#if NET6_0_OR_GREATER
Expand All @@ -36,7 +41,10 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions
public string ProductCode { get; set; }

/// <summary>
/// Name of the product. At most 100 characters long.
/// The product name of the line item. Required for L3 rates. At most 1024 characters long.
///
/// For Cards, this field is truncated to 26 alphanumeric characters before being sent to
/// the card networks. For Paypal, this field is truncated to 127 characters.
/// </summary>
[JsonProperty("product_name")]
#if NET6_0_OR_GREATER
Expand All @@ -45,7 +53,7 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions
public string ProductName { get; set; }

/// <summary>
/// Number of items of the product. Positive integer.
/// The quantity of items. Required for L3 rates. An integer greater than 0.
/// </summary>
[JsonProperty("quantity")]
#if NET6_0_OR_GREATER
Expand All @@ -63,7 +71,9 @@ public class PaymentIntentAmountDetailsLineItemOptions : INestedOptions
public PaymentIntentAmountDetailsLineItemTaxOptions Tax { get; set; }

/// <summary>
/// Cost of the product. Non-negative integer.
/// The unit cost of the line item represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L3 rates. An integer greater than or equal to 0.
/// </summary>
[JsonProperty("unit_cost")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ namespace Stripe
public class PaymentIntentAmountDetailsLineItemTaxOptions : INestedOptions
{
/// <summary>
/// The total tax on an item. Non-negative integer.
/// The total amount of tax on a single line item represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L3 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the <c>amount_details[tax][total_tax_amount]</c>
/// field.
/// </summary>
[JsonProperty("total_tax_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ namespace Stripe
public class PaymentIntentAmountDetailsOptions : INestedOptions
{
/// <summary>
/// The total discount applied on the transaction.
/// The total discount applied on the transaction represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the
/// <c>amount_details[line_items][#][discount_amount]</c> field.
/// </summary>
[JsonProperty("discount_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ namespace Stripe
public class PaymentIntentAmountDetailsShippingOptions : INestedOptions
{
/// <summary>
/// Portion of the amount that is for shipping.
/// If a physical good is being shipped, the cost of shipping represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>. An
/// integer greater than or equal to 0.
/// </summary>
[JsonProperty("amount")]
#if NET6_0_OR_GREATER
Expand All @@ -18,7 +20,8 @@ public class PaymentIntentAmountDetailsShippingOptions : INestedOptions
public long? Amount { get; set; }

/// <summary>
/// The postal code that represents the shipping source.
/// If a physical good is being shipped, the postal code of where it is being shipped from.
/// At most 10 alphanumeric characters long, hyphens are allowed.
/// </summary>
[JsonProperty("from_postal_code")]
#if NET6_0_OR_GREATER
Expand All @@ -27,7 +30,8 @@ public class PaymentIntentAmountDetailsShippingOptions : INestedOptions
public string FromPostalCode { get; set; }

/// <summary>
/// The postal code that represents the shipping destination.
/// If a physical good is being shipped, the postal code of where it is being shipped to. At
/// most 10 alphanumeric characters long, hyphens are allowed.
/// </summary>
[JsonProperty("to_postal_code")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ namespace Stripe
public class PaymentIntentAmountDetailsTaxOptions : INestedOptions
{
/// <summary>
/// Total portion of the amount that is for tax.
/// The total amount of tax on the transaction represented in the <a
/// href="https://stripe.com/docs/currencies#zero-decimal">smallest currency unit</a>.
/// Required for L2 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the
/// <c>amount_details[line_items][#][tax][total_tax_amount]</c> field.
/// </summary>
[JsonProperty("total_tax_amount")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ namespace Stripe
public class PaymentIntentPaymentDetailsOptions : INestedOptions
{
/// <summary>
/// Some customers might be required by their company or organization to provide this
/// information. If so, provide this value. Otherwise you can ignore this field.
/// A unique value to identify the customer. This field is available only for card payments.
///
/// This field is truncated to 25 alphanumeric characters, excluding spaces, before being
/// sent to card networks.
/// </summary>
[JsonProperty("customer_reference")]
#if NET6_0_OR_GREATER
Expand All @@ -19,7 +21,16 @@ public class PaymentIntentPaymentDetailsOptions : INestedOptions
public string CustomerReference { get; set; }

/// <summary>
/// A unique value assigned by the business to identify the transaction.
/// A unique value assigned by the business to identify the transaction. Required for L2 and
/// L3 rates.
///
/// Required when the Payment Method Types array contains <c>card</c>, including when <a
/// href="https://stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled">automatic_payment_methods.enabled</a>
/// is set to <c>true</c>.
///
/// For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces,
/// before being sent to card networks. For Klarna, this field is truncated to 255
/// characters and is visible to customers when they view the order in the Klarna app.
/// </summary>
[JsonProperty("order_reference")]
#if NET6_0_OR_GREATER
Expand Down
Loading