Skip to content

Commit

Permalink
Unify ord_ and sub_ prefixes (#1872)
Browse files Browse the repository at this point in the history
* Update ord_cnl_ to sub_cnl_

* Update ord_itm_ to sub_itm_

* Update ord_pau_ to sub_pau_

* Update ord_rct_ to sub_rct_

* Update ord_usg_ to sub_usg_

* Update ord_ to sub_

* Change back sub_ to ord_ prefix

* Update description of the subscription item

* Unify ord_ prefixes

* Unify sub_itm_ prefix

* Update ord_ prefix ULID

* Update subscriptionId example

* Remove ambiguous example

* Update subscriptionId example

* Update subscriptionId example

* Remove ambiguous example

* Update subscriptionId example

* Update subscriptionId example

* Remove ambiguous example
  • Loading branch information
nanobash authored May 8, 2024
1 parent 46d40e8 commit d990e9e
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ properties:
orderId:
type: string
description: ID of the order associated with the reactivation quote.
example: ord_01HRF27SATGE4Z6PBJE6PD8328
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
items:
type: array
description: Details of items in the subscription.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Invoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ properties:
orderId:
description: ID of the order (experimental).
readOnly: true
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
type:
- 'string'
- 'null'
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/OneTimeSale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
description: ID of the order (experimental).
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
orderType:
description: |-
Specifies the type of order.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/QuoteChangeOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ properties:
description: ID of the related subscription.
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
1 change: 0 additions & 1 deletion openapi/components/schemas/QuoteCreateOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ properties:
- 'string'
- 'null'
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/QuoteReactivateOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ properties:
description: ID of the related subscription.
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
1 change: 0 additions & 1 deletion openapi/components/schemas/QuoteTrialConversionOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ properties:
description: ID of the related order.
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontInvoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ properties:
orderId:
description: ID of the order (experimental).
readOnly: true
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
type:
- 'string'
- 'null'
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontQuoteChangeOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ properties:
readOnly: true
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
1 change: 0 additions & 1 deletion openapi/components/schemas/StorefrontQuoteCreateOrder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ properties:
- 'string'
- 'null'
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ properties:
readOnly: true
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ properties:
readOnly: true
type: string
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: sub_01HRF27SATGE4Z6PBJE6PD8328
invoiceId:
type: string
description: ID of the payment invoice.
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontSubscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ properties:
- 'string'
- 'null'
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
currency:
description: Currency of the order.
readOnly: true
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/StorefrontUpcomingInvoice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
- 'string'
- 'null'
maxLength: 50
example: ord_0YV7DES3WPC5J8JD8QTVNZBZNZ
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
currency:
$ref: ./CurrencyCode.yaml
items:
Expand Down
2 changes: 1 addition & 1 deletion openapi/components/schemas/Subscription.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ properties:
description: ID of the order (experimental).
readOnly: true
maxLength: 50
example: ord_01GYJPRKHBD6ZYHH897QCJMBS4
example: ord_01HVKA5975PJBSQ1SX72G3MSZC
orderType:
description: |-
Specifies the type of order.
Expand Down

0 comments on commit d990e9e

Please sign in to comment.