Skip to content

Commit a321e4c

Browse files
feat(api): api update
1 parent c9b8382 commit a321e4c

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 118
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-0ab0946487d1ee971683d894554494d9940010403874c0be724ffc3a82d696db.yml
3-
openapi_spec_hash: 66b792328a4faee3c7659185accc3f0e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-033643979990e894363554df06218fabe4493feaa569a013dbdf9a72aa21c45f.yml
3+
openapi_spec_hash: dd9d320ad178bafa06f1eac2977e2ca7
44
config_hash: e6db17547fe854b1c240407cf4c6dc9e

orb-java-core/src/main/kotlin/com/withorb/api/models/SubscriptionCreateParams.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,9 @@ import kotlin.jvm.optionals.getOrNull
263263
* threshold billing, pass in an `invoicing_threshold`, which is specified in the subscription's
264264
* invoicing currency, when creating a subscription. E.g. pass in `10.00` to issue an invoice when
265265
* usage amounts hit \$10.00 for a subscription that invoices in USD.
266+
*
267+
* ## Limits
268+
* By default, Orb limits the number of subscriptions per customer to 100.
266269
*/
267270
class SubscriptionCreateParams
268271
private constructor(

orb-java-core/src/main/kotlin/com/withorb/api/services/async/SubscriptionServiceAsync.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ interface SubscriptionServiceAsync {
280280
* enable threshold billing, pass in an `invoicing_threshold`, which is specified in the
281281
* subscription's invoicing currency, when creating a subscription. E.g. pass in `10.00` to
282282
* issue an invoice when usage amounts hit \$10.00 for a subscription that invoices in USD.
283+
*
284+
* ## Limits
285+
* By default, Orb limits the number of subscriptions per customer to 100.
283286
*/
284287
fun create(): CompletableFuture<MutatedSubscription> = create(SubscriptionCreateParams.none())
285288

orb-java-core/src/main/kotlin/com/withorb/api/services/blocking/SubscriptionService.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,9 @@ interface SubscriptionService {
280280
* enable threshold billing, pass in an `invoicing_threshold`, which is specified in the
281281
* subscription's invoicing currency, when creating a subscription. E.g. pass in `10.00` to
282282
* issue an invoice when usage amounts hit \$10.00 for a subscription that invoices in USD.
283+
*
284+
* ## Limits
285+
* By default, Orb limits the number of subscriptions per customer to 100.
283286
*/
284287
fun create(): MutatedSubscription = create(SubscriptionCreateParams.none())
285288

0 commit comments

Comments
 (0)