Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 19, 2024
1 parent 2be2ca6 commit 675fdd7
Show file tree
Hide file tree
Showing 6 changed files with 46 additions and 22 deletions.
8 changes: 4 additions & 4 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -31250,7 +31250,7 @@
"maxLength": 500,
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created.",
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.",
"type": "object"
},
"object": {
Expand Down Expand Up @@ -117631,7 +117631,7 @@
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data."
},
"period": {
"description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.",
Expand Down Expand Up @@ -118522,7 +118522,7 @@
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data."
},
"lines": {
"description": "The line items to update.",
Expand Down Expand Up @@ -118662,7 +118662,7 @@
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data."
},
"period": {
"description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.",
Expand Down
26 changes: 20 additions & 6 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28334,9 +28334,10 @@ components:
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that
you can attach to an object. This can be useful for storing
additional information about the object in a structured format. Note
that for line items with `type=subscription` this will reflect the
metadata of the subscription that caused the line item to be
created.
that for line items with `type=subscription`, `metadata` reflects
the current metadata from the subscription associated with the line
item, unless the invoice line was directly updated with different
metadata after creation.
type: object
object:
description: >-
Expand Down Expand Up @@ -107657,7 +107658,11 @@ paths:
additional information about the object in a structured
format. Individual keys can be unset by posting an empty
value to them. All keys can be unset by posting an empty
value to `metadata`.
value to `metadata`. For `type=recurring` line items, the
incoming metadata specified on the request is directly used
to set this value, in contrast to `type=invoiceitem` line
items, where any existing metadata on the invoice line is
merged with the incoming data.
period:
description: >-
The period associated with this invoice item. When set to
Expand Down Expand Up @@ -108461,7 +108466,11 @@ paths:
additional information about the object in a structured
format. Individual keys can be unset by posting an empty
value to them. All keys can be unset by posting an empty
value to `metadata`.
value to `metadata`. For `type=recurring` line items, the
incoming metadata specified on the request is directly used
to set this value, in contrast to `type=invoiceitem` line
items, where any existing metadata on the invoice line is
merged with the incoming data.
lines:
description: The line items to update.
items:
Expand Down Expand Up @@ -108600,7 +108609,12 @@ paths:
storing additional information about the object in a
structured format. Individual keys can be unset by
posting an empty value to them. All keys can be unset
by posting an empty value to `metadata`.
by posting an empty value to `metadata`. For
`type=recurring` line items, the incoming metadata
specified on the request is directly used to set this
value, in contrast to `type=invoiceitem` line items,
where any existing metadata on the invoice line is
merged with the incoming data.
period:
description: >-
The period associated with this invoice item. When set
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -22342,7 +22342,7 @@
"maxLength": 500,
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created.",
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.",
"type": "object"
},
"object": {
Expand Down Expand Up @@ -91724,7 +91724,7 @@
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data."
},
"period": {
"description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.",
Expand Down
4 changes: 2 additions & 2 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -27893,7 +27893,7 @@
"maxLength": 500,
"type": "string"
},
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription` this will reflect the metadata of the subscription that caused the line item to be created.",
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Note that for line items with `type=subscription`, `metadata` reflects the current metadata from the subscription associated with the line item, unless the invoice line was directly updated with different metadata after creation.",
"type": "object"
},
"object": {
Expand Down Expand Up @@ -97496,7 +97496,7 @@
"type": "string"
}
],
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`. For `type=recurring` line items, the incoming metadata specified on the request is directly used to set this value, in contrast to `type=invoiceitem` line items, where any existing metadata on the invoice line is merged with the incoming data."
},
"period": {
"description": "The period associated with this invoice item. When set to different values, the period will be rendered on the invoice. If you have [Stripe Revenue Recognition](https://stripe.com/docs/revenue-recognition) enabled, the period will be used to recognize and defer revenue. See the [Revenue Recognition documentation](https://stripe.com/docs/revenue-recognition/methodology/subscriptions-and-invoicing) for details.",
Expand Down
13 changes: 9 additions & 4 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25395,9 +25395,10 @@ components:
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that
you can attach to an object. This can be useful for storing
additional information about the object in a structured format. Note
that for line items with `type=subscription` this will reflect the
metadata of the subscription that caused the line item to be
created.
that for line items with `type=subscription`, `metadata` reflects
the current metadata from the subscription associated with the line
item, unless the invoice line was directly updated with different
metadata after creation.
type: object
object:
description: >-
Expand Down Expand Up @@ -89570,7 +89571,11 @@ paths:
additional information about the object in a structured
format. Individual keys can be unset by posting an empty
value to them. All keys can be unset by posting an empty
value to `metadata`.
value to `metadata`. For `type=recurring` line items, the
incoming metadata specified on the request is directly used
to set this value, in contrast to `type=invoiceitem` line
items, where any existing metadata on the invoice line is
merged with the incoming data.
period:
description: >-
The period associated with this invoice item. When set to
Expand Down
13 changes: 9 additions & 4 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21112,9 +21112,10 @@ components:
Set of [key-value pairs](https://stripe.com/docs/api/metadata) that
you can attach to an object. This can be useful for storing
additional information about the object in a structured format. Note
that for line items with `type=subscription` this will reflect the
metadata of the subscription that caused the line item to be
created.
that for line items with `type=subscription`, `metadata` reflects
the current metadata from the subscription associated with the line
item, unless the invoice line was directly updated with different
metadata after creation.
type: object
object:
description: >-
Expand Down Expand Up @@ -79232,7 +79233,11 @@ paths:
additional information about the object in a structured
format. Individual keys can be unset by posting an empty
value to them. All keys can be unset by posting an empty
value to `metadata`.
value to `metadata`. For `type=recurring` line items, the
incoming metadata specified on the request is directly used
to set this value, in contrast to `type=invoiceitem` line
items, where any existing metadata on the invoice line is
merged with the incoming data.
period:
description: >-
The period associated with this invoice item. When set to
Expand Down

0 comments on commit 675fdd7

Please sign in to comment.