You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec3.json
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -28576,7 +28576,7 @@
28576
28576
"description": "",
28577
28577
"properties": {
28578
28578
"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.",
28580
28580
"type": "integer"
28581
28581
},
28582
28582
"line_items": {
@@ -28691,7 +28691,7 @@
28691
28691
"description": "",
28692
28692
"properties": {
28693
28693
"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.",
28695
28695
"type": "integer"
28696
28696
}
28697
28697
},
@@ -28706,18 +28706,18 @@
28706
28706
"description": "",
28707
28707
"properties": {
28708
28708
"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.",
28710
28710
"nullable": true,
28711
28711
"type": "integer"
28712
28712
},
28713
28713
"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.",
28715
28715
"maxLength": 5000,
28716
28716
"nullable": true,
28717
28717
"type": "string"
28718
28718
},
28719
28719
"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.",
28721
28721
"maxLength": 5000,
28722
28722
"nullable": true,
28723
28723
"type": "string"
@@ -28731,7 +28731,7 @@
28731
28731
"description": "",
28732
28732
"properties": {
28733
28733
"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.",
28735
28735
"nullable": true,
28736
28736
"type": "integer"
28737
28737
}
@@ -28807,13 +28807,13 @@
28807
28807
"description": "",
28808
28808
"properties": {
28809
28809
"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.",
28811
28811
"maxLength": 5000,
28812
28812
"nullable": true,
28813
28813
"type": "string"
28814
28814
},
28815
28815
"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.",
28817
28817
"maxLength": 5000,
28818
28818
"nullable": true,
28819
28819
"type": "string"
@@ -29643,7 +29643,7 @@
29643
29643
"description": "",
29644
29644
"properties": {
29645
29645
"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.",
29647
29647
"nullable": true,
29648
29648
"type": "integer"
29649
29649
},
@@ -29669,18 +29669,18 @@
29669
29669
"nullable": true
29670
29670
},
29671
29671
"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.",
29673
29673
"maxLength": 5000,
29674
29674
"nullable": true,
29675
29675
"type": "string"
29676
29676
},
29677
29677
"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.",
29679
29679
"maxLength": 5000,
29680
29680
"type": "string"
29681
29681
},
29682
29682
"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.",
29684
29684
"type": "integer"
29685
29685
},
29686
29686
"tax": {
@@ -29693,11 +29693,11 @@
29693
29693
"nullable": true
29694
29694
},
29695
29695
"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.",
29697
29697
"type": "integer"
29698
29698
},
29699
29699
"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.",
Copy file name to clipboardExpand all lines: src/Models/Payment_flows_amount_details.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details : IAdditionalDataHolder, IPars
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
18
18
publicint?DiscountAmount{get;set;}
19
19
/// <summary>A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.</summary>
Copy file name to clipboardExpand all lines: src/Models/Payment_flows_amount_details_resource_line_items_list_resource_line_item_resource_tax.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details_resource_line_items_list_resou
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
18
18
publicint?TotalTaxAmount{get;set;}
19
19
/// <summary>
20
20
/// 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.
Copy file name to clipboardExpand all lines: src/Models/Payment_flows_amount_details_resource_shipping.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,17 @@ public partial class Payment_flows_amount_details_resource_shipping : IAdditiona
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
18
18
publicint?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>
/// <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>
Copy file name to clipboardExpand all lines: src/Models/Payment_flows_amount_details_resource_tax.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ public partial class Payment_flows_amount_details_resource_tax : IAdditionalData
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
18
18
publicint?TotalTaxAmount{get;set;}
19
19
/// <summary>
20
20
/// Instantiates a new <see cref="global::Soenneker.Stripe.OpenApiClient.Models.Payment_flows_amount_details_resource_tax"/> and sets the default values.
Copy file name to clipboardExpand all lines: src/Models/Payment_flows_payment_details.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,15 +14,15 @@ public partial class Payment_flows_payment_details : IAdditionalDataHolder, IPar
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
/// <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>
Copy file name to clipboardExpand all lines: src/Models/Payment_intent_amount_details_line_item.cs
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ public partial class Payment_intent_amount_details_line_item : IAdditionalDataHo
14
14
{
15
15
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
/// <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>
18
18
publicint?DiscountAmount{get;set;}
19
19
/// <summary>Unique identifier for the object.</summary>
/// <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>
/// <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>
64
64
publicint?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>
0 commit comments