Skip to content

Commit 56662cb

Browse files
committed
Automated update
1 parent 7a61427 commit 56662cb

8 files changed

+29
-29
lines changed

spec3.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28576,7 +28576,7 @@
2857628576
"description": "",
2857728577
"properties": {
2857828578
"discount_amount": {
28579-
"description": "The total discount applied on the transaction.",
28579+
"description": "The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.",
2858028580
"type": "integer"
2858128581
},
2858228582
"line_items": {
@@ -28691,7 +28691,7 @@
2869128691
"description": "",
2869228692
"properties": {
2869328693
"total_tax_amount": {
28694-
"description": "Total portion of the amount that is for tax.",
28694+
"description": "The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.",
2869528695
"type": "integer"
2869628696
}
2869728697
},
@@ -28706,18 +28706,18 @@
2870628706
"description": "",
2870728707
"properties": {
2870828708
"amount": {
28709-
"description": "Portion of the amount that is for shipping.",
28709+
"description": "If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.",
2871028710
"nullable": true,
2871128711
"type": "integer"
2871228712
},
2871328713
"from_postal_code": {
28714-
"description": "The postal code that represents the shipping source.",
28714+
"description": "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.",
2871528715
"maxLength": 5000,
2871628716
"nullable": true,
2871728717
"type": "string"
2871828718
},
2871928719
"to_postal_code": {
28720-
"description": "The postal code that represents the shipping destination.",
28720+
"description": "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.",
2872128721
"maxLength": 5000,
2872228722
"nullable": true,
2872328723
"type": "string"
@@ -28731,7 +28731,7 @@
2873128731
"description": "",
2873228732
"properties": {
2873328733
"total_tax_amount": {
28734-
"description": "Total portion of the amount that is for tax.",
28734+
"description": "The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.\n\nThis field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.",
2873528735
"nullable": true,
2873628736
"type": "integer"
2873728737
}
@@ -28807,13 +28807,13 @@
2880728807
"description": "",
2880828808
"properties": {
2880928809
"customer_reference": {
28810-
"description": "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.",
28810+
"description": "A unique value to identify the customer. This field is available only for card payments.\n\nThis field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.",
2881128811
"maxLength": 5000,
2881228812
"nullable": true,
2881328813
"type": "string"
2881428814
},
2881528815
"order_reference": {
28816-
"description": "A unique value assigned by the business to identify the transaction.",
28816+
"description": "A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.\n\nRequired when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.\n\nFor 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.",
2881728817
"maxLength": 5000,
2881828818
"nullable": true,
2881928819
"type": "string"
@@ -29643,7 +29643,7 @@
2964329643
"description": "",
2964429644
"properties": {
2964529645
"discount_amount": {
29646-
"description": "The amount an item was discounted for. Positive integer.",
29646+
"description": "The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.\n\nThis field is mutually exclusive with the `amount_details[discount_amount]` field.",
2964729647
"nullable": true,
2964829648
"type": "integer"
2964929649
},
@@ -29669,18 +29669,18 @@
2966929669
"nullable": true
2967029670
},
2967129671
"product_code": {
29672-
"description": "Unique identifier of the product. At most 12 characters long.",
29672+
"description": "The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.",
2967329673
"maxLength": 5000,
2967429674
"nullable": true,
2967529675
"type": "string"
2967629676
},
2967729677
"product_name": {
29678-
"description": "Name of the product. At most 100 characters long.",
29678+
"description": "The product name of the line item. Required for L3 rates. At most 1024 characters long.\n\nFor 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.",
2967929679
"maxLength": 5000,
2968029680
"type": "string"
2968129681
},
2968229682
"quantity": {
29683-
"description": "Number of items of the product. Positive integer.",
29683+
"description": "The quantity of items. Required for L3 rates. An integer greater than 0.",
2968429684
"type": "integer"
2968529685
},
2968629686
"tax": {
@@ -29693,11 +29693,11 @@
2969329693
"nullable": true
2969429694
},
2969529695
"unit_cost": {
29696-
"description": "Cost of the product. Non-negative integer.",
29696+
"description": "The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.",
2969729697
"type": "integer"
2969829698
},
2969929699
"unit_of_measure": {
29700-
"description": "A unit of measure for the line item, such as gallons, feet, meters, etc.",
29700+
"description": "A unit of measure for the line item, such as gallons, feet, meters, etc. Required for L3 rates. At most 12 alphanumeric characters long.",
2970129701
"maxLength": 5000,
2970229702
"nullable": true,
2970329703
"type": "string"

src/Models/Payment_flows_amount_details.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details : IAdditionalDataHolder, IPars
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>The total discount applied on the transaction.</summary>
17+
/// <summary>The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.</summary>
1818
public int? DiscountAmount { get; set; }
1919
/// <summary>A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.</summary>
2020
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER

src/Models/Payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details_resource_line_items_list_resou
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>Total portion of the amount that is for tax.</summary>
17+
/// <summary>The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.</summary>
1818
public int? TotalTaxAmount { get; set; }
1919
/// <summary>
2020
/// Instantiates a new <see cref="global::Soenneker.Stripe.OpenApiClient.Models.Payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax"/> and sets the default values.

src/Models/Payment_flows_amount_details_resource_shipping.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ public partial class Payment_flows_amount_details_resource_shipping : IAdditiona
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>Portion of the amount that is for shipping.</summary>
17+
/// <summary>If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.</summary>
1818
public int? Amount { get; set; }
19-
/// <summary>The postal code that represents the shipping source.</summary>
19+
/// <summary>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>
2020
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
2121
#nullable enable
2222
public string? FromPostalCode { get; set; }
2323
#nullable restore
2424
#else
2525
public string FromPostalCode { get; set; }
2626
#endif
27-
/// <summary>The postal code that represents the shipping destination.</summary>
27+
/// <summary>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>
2828
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
2929
#nullable enable
3030
public string? ToPostalCode { get; set; }

src/Models/Payment_flows_amount_details_resource_tax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details_resource_tax : IAdditionalData
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>Total portion of the amount that is for tax.</summary>
17+
/// <summary>The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.</summary>
1818
public int? TotalTaxAmount { get; set; }
1919
/// <summary>
2020
/// Instantiates a new <see cref="global::Soenneker.Stripe.OpenApiClient.Models.Payment_flows_amount_details_resource_tax"/> and sets the default values.

src/Models/Payment_flows_payment_details.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ public partial class Payment_flows_payment_details : IAdditionalDataHolder, IPar
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <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.</summary>
17+
/// <summary>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>
1818
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
1919
#nullable enable
2020
public string? CustomerReference { get; set; }
2121
#nullable restore
2222
#else
2323
public string CustomerReference { get; set; }
2424
#endif
25-
/// <summary>A unique value assigned by the business to identify the transaction.</summary>
25+
/// <summary>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 `card`, including when [automatic_payment_methods.enabled](/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.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>
2626
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
2727
#nullable enable
2828
public string? OrderReference { get; set; }

src/Models/Payment_intent_amount_details_line_item.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public partial class Payment_intent_amount_details_line_item : IAdditionalDataHo
1414
{
1515
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1616
public IDictionary<string, object> AdditionalData { get; set; }
17-
/// <summary>The amount an item was discounted for. Positive integer.</summary>
17+
/// <summary>The discount applied on this line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.This field is mutually exclusive with the `amount_details[discount_amount]` field.</summary>
1818
public int? DiscountAmount { get; set; }
1919
/// <summary>Unique identifier for the object.</summary>
2020
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -34,23 +34,23 @@ public partial class Payment_intent_amount_details_line_item : IAdditionalDataHo
3434
#else
3535
public global::Soenneker.Stripe.OpenApiClient.Models.Payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_payment_method_options PaymentMethodOptions { get; set; }
3636
#endif
37-
/// <summary>Unique identifier of the product. At most 12 characters long.</summary>
37+
/// <summary>The product code of the line item, such as an SKU. Required for L3 rates. At most 12 characters long.</summary>
3838
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
3939
#nullable enable
4040
public string? ProductCode { get; set; }
4141
#nullable restore
4242
#else
4343
public string ProductCode { get; set; }
4444
#endif
45-
/// <summary>Name of the product. At most 100 characters long.</summary>
45+
/// <summary>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>
4646
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
4747
#nullable enable
4848
public string? ProductName { get; set; }
4949
#nullable restore
5050
#else
5151
public string ProductName { get; set; }
5252
#endif
53-
/// <summary>Number of items of the product. Positive integer.</summary>
53+
/// <summary>The quantity of items. Required for L3 rates. An integer greater than 0.</summary>
5454
public int? Quantity { get; set; }
5555
/// <summary>Contains information about the tax on the item.</summary>
5656
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -60,9 +60,9 @@ public partial class Payment_intent_amount_details_line_item : IAdditionalDataHo
6060
#else
6161
public global::Soenneker.Stripe.OpenApiClient.Models.Payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax Tax { get; set; }
6262
#endif
63-
/// <summary>Cost of the product. Non-negative integer.</summary>
63+
/// <summary>The unit cost of the line item represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L3 rates. An integer greater than or equal to 0.</summary>
6464
public int? UnitCost { get; set; }
65-
/// <summary>A unit of measure for the line item, such as gallons, feet, meters, etc.</summary>
65+
/// <summary>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>
6666
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
6767
#nullable enable
6868
public string? UnitOfMeasure { get; set; }

src/kiota-lock.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"descriptionHash": "31F35E41655989530674C8B042234654C85DDDADA26655FDCA677EDC0FA910DC67CF63B0C1D659A77FD6556F3CBCD1AE055ABCCE2791F1DE18DD95424CF7AD69",
2+
"descriptionHash": "F185710AE9ABECE6D1149EDC9F71FD76B4B037538BC84FF61D4F0DA3AE43DB8231721B3C48B3E17103362D938C6FD7CC6E04BF5C116A5674D1165E3406674868",
33
"descriptionLocation": "../spec3.json",
44
"lockFileVersion": "1.0.0",
55
"kiotaVersion": "1.29.0",

0 commit comments

Comments
 (0)