Skip to content

Commit 219a339

Browse files
feat(api): api update (#229)
1 parent d13cf22 commit 219a339

42 files changed

Lines changed: 37690 additions & 11194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-8663e8fc543041d9694eddcd2f7e9784611369606700f99340e6dc80607b2dfa.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-0dbb8ba730f755468357ebda41332664e8396faf29a6a6a64ad37cf35cf70d0c.yml

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -794,6 +794,37 @@ private constructor(
794794
fun price(maxGroupTieredPackage: Price.MaxGroupTieredPackagePrice) =
795795
price(Price.ofMaxGroupTieredPackage(maxGroupTieredPackage))
796796

797+
/**
798+
* The Price resource represents a price that can be billed on a subscription,
799+
* resulting in a charge on an invoice in the form of an invoice line item. Prices
800+
* take a quantity and determine an amount to bill.
801+
*
802+
* Orb supports a few different pricing models out of the box. Each of these models
803+
* is serialized differently in a given Price object. The model_type field
804+
* determines the key for the configuration object that is present.
805+
*
806+
* For more on the types of prices, see
807+
* [the core concepts documentation](/core-concepts#plan-and-price)
808+
*/
809+
fun price(scalableMatrixWithUnitPricing: Price.ScalableMatrixWithUnitPricingPrice) =
810+
price(Price.ofScalableMatrixWithUnitPricing(scalableMatrixWithUnitPricing))
811+
812+
/**
813+
* The Price resource represents a price that can be billed on a subscription,
814+
* resulting in a charge on an invoice in the form of an invoice line item. Prices
815+
* take a quantity and determine an amount to bill.
816+
*
817+
* Orb supports a few different pricing models out of the box. Each of these models
818+
* is serialized differently in a given Price object. The model_type field
819+
* determines the key for the configuration object that is present.
820+
*
821+
* For more on the types of prices, see
822+
* [the core concepts documentation](/core-concepts#plan-and-price)
823+
*/
824+
fun price(
825+
scalableMatrixWithTieredPricing: Price.ScalableMatrixWithTieredPricingPrice
826+
) = price(Price.ofScalableMatrixWithTieredPricing(scalableMatrixWithTieredPricing))
827+
797828
/**
798829
* Price's contributions for the timeframe, excluding any minimums and discounts.
799830
*/

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

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,37 @@ private constructor(
791791
fun price(maxGroupTieredPackage: Price.MaxGroupTieredPackagePrice) =
792792
price(Price.ofMaxGroupTieredPackage(maxGroupTieredPackage))
793793

794+
/**
795+
* The Price resource represents a price that can be billed on a subscription,
796+
* resulting in a charge on an invoice in the form of an invoice line item. Prices
797+
* take a quantity and determine an amount to bill.
798+
*
799+
* Orb supports a few different pricing models out of the box. Each of these models
800+
* is serialized differently in a given Price object. The model_type field
801+
* determines the key for the configuration object that is present.
802+
*
803+
* For more on the types of prices, see
804+
* [the core concepts documentation](/core-concepts#plan-and-price)
805+
*/
806+
fun price(scalableMatrixWithUnitPricing: Price.ScalableMatrixWithUnitPricingPrice) =
807+
price(Price.ofScalableMatrixWithUnitPricing(scalableMatrixWithUnitPricing))
808+
809+
/**
810+
* The Price resource represents a price that can be billed on a subscription,
811+
* resulting in a charge on an invoice in the form of an invoice line item. Prices
812+
* take a quantity and determine an amount to bill.
813+
*
814+
* Orb supports a few different pricing models out of the box. Each of these models
815+
* is serialized differently in a given Price object. The model_type field
816+
* determines the key for the configuration object that is present.
817+
*
818+
* For more on the types of prices, see
819+
* [the core concepts documentation](/core-concepts#plan-and-price)
820+
*/
821+
fun price(
822+
scalableMatrixWithTieredPricing: Price.ScalableMatrixWithTieredPricingPrice
823+
) = price(Price.ofScalableMatrixWithTieredPricing(scalableMatrixWithTieredPricing))
824+
794825
/**
795826
* Price's contributions for the timeframe, excluding any minimums and discounts.
796827
*/

0 commit comments

Comments
 (0)