orb-billing 0.9.1 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/orb/models.rbs CHANGED
@@ -203,6 +203,8 @@ module Orb
203
203
 
204
204
  class SubscriptionPriceIntervalsParams = Orb::Models::SubscriptionPriceIntervalsParams
205
205
 
206
+ class SubscriptionRedeemCouponParams = Orb::Models::SubscriptionRedeemCouponParams
207
+
206
208
  class SubscriptionsAPI = Orb::Models::SubscriptionsAPI
207
209
 
208
210
  class SubscriptionSchedulePlanChangeParams = Orb::Models::SubscriptionSchedulePlanChangeParams
@@ -119,6 +119,15 @@ module Orb
119
119
  ?request_options: Orb::request_opts
120
120
  ) -> Orb::Models::SubscriptionPriceIntervalsResponse
121
121
 
122
+ def redeem_coupon: (
123
+ String subscription_id,
124
+ change_option: Orb::Models::SubscriptionRedeemCouponParams::change_option,
125
+ coupon_id: String,
126
+ ?allow_invoice_credit_or_void: bool?,
127
+ ?change_date: Time?,
128
+ ?request_options: Orb::request_opts
129
+ ) -> Orb::Models::SubscriptionRedeemCouponResponse
130
+
122
131
  def schedule_plan_change: (
123
132
  String subscription_id,
124
133
  change_option: Orb::Models::SubscriptionSchedulePlanChangeParams::change_option,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: orb-billing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orb
@@ -218,6 +218,8 @@ files:
218
218
  - lib/orb/models/subscription_list_params.rb
219
219
  - lib/orb/models/subscription_price_intervals_params.rb
220
220
  - lib/orb/models/subscription_price_intervals_response.rb
221
+ - lib/orb/models/subscription_redeem_coupon_params.rb
222
+ - lib/orb/models/subscription_redeem_coupon_response.rb
221
223
  - lib/orb/models/subscription_schedule_plan_change_params.rb
222
224
  - lib/orb/models/subscription_schedule_plan_change_response.rb
223
225
  - lib/orb/models/subscription_trigger_phase_params.rb
@@ -452,6 +454,8 @@ files:
452
454
  - rbi/orb/models/subscription_list_params.rbi
453
455
  - rbi/orb/models/subscription_price_intervals_params.rbi
454
456
  - rbi/orb/models/subscription_price_intervals_response.rbi
457
+ - rbi/orb/models/subscription_redeem_coupon_params.rbi
458
+ - rbi/orb/models/subscription_redeem_coupon_response.rbi
455
459
  - rbi/orb/models/subscription_schedule_plan_change_params.rbi
456
460
  - rbi/orb/models/subscription_schedule_plan_change_response.rbi
457
461
  - rbi/orb/models/subscription_trigger_phase_params.rbi
@@ -685,6 +689,8 @@ files:
685
689
  - sig/orb/models/subscription_list_params.rbs
686
690
  - sig/orb/models/subscription_price_intervals_params.rbs
687
691
  - sig/orb/models/subscription_price_intervals_response.rbs
692
+ - sig/orb/models/subscription_redeem_coupon_params.rbs
693
+ - sig/orb/models/subscription_redeem_coupon_response.rbs
688
694
  - sig/orb/models/subscription_schedule_plan_change_params.rbs
689
695
  - sig/orb/models/subscription_schedule_plan_change_response.rbs
690
696
  - sig/orb/models/subscription_trigger_phase_params.rbs