billabear 1.0.0 → 1.1.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.
Files changed (215) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +509 -364
  3. data/billabear.gemspec +4 -4
  4. data/docs/Address.md +1 -1
  5. data/docs/BillingAdmin.md +1 -1
  6. data/docs/CheckoutApi.md +6 -6
  7. data/docs/CheckoutBody.md +1 -1
  8. data/docs/CheckoutItems.md +1 -1
  9. data/docs/CheckoutSubscriptions.md +1 -1
  10. data/docs/Cost.md +8 -0
  11. data/docs/Customer.md +3 -1
  12. data/docs/CustomerIdUasgelimitBody.md +8 -0
  13. data/docs/CustomersApi.md +319 -101
  14. data/docs/Error.md +1 -1
  15. data/docs/Event.md +11 -0
  16. data/docs/Feature.md +1 -1
  17. data/docs/FrontendToken.md +1 -1
  18. data/docs/InlineResponse200.md +1 -1
  19. data/docs/InlineResponse2001.md +3 -4
  20. data/docs/InlineResponse20010.md +2 -2
  21. data/docs/InlineResponse20011.md +4 -2
  22. data/docs/InlineResponse20012.md +4 -3
  23. data/docs/InlineResponse20013.md +7 -0
  24. data/docs/InlineResponse20014.md +8 -0
  25. data/docs/InlineResponse2002.md +4 -4
  26. data/docs/InlineResponse2003.md +2 -2
  27. data/docs/InlineResponse2004.md +2 -2
  28. data/docs/InlineResponse2005.md +2 -2
  29. data/docs/InlineResponse2006.md +2 -2
  30. data/docs/InlineResponse2007.md +2 -2
  31. data/docs/InlineResponse2008.md +2 -2
  32. data/docs/InlineResponse2009.md +2 -2
  33. data/docs/{InlineResponse2007Data.md → InlineResponse2009Data.md} +2 -2
  34. data/docs/{InlineResponse2007Receipts.md → InlineResponse2009Receipts.md} +1 -1
  35. data/docs/InlineResponse201.md +1 -1
  36. data/docs/InlineResponse201Lines.md +1 -1
  37. data/docs/InlineResponse400.md +1 -1
  38. data/docs/Invoice.md +1 -1
  39. data/docs/InvoiceLines.md +1 -1
  40. data/docs/InvoicesApi.md +17 -17
  41. data/docs/IssueRefundPayment.md +1 -1
  42. data/docs/Limit.md +1 -1
  43. data/docs/Metric.md +12 -0
  44. data/docs/MetricCost.md +10 -0
  45. data/docs/MetricFilter.md +11 -0
  46. data/docs/PaymentDetails.md +1 -1
  47. data/docs/PaymentDetailsApi.md +48 -52
  48. data/docs/PaymentsApi.md +41 -42
  49. data/docs/Price.md +2 -1
  50. data/docs/PricesApi.md +15 -16
  51. data/docs/Product.md +1 -1
  52. data/docs/ProductTaxType.md +1 -1
  53. data/docs/ProductsApi.md +23 -24
  54. data/docs/ReceiptApi.md +5 -5
  55. data/docs/Refund.md +1 -1
  56. data/docs/RefundsApi.md +17 -17
  57. data/docs/SeatsAddBody.md +1 -1
  58. data/docs/SeatsRemoveBody.md +1 -1
  59. data/docs/Subscription.md +2 -1
  60. data/docs/SubscriptionIdCancelBody.md +1 -1
  61. data/docs/SubscriptionIdExtendBody.md +1 -1
  62. data/docs/SubscriptionIdPlanBody.md +2 -2
  63. data/docs/SubscriptionIdPriceBody.md +1 -1
  64. data/docs/SubscriptionPlan.md +1 -1
  65. data/docs/SubscriptionStartBody.md +2 -1
  66. data/docs/SubscriptionTrialBody.md +1 -1
  67. data/docs/SubscriptionsApi.md +78 -79
  68. data/docs/UsageApi.md +279 -0
  69. data/docs/UsageLimit.md +9 -0
  70. data/docs/VoucherCode.md +1 -1
  71. data/git_push.sh +2 -2
  72. data/lib/{swagger_client → billabear}/api/checkout_api.rb +3 -3
  73. data/lib/{swagger_client → billabear}/api/customers_api.rb +284 -45
  74. data/lib/{swagger_client → billabear}/api/invoices_api.rb +9 -9
  75. data/lib/{swagger_client → billabear}/api/payment_details_api.rb +26 -26
  76. data/lib/{swagger_client → billabear}/api/payments_api.rb +20 -20
  77. data/lib/{swagger_client → billabear}/api/prices_api.rb +11 -11
  78. data/lib/{swagger_client → billabear}/api/products_api.rb +11 -11
  79. data/lib/{swagger_client → billabear}/api/receipt_api.rb +3 -3
  80. data/lib/{swagger_client → billabear}/api/refunds_api.rb +9 -9
  81. data/lib/{swagger_client → billabear}/api/subscriptions_api.rb +29 -29
  82. data/lib/billabear/api/usage_api.rb +314 -0
  83. data/lib/{swagger_client → billabear}/api_client.rb +4 -4
  84. data/lib/{swagger_client → billabear}/api_error.rb +3 -3
  85. data/lib/{swagger_client → billabear}/configuration.rb +3 -3
  86. data/lib/{swagger_client → billabear}/models/address.rb +6 -6
  87. data/lib/{swagger_client → billabear}/models/billing_admin.rb +6 -6
  88. data/lib/{swagger_client → billabear}/models/checkout_body.rb +6 -6
  89. data/lib/{swagger_client → billabear}/models/checkout_items.rb +6 -6
  90. data/lib/{swagger_client → billabear}/models/checkout_subscriptions.rb +6 -6
  91. data/lib/billabear/models/cost.rb +215 -0
  92. data/lib/{swagger_client → billabear}/models/customer.rb +45 -11
  93. data/lib/billabear/models/customer_id_uasgelimit_body.rb +259 -0
  94. data/lib/{swagger_client → billabear}/models/error.rb +6 -6
  95. data/lib/billabear/models/event.rb +262 -0
  96. data/lib/{swagger_client → billabear}/models/feature.rb +6 -6
  97. data/lib/{swagger_client → billabear}/models/frontend_token.rb +6 -6
  98. data/lib/{swagger_client → billabear}/models/inline_response_200.rb +6 -6
  99. data/lib/billabear/models/inline_response_200_1.rb +217 -0
  100. data/lib/{swagger_client → billabear}/models/inline_response_200_10.rb +6 -6
  101. data/lib/{swagger_client/models/inline_response_200_2.rb → billabear/models/inline_response_200_11.rb} +7 -7
  102. data/lib/billabear/models/inline_response_200_12.rb +226 -0
  103. data/lib/{swagger_client/models/inline_response_200_11.rb → billabear/models/inline_response_200_13.rb} +7 -7
  104. data/lib/{swagger_client/models/inline_response_200_12.rb → billabear/models/inline_response_200_14.rb} +7 -7
  105. data/lib/{swagger_client/models/inline_response_200_1.rb → billabear/models/inline_response_200_2.rb} +7 -7
  106. data/lib/{swagger_client → billabear}/models/inline_response_200_3.rb +6 -6
  107. data/lib/{swagger_client → billabear}/models/inline_response_200_4.rb +6 -6
  108. data/lib/{swagger_client → billabear}/models/inline_response_200_5.rb +6 -6
  109. data/lib/{swagger_client → billabear}/models/inline_response_200_6.rb +6 -6
  110. data/lib/{swagger_client → billabear}/models/inline_response_200_7.rb +6 -6
  111. data/lib/{swagger_client → billabear}/models/inline_response_200_8.rb +6 -6
  112. data/lib/{swagger_client → billabear}/models/inline_response_200_9.rb +6 -6
  113. data/lib/{swagger_client/models/inline_response_200_7_data.rb → billabear/models/inline_response_200_9_data.rb} +7 -7
  114. data/lib/{swagger_client/models/inline_response_200_7_receipts.rb → billabear/models/inline_response_200_9_receipts.rb} +7 -7
  115. data/lib/{swagger_client → billabear}/models/inline_response_201.rb +6 -6
  116. data/lib/{swagger_client → billabear}/models/inline_response_201_lines.rb +6 -6
  117. data/lib/{swagger_client → billabear}/models/inline_response_400.rb +6 -6
  118. data/lib/{swagger_client → billabear}/models/invoice.rb +6 -6
  119. data/lib/{swagger_client → billabear}/models/invoice_lines.rb +6 -6
  120. data/lib/{swagger_client → billabear}/models/issue_refund_payment.rb +6 -6
  121. data/lib/{swagger_client → billabear}/models/limit.rb +6 -6
  122. data/lib/billabear/models/metric.rb +288 -0
  123. data/lib/billabear/models/metric_cost.rb +234 -0
  124. data/lib/billabear/models/metric_filter.rb +276 -0
  125. data/lib/{swagger_client → billabear}/models/payment_details.rb +6 -6
  126. data/lib/{swagger_client → billabear}/models/price.rb +20 -11
  127. data/lib/{swagger_client → billabear}/models/product.rb +6 -6
  128. data/lib/{swagger_client → billabear}/models/product_tax_type.rb +6 -6
  129. data/lib/{swagger_client → billabear}/models/refund.rb +6 -6
  130. data/lib/{swagger_client → billabear}/models/seats_add_body.rb +6 -6
  131. data/lib/{swagger_client → billabear}/models/seats_remove_body.rb +6 -6
  132. data/lib/{swagger_client → billabear}/models/subscription.rb +16 -7
  133. data/lib/{swagger_client → billabear}/models/subscription_id_cancel_body.rb +6 -6
  134. data/lib/{swagger_client → billabear}/models/subscription_id_extend_body.rb +6 -6
  135. data/lib/{swagger_client → billabear}/models/subscription_id_plan_body.rb +11 -6
  136. data/lib/{swagger_client → billabear}/models/subscription_id_price_body.rb +6 -6
  137. data/lib/{swagger_client → billabear}/models/subscription_plan.rb +6 -6
  138. data/lib/{swagger_client → billabear}/models/subscription_start_body.rb +20 -10
  139. data/lib/{swagger_client → billabear}/models/subscription_trial_body.rb +6 -6
  140. data/lib/billabear/models/usage_limit.rb +258 -0
  141. data/lib/{swagger_client → billabear}/models/voucher_code.rb +6 -6
  142. data/lib/{swagger_client → billabear}/version.rb +4 -4
  143. data/lib/billabear.rb +105 -0
  144. data/spec/api/checkout_api_spec.rb +5 -5
  145. data/spec/api/customers_api_spec.rb +68 -17
  146. data/spec/api/invoices_api_spec.rb +7 -7
  147. data/spec/api/payment_details_api_spec.rb +10 -10
  148. data/spec/api/payments_api_spec.rb +10 -10
  149. data/spec/api/prices_api_spec.rb +7 -7
  150. data/spec/api/products_api_spec.rb +7 -7
  151. data/spec/api/receipt_api_spec.rb +5 -5
  152. data/spec/api/refunds_api_spec.rb +7 -7
  153. data/spec/api/subscriptions_api_spec.rb +13 -13
  154. data/spec/api/usage_api_spec.rb +96 -0
  155. data/spec/api_client_spec.rb +31 -31
  156. data/spec/configuration_spec.rb +5 -5
  157. data/spec/models/address_spec.rb +5 -5
  158. data/spec/models/billing_admin_spec.rb +5 -5
  159. data/spec/models/checkout_body_spec.rb +5 -5
  160. data/spec/models/checkout_items_spec.rb +5 -5
  161. data/spec/models/checkout_subscriptions_spec.rb +5 -5
  162. data/spec/models/cost_spec.rb +46 -0
  163. data/spec/models/customer_id_uasgelimit_body_spec.rb +50 -0
  164. data/spec/models/customer_spec.rb +21 -5
  165. data/spec/models/error_spec.rb +5 -5
  166. data/spec/models/event_spec.rb +64 -0
  167. data/spec/models/feature_spec.rb +5 -5
  168. data/spec/models/frontend_token_spec.rb +5 -5
  169. data/spec/models/inline_response_200_10_spec.rb +5 -5
  170. data/spec/models/inline_response_200_11_spec.rb +18 -6
  171. data/spec/models/inline_response_200_12_spec.rb +13 -11
  172. data/spec/models/inline_response_200_13_spec.rb +40 -0
  173. data/spec/models/inline_response_200_14_spec.rb +50 -0
  174. data/spec/models/inline_response_200_1_spec.rb +7 -13
  175. data/spec/models/inline_response_200_2_spec.rb +8 -8
  176. data/spec/models/inline_response_200_3_spec.rb +5 -5
  177. data/spec/models/inline_response_200_4_spec.rb +5 -5
  178. data/spec/models/inline_response_200_5_spec.rb +5 -5
  179. data/spec/models/inline_response_200_6_spec.rb +5 -5
  180. data/spec/models/inline_response_200_7_spec.rb +5 -5
  181. data/spec/models/inline_response_200_8_spec.rb +5 -5
  182. data/spec/models/{inline_response_200_7_data_spec.rb → inline_response_200_9_data_spec.rb} +8 -8
  183. data/spec/models/{inline_response_200_7_receipts_spec.rb → inline_response_200_9_receipts_spec.rb} +8 -8
  184. data/spec/models/inline_response_200_9_spec.rb +5 -5
  185. data/spec/models/inline_response_200_spec.rb +5 -5
  186. data/spec/models/inline_response_201_lines_spec.rb +5 -5
  187. data/spec/models/inline_response_201_spec.rb +5 -5
  188. data/spec/models/inline_response_400_spec.rb +5 -5
  189. data/spec/models/invoice_lines_spec.rb +5 -5
  190. data/spec/models/invoice_spec.rb +5 -5
  191. data/spec/models/issue_refund_payment_spec.rb +5 -5
  192. data/spec/models/limit_spec.rb +5 -5
  193. data/spec/models/metric_cost_spec.rb +58 -0
  194. data/spec/models/metric_filter_spec.rb +68 -0
  195. data/spec/models/metric_spec.rb +74 -0
  196. data/spec/models/payment_details_spec.rb +5 -5
  197. data/spec/models/price_spec.rb +11 -5
  198. data/spec/models/product_spec.rb +5 -5
  199. data/spec/models/product_tax_type_spec.rb +5 -5
  200. data/spec/models/refund_spec.rb +5 -5
  201. data/spec/models/seats_add_body_spec.rb +5 -5
  202. data/spec/models/seats_remove_body_spec.rb +5 -5
  203. data/spec/models/subscription_id_cancel_body_spec.rb +5 -5
  204. data/spec/models/subscription_id_extend_body_spec.rb +5 -5
  205. data/spec/models/subscription_id_plan_body_spec.rb +5 -5
  206. data/spec/models/subscription_id_price_body_spec.rb +5 -5
  207. data/spec/models/subscription_plan_spec.rb +5 -5
  208. data/spec/models/subscription_spec.rb +11 -5
  209. data/spec/models/subscription_start_body_spec.rb +11 -5
  210. data/spec/models/subscription_trial_body_spec.rb +5 -5
  211. data/spec/models/usage_limit_spec.rb +56 -0
  212. data/spec/models/voucher_code_spec.rb +5 -5
  213. data/spec/spec_helper.rb +3 -3
  214. metadata +110 -70
  215. data/lib/swagger_client.rb +0 -95
data/README.md CHANGED
@@ -1,51 +1,15 @@
1
- # swagger_client
1
+ <p align="center">
2
+ <img width="450px" src="https://ha-static-data.s3.eu-central-1.amazonaws.com/github-readme-logo.png">
3
+ </p>
2
4
 
3
- SwaggerClient - the Ruby gem for the BillaBear
4
-
5
- The REST API provided by BillaBear
6
-
7
- This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
-
9
- - API version: 1.0.0
10
- - Package version: 1.0.0
11
- - Build package: io.swagger.codegen.v3.generators.ruby.RubyClientCodegen
12
- For more information, please visit [http://www.billabear.com/support](http://www.billabear.com/support)
5
+ <p align="center">
6
+ <h1 style="text-align: center">BillaBear Ruby SDK</h1>
7
+ </p>
13
8
 
14
9
  ## Installation
15
10
 
16
- ### Build a gem
17
-
18
- To build the Ruby code into a gem:
19
-
20
- ```shell
21
- gem build swagger_client.gemspec
22
- ```
23
-
24
- Then either install the gem locally:
25
-
26
- ```shell
27
- gem install ./swagger_client-1.0.0.gem
28
- ```
29
- (for development, run `gem install --dev ./swagger_client-1.0.0.gem` to install the development dependencies)
30
-
31
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
-
33
- Finally add this to the Gemfile:
34
-
35
- gem 'swagger_client', '~> 1.0.0'
36
-
37
- ### Install from Git
38
-
39
- If the Ruby gem is hosted at a git repository: https://github.com/billabear/ruby-sdk, then add the following in the Gemfile:
40
-
41
- gem 'swagger_client', :git => 'https://github.com/billabear/ruby-sdk.git'
42
-
43
- ### Include the Ruby code directly
44
-
45
- Include the Ruby code directly using `-I` as follows:
46
-
47
11
  ```shell
48
- ruby -Ilib script.rb
12
+ gem install billabear
49
13
  ```
50
14
 
51
15
  ## Getting Started
@@ -53,36 +17,37 @@ ruby -Ilib script.rb
53
17
  Please follow the [installation](#installation) procedure and then run the following code:
54
18
  ```ruby
55
19
  # Load the gem
56
- require 'swagger_client'
20
+ require 'billabear'
57
21
  # Setup authorization
58
- SwaggerClient.configure do |config|
22
+ Billabear.configure do |config|
59
23
  # Configure API key authorization: ApiKeyAuth
60
24
  config.api_key['X-API-Key'] = 'YOUR API KEY'
25
+ config.host = 'YOUR_HOST'
61
26
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
62
27
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
63
28
  end
64
29
 
65
- api_instance = SwaggerClient::CheckoutApi.new
66
- body = SwaggerClient::CheckoutBody.new # CheckoutBody |
30
+ api_instance = Billabear::CheckoutApi.new
31
+ body = Billabear::CheckoutBody.new # CheckoutBody |
67
32
 
68
33
 
69
34
  begin
70
35
  #Create Checkout
71
36
  result = api_instance.create_checkout(body)
72
37
  p result
73
- rescue SwaggerClient::ApiError => e
38
+ rescue Billabear::ApiError => e
74
39
  puts "Exception when calling CheckoutApi->create_checkout: #{e}"
75
40
  end
76
41
  # Setup authorization
77
- SwaggerClient.configure do |config|
42
+ Billabear.configure do |config|
78
43
  # Configure API key authorization: ApiKeyAuth
79
44
  config.api_key['X-API-Key'] = 'YOUR API KEY'
80
45
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
81
46
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
82
47
  end
83
48
 
84
- api_instance = SwaggerClient::CustomersApi.new
85
- body = SwaggerClient::SeatsAddBody.new # SeatsAddBody |
49
+ api_instance = Billabear::CustomersApi.new
50
+ body = Billabear::SeatsAddBody.new # SeatsAddBody |
86
51
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
87
52
 
88
53
 
@@ -90,95 +55,131 @@ begin
90
55
  #Add Seats
91
56
  result = api_instance.add_seats_subscriptions(body, subscription_id)
92
57
  p result
93
- rescue SwaggerClient::ApiError => e
58
+ rescue Billabear::ApiError => e
94
59
  puts "Exception when calling CustomersApi->add_seats_subscriptions: #{e}"
95
60
  end
96
61
  # Setup authorization
97
- SwaggerClient.configure do |config|
62
+ Billabear.configure do |config|
98
63
  # Configure API key authorization: ApiKeyAuth
99
64
  config.api_key['X-API-Key'] = 'YOUR API KEY'
100
65
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
101
66
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
102
67
  end
103
68
 
104
- api_instance = SwaggerClient::CustomersApi.new
105
- body = SwaggerClient::VoucherCode.new # VoucherCode |
69
+ api_instance = Billabear::CustomersApi.new
70
+ body = Billabear::VoucherCode.new # VoucherCode |
106
71
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
107
72
 
108
73
 
109
74
  begin
110
75
  #Apply voucher
111
- result = api_instance.apply_voucher_to_customer(body, customer_id)
112
- p result
113
- rescue SwaggerClient::ApiError => e
76
+ api_instance.apply_voucher_to_customer(body, customer_id)
77
+ rescue Billabear::ApiError => e
114
78
  puts "Exception when calling CustomersApi->apply_voucher_to_customer: #{e}"
115
79
  end
116
80
  # Setup authorization
117
- SwaggerClient.configure do |config|
81
+ Billabear.configure do |config|
118
82
  # Configure API key authorization: ApiKeyAuth
119
83
  config.api_key['X-API-Key'] = 'YOUR API KEY'
120
84
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
121
85
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
122
86
  end
123
87
 
124
- api_instance = SwaggerClient::CustomersApi.new
125
- body = SwaggerClient::Customer.new # Customer |
88
+ api_instance = Billabear::CustomersApi.new
89
+ body = Billabear::Customer.new # Customer |
126
90
 
127
91
 
128
92
  begin
129
93
  #Create
130
94
  result = api_instance.create_customer(body)
131
95
  p result
132
- rescue SwaggerClient::ApiError => e
96
+ rescue Billabear::ApiError => e
133
97
  puts "Exception when calling CustomersApi->create_customer: #{e}"
134
98
  end
135
99
  # Setup authorization
136
- SwaggerClient.configure do |config|
100
+ Billabear.configure do |config|
137
101
  # Configure API key authorization: ApiKeyAuth
138
102
  config.api_key['X-API-Key'] = 'YOUR API KEY'
139
103
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
140
104
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
141
105
  end
142
106
 
143
- api_instance = SwaggerClient::CustomersApi.new
107
+ api_instance = Billabear::CustomersApi.new
108
+ body = Billabear::CustomerIdUasgelimitBody.new # CustomerIdUasgelimitBody |
144
109
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
145
110
 
146
111
 
147
112
  begin
148
- #Disable Customer
149
- result = api_instance.disable_customer(customer_id)
113
+ #Create Usage Limit
114
+ result = api_instance.create_customer_usage_limit(body, customer_id)
150
115
  p result
151
- rescue SwaggerClient::ApiError => e
116
+ rescue Billabear::ApiError => e
117
+ puts "Exception when calling CustomersApi->create_customer_usage_limit: #{e}"
118
+ end
119
+ # Setup authorization
120
+ Billabear.configure do |config|
121
+ # Configure API key authorization: ApiKeyAuth
122
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
123
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
124
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
125
+ end
126
+
127
+ api_instance = Billabear::CustomersApi.new
128
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
129
+ usage_limit_id = 'usage_limit_id_example' # String | The id of the usage limit
130
+
131
+
132
+ begin
133
+ #Delete Usage Limit
134
+ api_instance.customer_customer_id_uasge_limit_limit_id_delete(customer_id, usage_limit_id)
135
+ rescue Billabear::ApiError => e
136
+ puts "Exception when calling CustomersApi->customer_customer_id_uasge_limit_limit_id_delete: #{e}"
137
+ end
138
+ # Setup authorization
139
+ Billabear.configure do |config|
140
+ # Configure API key authorization: ApiKeyAuth
141
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
142
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
143
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
144
+ end
145
+
146
+ api_instance = Billabear::CustomersApi.new
147
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
148
+
149
+
150
+ begin
151
+ #Disable Customer
152
+ api_instance.disable_customer(customer_id)
153
+ rescue Billabear::ApiError => e
152
154
  puts "Exception when calling CustomersApi->disable_customer: #{e}"
153
155
  end
154
156
  # Setup authorization
155
- SwaggerClient.configure do |config|
157
+ Billabear.configure do |config|
156
158
  # Configure API key authorization: ApiKeyAuth
157
159
  config.api_key['X-API-Key'] = 'YOUR API KEY'
158
160
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
159
161
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
160
162
  end
161
163
 
162
- api_instance = SwaggerClient::CustomersApi.new
164
+ api_instance = Billabear::CustomersApi.new
163
165
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
164
166
 
165
167
 
166
168
  begin
167
169
  #Enable Customer
168
- result = api_instance.enable_customer(customer_id)
169
- p result
170
- rescue SwaggerClient::ApiError => e
170
+ api_instance.enable_customer(customer_id)
171
+ rescue Billabear::ApiError => e
171
172
  puts "Exception when calling CustomersApi->enable_customer: #{e}"
172
173
  end
173
174
  # Setup authorization
174
- SwaggerClient.configure do |config|
175
+ Billabear.configure do |config|
175
176
  # Configure API key authorization: ApiKeyAuth
176
177
  config.api_key['X-API-Key'] = 'YOUR API KEY'
177
178
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
178
179
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
179
180
  end
180
181
 
181
- api_instance = SwaggerClient::CustomersApi.new
182
+ api_instance = Billabear::CustomersApi.new
182
183
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
183
184
 
184
185
 
@@ -186,43 +187,44 @@ begin
186
187
  #List Customer Active Subscriptions
187
188
  result = api_instance.get_active_for_customer(customer_id)
188
189
  p result
189
- rescue SwaggerClient::ApiError => e
190
+ rescue Billabear::ApiError => e
190
191
  puts "Exception when calling CustomersApi->get_active_for_customer: #{e}"
191
192
  end
192
193
  # Setup authorization
193
- SwaggerClient.configure do |config|
194
+ Billabear.configure do |config|
194
195
  # Configure API key authorization: ApiKeyAuth
195
196
  config.api_key['X-API-Key'] = 'YOUR API KEY'
196
197
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
197
198
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
198
199
  end
199
200
 
200
- api_instance = SwaggerClient::CustomersApi.new
201
+ api_instance = Billabear::CustomersApi.new
201
202
  opts = {
202
203
  limit: 56, # Integer | How many items to return at one time (max 100)
203
204
  last_key: 'last_key_example', # String | The key to be used in pagination to say what the last key of the previous page was
204
205
  email: 'email_example', # String | The email to search for
205
206
  country: 'country_example', # String | The country code to search for
206
207
  reference: 'reference_example', # String | The reference to search for
207
- external_reference: 'external_reference_example' # String | The external reference to search for
208
+ external_reference: 'external_reference_example', # String | The external reference to search for
209
+ company_name: 'company_name_example' # String | The company name to search for
208
210
  }
209
211
 
210
212
  begin
211
213
  #List
212
214
  result = api_instance.get_all_customers(opts)
213
215
  p result
214
- rescue SwaggerClient::ApiError => e
216
+ rescue Billabear::ApiError => e
215
217
  puts "Exception when calling CustomersApi->get_all_customers: #{e}"
216
218
  end
217
219
  # Setup authorization
218
- SwaggerClient.configure do |config|
220
+ Billabear.configure do |config|
219
221
  # Configure API key authorization: ApiKeyAuth
220
222
  config.api_key['X-API-Key'] = 'YOUR API KEY'
221
223
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
222
224
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
223
225
  end
224
226
 
225
- api_instance = SwaggerClient::CustomersApi.new
227
+ api_instance = Billabear::CustomersApi.new
226
228
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
227
229
 
228
230
 
@@ -230,18 +232,37 @@ begin
230
232
  #Detail
231
233
  result = api_instance.get_customer_by_id(customer_id)
232
234
  p result
233
- rescue SwaggerClient::ApiError => e
235
+ rescue Billabear::ApiError => e
234
236
  puts "Exception when calling CustomersApi->get_customer_by_id: #{e}"
235
237
  end
236
238
  # Setup authorization
237
- SwaggerClient.configure do |config|
239
+ Billabear.configure do |config|
240
+ # Configure API key authorization: ApiKeyAuth
241
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
242
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
243
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
244
+ end
245
+
246
+ api_instance = Billabear::CustomersApi.new
247
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
248
+
249
+
250
+ begin
251
+ #Usage Cost Estimate
252
+ result = api_instance.get_customer_costs(customer_id)
253
+ p result
254
+ rescue Billabear::ApiError => e
255
+ puts "Exception when calling CustomersApi->get_customer_costs: #{e}"
256
+ end
257
+ # Setup authorization
258
+ Billabear.configure do |config|
238
259
  # Configure API key authorization: ApiKeyAuth
239
260
  config.api_key['X-API-Key'] = 'YOUR API KEY'
240
261
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
241
262
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
242
263
  end
243
264
 
244
- api_instance = SwaggerClient::CustomersApi.new
265
+ api_instance = Billabear::CustomersApi.new
245
266
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
246
267
 
247
268
 
@@ -249,18 +270,37 @@ begin
249
270
  #Fetch Customer Limits
250
271
  result = api_instance.get_customer_limits_by_id(customer_id)
251
272
  p result
252
- rescue SwaggerClient::ApiError => e
273
+ rescue Billabear::ApiError => e
253
274
  puts "Exception when calling CustomersApi->get_customer_limits_by_id: #{e}"
254
275
  end
255
276
  # Setup authorization
256
- SwaggerClient.configure do |config|
277
+ Billabear.configure do |config|
278
+ # Configure API key authorization: ApiKeyAuth
279
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
280
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
281
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
282
+ end
283
+
284
+ api_instance = Billabear::CustomersApi.new
285
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
286
+
287
+
288
+ begin
289
+ #Fetch Customer Usage Limits
290
+ result = api_instance.get_customer_usage_limits_by_id(customer_id)
291
+ p result
292
+ rescue Billabear::ApiError => e
293
+ puts "Exception when calling CustomersApi->get_customer_usage_limits_by_id: #{e}"
294
+ end
295
+ # Setup authorization
296
+ Billabear.configure do |config|
257
297
  # Configure API key authorization: ApiKeyAuth
258
298
  config.api_key['X-API-Key'] = 'YOUR API KEY'
259
299
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
260
300
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
261
301
  end
262
302
 
263
- api_instance = SwaggerClient::CustomersApi.new
303
+ api_instance = Billabear::CustomersApi.new
264
304
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
265
305
 
266
306
 
@@ -268,18 +308,18 @@ begin
268
308
  #List Customer Subscriptions
269
309
  result = api_instance.get_for_customer(customer_id)
270
310
  p result
271
- rescue SwaggerClient::ApiError => e
311
+ rescue Billabear::ApiError => e
272
312
  puts "Exception when calling CustomersApi->get_for_customer: #{e}"
273
313
  end
274
314
  # Setup authorization
275
- SwaggerClient.configure do |config|
315
+ Billabear.configure do |config|
276
316
  # Configure API key authorization: ApiKeyAuth
277
317
  config.api_key['X-API-Key'] = 'YOUR API KEY'
278
318
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
279
319
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
280
320
  end
281
321
 
282
- api_instance = SwaggerClient::CustomersApi.new
322
+ api_instance = Billabear::CustomersApi.new
283
323
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
284
324
 
285
325
 
@@ -287,18 +327,18 @@ begin
287
327
  #List Customer Invoices
288
328
  result = api_instance.get_invoices_for_customer(customer_id)
289
329
  p result
290
- rescue SwaggerClient::ApiError => e
330
+ rescue Billabear::ApiError => e
291
331
  puts "Exception when calling CustomersApi->get_invoices_for_customer: #{e}"
292
332
  end
293
333
  # Setup authorization
294
- SwaggerClient.configure do |config|
334
+ Billabear.configure do |config|
295
335
  # Configure API key authorization: ApiKeyAuth
296
336
  config.api_key['X-API-Key'] = 'YOUR API KEY'
297
337
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
298
338
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
299
339
  end
300
340
 
301
- api_instance = SwaggerClient::CustomersApi.new
341
+ api_instance = Billabear::CustomersApi.new
302
342
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
303
343
  opts = {
304
344
  limit: 56, # Integer | How many items to return at one time (max 100)
@@ -310,18 +350,18 @@ begin
310
350
  #List Customer Payments
311
351
  result = api_instance.get_payments_for_customer(customer_id, opts)
312
352
  p result
313
- rescue SwaggerClient::ApiError => e
353
+ rescue Billabear::ApiError => e
314
354
  puts "Exception when calling CustomersApi->get_payments_for_customer: #{e}"
315
355
  end
316
356
  # Setup authorization
317
- SwaggerClient.configure do |config|
357
+ Billabear.configure do |config|
318
358
  # Configure API key authorization: ApiKeyAuth
319
359
  config.api_key['X-API-Key'] = 'YOUR API KEY'
320
360
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
321
361
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
322
362
  end
323
363
 
324
- api_instance = SwaggerClient::CustomersApi.new
364
+ api_instance = Billabear::CustomersApi.new
325
365
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
326
366
  opts = {
327
367
  limit: 56, # Integer | How many items to return at one time (max 100)
@@ -333,18 +373,18 @@ begin
333
373
  #List Customer Refunds
334
374
  result = api_instance.get_refunds_for_customer(customer_id, opts)
335
375
  p result
336
- rescue SwaggerClient::ApiError => e
376
+ rescue Billabear::ApiError => e
337
377
  puts "Exception when calling CustomersApi->get_refunds_for_customer: #{e}"
338
378
  end
339
379
  # Setup authorization
340
- SwaggerClient.configure do |config|
380
+ Billabear.configure do |config|
341
381
  # Configure API key authorization: ApiKeyAuth
342
382
  config.api_key['X-API-Key'] = 'YOUR API KEY'
343
383
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
344
384
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
345
385
  end
346
386
 
347
- api_instance = SwaggerClient::CustomersApi.new
387
+ api_instance = Billabear::CustomersApi.new
348
388
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
349
389
 
350
390
 
@@ -352,19 +392,19 @@ begin
352
392
  #List Customer's Payment Details
353
393
  result = api_instance.list_payment_details(customer_id)
354
394
  p result
355
- rescue SwaggerClient::ApiError => e
395
+ rescue Billabear::ApiError => e
356
396
  puts "Exception when calling CustomersApi->list_payment_details: #{e}"
357
397
  end
358
398
  # Setup authorization
359
- SwaggerClient.configure do |config|
399
+ Billabear.configure do |config|
360
400
  # Configure API key authorization: ApiKeyAuth
361
401
  config.api_key['X-API-Key'] = 'YOUR API KEY'
362
402
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
363
403
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
364
404
  end
365
405
 
366
- api_instance = SwaggerClient::CustomersApi.new
367
- body = SwaggerClient::SeatsRemoveBody.new # SeatsRemoveBody |
406
+ api_instance = Billabear::CustomersApi.new
407
+ body = Billabear::SeatsRemoveBody.new # SeatsRemoveBody |
368
408
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
369
409
 
370
410
 
@@ -372,19 +412,19 @@ begin
372
412
  #Remove Seats
373
413
  result = api_instance.remove_seats_subscriptions(body, subscription_id)
374
414
  p result
375
- rescue SwaggerClient::ApiError => e
415
+ rescue Billabear::ApiError => e
376
416
  puts "Exception when calling CustomersApi->remove_seats_subscriptions: #{e}"
377
417
  end
378
418
  # Setup authorization
379
- SwaggerClient.configure do |config|
419
+ Billabear.configure do |config|
380
420
  # Configure API key authorization: ApiKeyAuth
381
421
  config.api_key['X-API-Key'] = 'YOUR API KEY'
382
422
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
383
423
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
384
424
  end
385
425
 
386
- api_instance = SwaggerClient::CustomersApi.new
387
- body = SwaggerClient::Customer.new # Customer |
426
+ api_instance = Billabear::CustomersApi.new
427
+ body = Billabear::Customer.new # Customer |
388
428
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
389
429
 
390
430
 
@@ -392,18 +432,18 @@ begin
392
432
  #Update
393
433
  result = api_instance.update_customer(body, customer_id)
394
434
  p result
395
- rescue SwaggerClient::ApiError => e
435
+ rescue Billabear::ApiError => e
396
436
  puts "Exception when calling CustomersApi->update_customer: #{e}"
397
437
  end
398
438
  # Setup authorization
399
- SwaggerClient.configure do |config|
439
+ Billabear.configure do |config|
400
440
  # Configure API key authorization: ApiKeyAuth
401
441
  config.api_key['X-API-Key'] = 'YOUR API KEY'
402
442
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
403
443
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
404
444
  end
405
445
 
406
- api_instance = SwaggerClient::InvoicesApi.new
446
+ api_instance = Billabear::InvoicesApi.new
407
447
  invoice_id = 'invoice_id_example' # String | The id of the invoice
408
448
 
409
449
 
@@ -411,18 +451,18 @@ begin
411
451
  #Charge Invoice
412
452
  result = api_instance.charge_invoice(invoice_id)
413
453
  p result
414
- rescue SwaggerClient::ApiError => e
454
+ rescue Billabear::ApiError => e
415
455
  puts "Exception when calling InvoicesApi->charge_invoice: #{e}"
416
456
  end
417
457
  # Setup authorization
418
- SwaggerClient.configure do |config|
458
+ Billabear.configure do |config|
419
459
  # Configure API key authorization: ApiKeyAuth
420
460
  config.api_key['X-API-Key'] = 'YOUR API KEY'
421
461
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
422
462
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
423
463
  end
424
464
 
425
- api_instance = SwaggerClient::InvoicesApi.new
465
+ api_instance = Billabear::InvoicesApi.new
426
466
  invoice_id = 'invoice_id_example' # String | The id of the invoice
427
467
 
428
468
 
@@ -430,18 +470,18 @@ begin
430
470
  #Download Invoice
431
471
  result = api_instance.download_invoice(invoice_id)
432
472
  p result
433
- rescue SwaggerClient::ApiError => e
473
+ rescue Billabear::ApiError => e
434
474
  puts "Exception when calling InvoicesApi->download_invoice: #{e}"
435
475
  end
436
476
  # Setup authorization
437
- SwaggerClient.configure do |config|
477
+ Billabear.configure do |config|
438
478
  # Configure API key authorization: ApiKeyAuth
439
479
  config.api_key['X-API-Key'] = 'YOUR API KEY'
440
480
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
441
481
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
442
482
  end
443
483
 
444
- api_instance = SwaggerClient::InvoicesApi.new
484
+ api_instance = Billabear::InvoicesApi.new
445
485
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
446
486
 
447
487
 
@@ -449,19 +489,19 @@ begin
449
489
  #List Customer Invoices
450
490
  result = api_instance.get_invoices_for_customer(customer_id)
451
491
  p result
452
- rescue SwaggerClient::ApiError => e
492
+ rescue Billabear::ApiError => e
453
493
  puts "Exception when calling InvoicesApi->get_invoices_for_customer: #{e}"
454
494
  end
455
495
  # Setup authorization
456
- SwaggerClient.configure do |config|
496
+ Billabear.configure do |config|
457
497
  # Configure API key authorization: ApiKeyAuth
458
498
  config.api_key['X-API-Key'] = 'YOUR API KEY'
459
499
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
460
500
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
461
501
  end
462
502
 
463
- api_instance = SwaggerClient::PaymentDetailsApi.new
464
- body = SwaggerClient::FrontendToken.new # FrontendToken |
503
+ api_instance = Billabear::PaymentDetailsApi.new
504
+ body = Billabear::FrontendToken.new # FrontendToken |
465
505
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
466
506
 
467
507
 
@@ -469,57 +509,55 @@ begin
469
509
  #Complete Frontend Detail Collection
470
510
  result = api_instance.complete_frontend_payment_details(body, customer_id)
471
511
  p result
472
- rescue SwaggerClient::ApiError => e
512
+ rescue Billabear::ApiError => e
473
513
  puts "Exception when calling PaymentDetailsApi->complete_frontend_payment_details: #{e}"
474
514
  end
475
515
  # Setup authorization
476
- SwaggerClient.configure do |config|
516
+ Billabear.configure do |config|
477
517
  # Configure API key authorization: ApiKeyAuth
478
518
  config.api_key['X-API-Key'] = 'YOUR API KEY'
479
519
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
480
520
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
481
521
  end
482
522
 
483
- api_instance = SwaggerClient::PaymentDetailsApi.new
523
+ api_instance = Billabear::PaymentDetailsApi.new
484
524
  payment_details_id = 'payment_details_id_example' # String | The id of the payment details
485
525
 
486
526
 
487
527
  begin
488
528
  #Delete
489
- result = api_instance.delete_payment_details(payment_details_id)
490
- p result
491
- rescue SwaggerClient::ApiError => e
529
+ api_instance.delete_payment_details(payment_details_id)
530
+ rescue Billabear::ApiError => e
492
531
  puts "Exception when calling PaymentDetailsApi->delete_payment_details: #{e}"
493
532
  end
494
533
  # Setup authorization
495
- SwaggerClient.configure do |config|
534
+ Billabear.configure do |config|
496
535
  # Configure API key authorization: ApiKeyAuth
497
536
  config.api_key['X-API-Key'] = 'YOUR API KEY'
498
537
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
499
538
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
500
539
  end
501
540
 
502
- api_instance = SwaggerClient::PaymentDetailsApi.new
541
+ api_instance = Billabear::PaymentDetailsApi.new
503
542
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
504
543
  payment_details_id = 'payment_details_id_example' # String | The id of the payment details
505
544
 
506
545
 
507
546
  begin
508
547
  #Delete With Customer
509
- result = api_instance.delete_payment_details_customer(customer_id, payment_details_id)
510
- p result
511
- rescue SwaggerClient::ApiError => e
548
+ api_instance.delete_payment_details_customer(customer_id, payment_details_id)
549
+ rescue Billabear::ApiError => e
512
550
  puts "Exception when calling PaymentDetailsApi->delete_payment_details_customer: #{e}"
513
551
  end
514
552
  # Setup authorization
515
- SwaggerClient.configure do |config|
553
+ Billabear.configure do |config|
516
554
  # Configure API key authorization: ApiKeyAuth
517
555
  config.api_key['X-API-Key'] = 'YOUR API KEY'
518
556
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
519
557
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
520
558
  end
521
559
 
522
- api_instance = SwaggerClient::PaymentDetailsApi.new
560
+ api_instance = Billabear::PaymentDetailsApi.new
523
561
  payment_details_id = 'payment_details_id_example' # String | The id of the payment details
524
562
 
525
563
 
@@ -527,18 +565,18 @@ begin
527
565
  #Fetch
528
566
  result = api_instance.get_payment_details(payment_details_id)
529
567
  p result
530
- rescue SwaggerClient::ApiError => e
568
+ rescue Billabear::ApiError => e
531
569
  puts "Exception when calling PaymentDetailsApi->get_payment_details: #{e}"
532
570
  end
533
571
  # Setup authorization
534
- SwaggerClient.configure do |config|
572
+ Billabear.configure do |config|
535
573
  # Configure API key authorization: ApiKeyAuth
536
574
  config.api_key['X-API-Key'] = 'YOUR API KEY'
537
575
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
538
576
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
539
577
  end
540
578
 
541
- api_instance = SwaggerClient::PaymentDetailsApi.new
579
+ api_instance = Billabear::PaymentDetailsApi.new
542
580
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
543
581
 
544
582
 
@@ -546,58 +584,56 @@ begin
546
584
  #List Customer's Payment Details
547
585
  result = api_instance.list_payment_details(customer_id)
548
586
  p result
549
- rescue SwaggerClient::ApiError => e
587
+ rescue Billabear::ApiError => e
550
588
  puts "Exception when calling PaymentDetailsApi->list_payment_details: #{e}"
551
589
  end
552
590
  # Setup authorization
553
- SwaggerClient.configure do |config|
591
+ Billabear.configure do |config|
554
592
  # Configure API key authorization: ApiKeyAuth
555
593
  config.api_key['X-API-Key'] = 'YOUR API KEY'
556
594
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
557
595
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
558
596
  end
559
597
 
560
- api_instance = SwaggerClient::PaymentDetailsApi.new
598
+ api_instance = Billabear::PaymentDetailsApi.new
561
599
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
562
600
  payment_details_id = 'payment_details_id_example' # String | The id of the payment details
563
601
 
564
602
 
565
603
  begin
566
604
  #Make Default
567
- result = api_instance.make_default_payment_details(customer_id, payment_details_id)
568
- p result
569
- rescue SwaggerClient::ApiError => e
605
+ api_instance.make_default_payment_details(customer_id, payment_details_id)
606
+ rescue Billabear::ApiError => e
570
607
  puts "Exception when calling PaymentDetailsApi->make_default_payment_details: #{e}"
571
608
  end
572
609
  # Setup authorization
573
- SwaggerClient.configure do |config|
610
+ Billabear.configure do |config|
574
611
  # Configure API key authorization: ApiKeyAuth
575
612
  config.api_key['X-API-Key'] = 'YOUR API KEY'
576
613
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
577
614
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
578
615
  end
579
616
 
580
- api_instance = SwaggerClient::PaymentDetailsApi.new
617
+ api_instance = Billabear::PaymentDetailsApi.new
581
618
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
582
619
  payment_details_id = 'payment_details_id_example' # String | The id of the payment details
583
620
 
584
621
 
585
622
  begin
586
623
  #Make Default With Customer
587
- result = api_instance.make_default_payment_details_customer(customer_id, payment_details_id)
588
- p result
589
- rescue SwaggerClient::ApiError => e
624
+ api_instance.make_default_payment_details_customer(customer_id, payment_details_id)
625
+ rescue Billabear::ApiError => e
590
626
  puts "Exception when calling PaymentDetailsApi->make_default_payment_details_customer: #{e}"
591
627
  end
592
628
  # Setup authorization
593
- SwaggerClient.configure do |config|
629
+ Billabear.configure do |config|
594
630
  # Configure API key authorization: ApiKeyAuth
595
631
  config.api_key['X-API-Key'] = 'YOUR API KEY'
596
632
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
597
633
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
598
634
  end
599
635
 
600
- api_instance = SwaggerClient::PaymentDetailsApi.new
636
+ api_instance = Billabear::PaymentDetailsApi.new
601
637
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
602
638
 
603
639
 
@@ -605,18 +641,18 @@ begin
605
641
  #Start Frontend Detail Collection
606
642
  result = api_instance.start_frontend_payment_details(customer_id)
607
643
  p result
608
- rescue SwaggerClient::ApiError => e
644
+ rescue Billabear::ApiError => e
609
645
  puts "Exception when calling PaymentDetailsApi->start_frontend_payment_details: #{e}"
610
646
  end
611
647
  # Setup authorization
612
- SwaggerClient.configure do |config|
648
+ Billabear.configure do |config|
613
649
  # Configure API key authorization: ApiKeyAuth
614
650
  config.api_key['X-API-Key'] = 'YOUR API KEY'
615
651
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
616
652
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
617
653
  end
618
654
 
619
- api_instance = SwaggerClient::PaymentsApi.new
655
+ api_instance = Billabear::PaymentsApi.new
620
656
  invoice_id = 'invoice_id_example' # String | The id of the invoice
621
657
 
622
658
 
@@ -624,18 +660,18 @@ begin
624
660
  #Charge Invoice
625
661
  result = api_instance.charge_invoice(invoice_id)
626
662
  p result
627
- rescue SwaggerClient::ApiError => e
663
+ rescue Billabear::ApiError => e
628
664
  puts "Exception when calling PaymentsApi->charge_invoice: #{e}"
629
665
  end
630
666
  # Setup authorization
631
- SwaggerClient.configure do |config|
667
+ Billabear.configure do |config|
632
668
  # Configure API key authorization: ApiKeyAuth
633
669
  config.api_key['X-API-Key'] = 'YOUR API KEY'
634
670
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
635
671
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
636
672
  end
637
673
 
638
- api_instance = SwaggerClient::PaymentsApi.new
674
+ api_instance = Billabear::PaymentsApi.new
639
675
  invoice_id = 'invoice_id_example' # String | The id of the invoice
640
676
 
641
677
 
@@ -643,18 +679,18 @@ begin
643
679
  #Download Invoice
644
680
  result = api_instance.download_invoice(invoice_id)
645
681
  p result
646
- rescue SwaggerClient::ApiError => e
682
+ rescue Billabear::ApiError => e
647
683
  puts "Exception when calling PaymentsApi->download_invoice: #{e}"
648
684
  end
649
685
  # Setup authorization
650
- SwaggerClient.configure do |config|
686
+ Billabear.configure do |config|
651
687
  # Configure API key authorization: ApiKeyAuth
652
688
  config.api_key['X-API-Key'] = 'YOUR API KEY'
653
689
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
654
690
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
655
691
  end
656
692
 
657
- api_instance = SwaggerClient::PaymentsApi.new
693
+ api_instance = Billabear::PaymentsApi.new
658
694
  receipt = 'receipt_example' # String | The id of the receipt
659
695
 
660
696
 
@@ -662,18 +698,18 @@ begin
662
698
  #Download Receipt
663
699
  result = api_instance.download_receipt(receipt)
664
700
  p result
665
- rescue SwaggerClient::ApiError => e
701
+ rescue Billabear::ApiError => e
666
702
  puts "Exception when calling PaymentsApi->download_receipt: #{e}"
667
703
  end
668
704
  # Setup authorization
669
- SwaggerClient.configure do |config|
705
+ Billabear.configure do |config|
670
706
  # Configure API key authorization: ApiKeyAuth
671
707
  config.api_key['X-API-Key'] = 'YOUR API KEY'
672
708
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
673
709
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
674
710
  end
675
711
 
676
- api_instance = SwaggerClient::PaymentsApi.new
712
+ api_instance = Billabear::PaymentsApi.new
677
713
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
678
714
 
679
715
 
@@ -681,18 +717,18 @@ begin
681
717
  #List Customer Invoices
682
718
  result = api_instance.get_invoices_for_customer(customer_id)
683
719
  p result
684
- rescue SwaggerClient::ApiError => e
720
+ rescue Billabear::ApiError => e
685
721
  puts "Exception when calling PaymentsApi->get_invoices_for_customer: #{e}"
686
722
  end
687
723
  # Setup authorization
688
- SwaggerClient.configure do |config|
724
+ Billabear.configure do |config|
689
725
  # Configure API key authorization: ApiKeyAuth
690
726
  config.api_key['X-API-Key'] = 'YOUR API KEY'
691
727
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
692
728
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
693
729
  end
694
730
 
695
- api_instance = SwaggerClient::PaymentsApi.new
731
+ api_instance = Billabear::PaymentsApi.new
696
732
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
697
733
  opts = {
698
734
  limit: 56, # Integer | How many items to return at one time (max 100)
@@ -704,18 +740,18 @@ begin
704
740
  #List Customer Payments
705
741
  result = api_instance.get_payments_for_customer(customer_id, opts)
706
742
  p result
707
- rescue SwaggerClient::ApiError => e
743
+ rescue Billabear::ApiError => e
708
744
  puts "Exception when calling PaymentsApi->get_payments_for_customer: #{e}"
709
745
  end
710
746
  # Setup authorization
711
- SwaggerClient.configure do |config|
747
+ Billabear.configure do |config|
712
748
  # Configure API key authorization: ApiKeyAuth
713
749
  config.api_key['X-API-Key'] = 'YOUR API KEY'
714
750
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
715
751
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
716
752
  end
717
753
 
718
- api_instance = SwaggerClient::PaymentsApi.new
754
+ api_instance = Billabear::PaymentsApi.new
719
755
  opts = {
720
756
  limit: 56, # Integer | How many items to return at one time (max 100)
721
757
  last_key: 'last_key_example', # String | The key to be used in pagination to say what the last key of the previous page was
@@ -726,58 +762,56 @@ begin
726
762
  #List
727
763
  result = api_instance.list_payment(opts)
728
764
  p result
729
- rescue SwaggerClient::ApiError => e
765
+ rescue Billabear::ApiError => e
730
766
  puts "Exception when calling PaymentsApi->list_payment: #{e}"
731
767
  end
732
768
  # Setup authorization
733
- SwaggerClient.configure do |config|
769
+ Billabear.configure do |config|
734
770
  # Configure API key authorization: ApiKeyAuth
735
771
  config.api_key['X-API-Key'] = 'YOUR API KEY'
736
772
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
737
773
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
738
774
  end
739
775
 
740
- api_instance = SwaggerClient::PaymentsApi.new
741
- body = SwaggerClient::IssueRefundPayment.new # IssueRefundPayment |
776
+ api_instance = Billabear::PaymentsApi.new
777
+ body = Billabear::IssueRefundPayment.new # IssueRefundPayment |
742
778
  payment_id = 'payment_id_example' # String | The id of the payment
743
779
 
744
780
 
745
781
  begin
746
782
  #Refund Payment
747
- result = api_instance.refund_payment(body, payment_id)
748
- p result
749
- rescue SwaggerClient::ApiError => e
783
+ api_instance.refund_payment(body, payment_id)
784
+ rescue Billabear::ApiError => e
750
785
  puts "Exception when calling PaymentsApi->refund_payment: #{e}"
751
786
  end
752
787
  # Setup authorization
753
- SwaggerClient.configure do |config|
788
+ Billabear.configure do |config|
754
789
  # Configure API key authorization: ApiKeyAuth
755
790
  config.api_key['X-API-Key'] = 'YOUR API KEY'
756
791
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
757
792
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
758
793
  end
759
794
 
760
- api_instance = SwaggerClient::PricesApi.new
761
- body = SwaggerClient::Price.new # Price |
795
+ api_instance = Billabear::PricesApi.new
796
+ body = Billabear::Price.new # Price |
762
797
  product_id = 'product_id_example' # String | The id of the product to retrieve
763
798
 
764
799
 
765
800
  begin
766
801
  #Create
767
- result = api_instance.create_price(body, product_id)
768
- p result
769
- rescue SwaggerClient::ApiError => e
802
+ api_instance.create_price(body, product_id)
803
+ rescue Billabear::ApiError => e
770
804
  puts "Exception when calling PricesApi->create_price: #{e}"
771
805
  end
772
806
  # Setup authorization
773
- SwaggerClient.configure do |config|
807
+ Billabear.configure do |config|
774
808
  # Configure API key authorization: ApiKeyAuth
775
809
  config.api_key['X-API-Key'] = 'YOUR API KEY'
776
810
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
777
811
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
778
812
  end
779
813
 
780
- api_instance = SwaggerClient::PricesApi.new
814
+ api_instance = Billabear::PricesApi.new
781
815
  product_id = 'product_id_example' # String | The id of the product to retrieve
782
816
  opts = {
783
817
  limit: 56, # Integer | How many items to return at one time (max 100)
@@ -788,37 +822,36 @@ begin
788
822
  #List
789
823
  result = api_instance.list_price(product_id, opts)
790
824
  p result
791
- rescue SwaggerClient::ApiError => e
825
+ rescue Billabear::ApiError => e
792
826
  puts "Exception when calling PricesApi->list_price: #{e}"
793
827
  end
794
828
  # Setup authorization
795
- SwaggerClient.configure do |config|
829
+ Billabear.configure do |config|
796
830
  # Configure API key authorization: ApiKeyAuth
797
831
  config.api_key['X-API-Key'] = 'YOUR API KEY'
798
832
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
799
833
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
800
834
  end
801
835
 
802
- api_instance = SwaggerClient::ProductsApi.new
803
- body = SwaggerClient::Product.new # Product |
836
+ api_instance = Billabear::ProductsApi.new
837
+ body = Billabear::Product.new # Product |
804
838
 
805
839
 
806
840
  begin
807
841
  #Create
808
- result = api_instance.create_product(body)
809
- p result
810
- rescue SwaggerClient::ApiError => e
842
+ api_instance.create_product(body)
843
+ rescue Billabear::ApiError => e
811
844
  puts "Exception when calling ProductsApi->create_product: #{e}"
812
845
  end
813
846
  # Setup authorization
814
- SwaggerClient.configure do |config|
847
+ Billabear.configure do |config|
815
848
  # Configure API key authorization: ApiKeyAuth
816
849
  config.api_key['X-API-Key'] = 'YOUR API KEY'
817
850
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
818
851
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
819
852
  end
820
853
 
821
- api_instance = SwaggerClient::ProductsApi.new
854
+ api_instance = Billabear::ProductsApi.new
822
855
  opts = {
823
856
  limit: 56, # Integer | How many items to return at one time (max 100)
824
857
  last_key: 'last_key_example', # String | The key to be used in pagination to say what the last key of the previous page was
@@ -829,18 +862,18 @@ begin
829
862
  #List
830
863
  result = api_instance.list_product(opts)
831
864
  p result
832
- rescue SwaggerClient::ApiError => e
865
+ rescue Billabear::ApiError => e
833
866
  puts "Exception when calling ProductsApi->list_product: #{e}"
834
867
  end
835
868
  # Setup authorization
836
- SwaggerClient.configure do |config|
869
+ Billabear.configure do |config|
837
870
  # Configure API key authorization: ApiKeyAuth
838
871
  config.api_key['X-API-Key'] = 'YOUR API KEY'
839
872
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
840
873
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
841
874
  end
842
875
 
843
- api_instance = SwaggerClient::ProductsApi.new
876
+ api_instance = Billabear::ProductsApi.new
844
877
  product_id = 'product_id_example' # String | The id of the product to retrieve
845
878
 
846
879
 
@@ -848,18 +881,18 @@ begin
848
881
  #Detail
849
882
  result = api_instance.show_product_by_id(product_id)
850
883
  p result
851
- rescue SwaggerClient::ApiError => e
884
+ rescue Billabear::ApiError => e
852
885
  puts "Exception when calling ProductsApi->show_product_by_id: #{e}"
853
886
  end
854
887
  # Setup authorization
855
- SwaggerClient.configure do |config|
888
+ Billabear.configure do |config|
856
889
  # Configure API key authorization: ApiKeyAuth
857
890
  config.api_key['X-API-Key'] = 'YOUR API KEY'
858
891
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
859
892
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
860
893
  end
861
894
 
862
- api_instance = SwaggerClient::ProductsApi.new
895
+ api_instance = Billabear::ProductsApi.new
863
896
  product_id = 'product_id_example' # String | The id of the product to retrieve
864
897
 
865
898
 
@@ -867,18 +900,18 @@ begin
867
900
  #Update
868
901
  result = api_instance.update_product(product_id)
869
902
  p result
870
- rescue SwaggerClient::ApiError => e
903
+ rescue Billabear::ApiError => e
871
904
  puts "Exception when calling ProductsApi->update_product: #{e}"
872
905
  end
873
906
  # Setup authorization
874
- SwaggerClient.configure do |config|
907
+ Billabear.configure do |config|
875
908
  # Configure API key authorization: ApiKeyAuth
876
909
  config.api_key['X-API-Key'] = 'YOUR API KEY'
877
910
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
878
911
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
879
912
  end
880
913
 
881
- api_instance = SwaggerClient::ReceiptApi.new
914
+ api_instance = Billabear::ReceiptApi.new
882
915
  receipt = 'receipt_example' # String | The id of the receipt
883
916
 
884
917
 
@@ -886,18 +919,18 @@ begin
886
919
  #Download Receipt
887
920
  result = api_instance.download_receipt(receipt)
888
921
  p result
889
- rescue SwaggerClient::ApiError => e
922
+ rescue Billabear::ApiError => e
890
923
  puts "Exception when calling ReceiptApi->download_receipt: #{e}"
891
924
  end
892
925
  # Setup authorization
893
- SwaggerClient.configure do |config|
926
+ Billabear.configure do |config|
894
927
  # Configure API key authorization: ApiKeyAuth
895
928
  config.api_key['X-API-Key'] = 'YOUR API KEY'
896
929
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
897
930
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
898
931
  end
899
932
 
900
- api_instance = SwaggerClient::RefundsApi.new
933
+ api_instance = Billabear::RefundsApi.new
901
934
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
902
935
  opts = {
903
936
  limit: 56, # Integer | How many items to return at one time (max 100)
@@ -909,18 +942,18 @@ begin
909
942
  #List Customer Refunds
910
943
  result = api_instance.get_refunds_for_customer(customer_id, opts)
911
944
  p result
912
- rescue SwaggerClient::ApiError => e
945
+ rescue Billabear::ApiError => e
913
946
  puts "Exception when calling RefundsApi->get_refunds_for_customer: #{e}"
914
947
  end
915
948
  # Setup authorization
916
- SwaggerClient.configure do |config|
949
+ Billabear.configure do |config|
917
950
  # Configure API key authorization: ApiKeyAuth
918
951
  config.api_key['X-API-Key'] = 'YOUR API KEY'
919
952
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
920
953
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
921
954
  end
922
955
 
923
- api_instance = SwaggerClient::RefundsApi.new
956
+ api_instance = Billabear::RefundsApi.new
924
957
  opts = {
925
958
  limit: 56, # Integer | How many items to return at one time (max 100)
926
959
  last_key: 'last_key_example', # String | The key to be used in pagination to say what the last key of the previous page was
@@ -931,18 +964,18 @@ begin
931
964
  #List
932
965
  result = api_instance.list_refund(opts)
933
966
  p result
934
- rescue SwaggerClient::ApiError => e
967
+ rescue Billabear::ApiError => e
935
968
  puts "Exception when calling RefundsApi->list_refund: #{e}"
936
969
  end
937
970
  # Setup authorization
938
- SwaggerClient.configure do |config|
971
+ Billabear.configure do |config|
939
972
  # Configure API key authorization: ApiKeyAuth
940
973
  config.api_key['X-API-Key'] = 'YOUR API KEY'
941
974
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
942
975
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
943
976
  end
944
977
 
945
- api_instance = SwaggerClient::RefundsApi.new
978
+ api_instance = Billabear::RefundsApi.new
946
979
  refund_id = 'refund_id_example' # String | The id of the refund
947
980
 
948
981
 
@@ -950,19 +983,19 @@ begin
950
983
  #Detail
951
984
  result = api_instance.show_refund_by_id(refund_id)
952
985
  p result
953
- rescue SwaggerClient::ApiError => e
986
+ rescue Billabear::ApiError => e
954
987
  puts "Exception when calling RefundsApi->show_refund_by_id: #{e}"
955
988
  end
956
989
  # Setup authorization
957
- SwaggerClient.configure do |config|
990
+ Billabear.configure do |config|
958
991
  # Configure API key authorization: ApiKeyAuth
959
992
  config.api_key['X-API-Key'] = 'YOUR API KEY'
960
993
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
961
994
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
962
995
  end
963
996
 
964
- api_instance = SwaggerClient::SubscriptionsApi.new
965
- body = SwaggerClient::SeatsAddBody.new # SeatsAddBody |
997
+ api_instance = Billabear::SubscriptionsApi.new
998
+ body = Billabear::SeatsAddBody.new # SeatsAddBody |
966
999
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
967
1000
 
968
1001
 
@@ -970,39 +1003,38 @@ begin
970
1003
  #Add Seats
971
1004
  result = api_instance.add_seats_subscriptions(body, subscription_id)
972
1005
  p result
973
- rescue SwaggerClient::ApiError => e
1006
+ rescue Billabear::ApiError => e
974
1007
  puts "Exception when calling SubscriptionsApi->add_seats_subscriptions: #{e}"
975
1008
  end
976
1009
  # Setup authorization
977
- SwaggerClient.configure do |config|
1010
+ Billabear.configure do |config|
978
1011
  # Configure API key authorization: ApiKeyAuth
979
1012
  config.api_key['X-API-Key'] = 'YOUR API KEY'
980
1013
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
981
1014
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
982
1015
  end
983
1016
 
984
- api_instance = SwaggerClient::SubscriptionsApi.new
985
- body = SwaggerClient::SubscriptionIdCancelBody.new # SubscriptionIdCancelBody |
1017
+ api_instance = Billabear::SubscriptionsApi.new
1018
+ body = Billabear::SubscriptionIdCancelBody.new # SubscriptionIdCancelBody |
986
1019
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
987
1020
 
988
1021
 
989
1022
  begin
990
1023
  #Cancel Subscription
991
- result = api_instance.cancel_subscription(body, subscription_id)
992
- p result
993
- rescue SwaggerClient::ApiError => e
1024
+ api_instance.cancel_subscription(body, subscription_id)
1025
+ rescue Billabear::ApiError => e
994
1026
  puts "Exception when calling SubscriptionsApi->cancel_subscription: #{e}"
995
1027
  end
996
1028
  # Setup authorization
997
- SwaggerClient.configure do |config|
1029
+ Billabear.configure do |config|
998
1030
  # Configure API key authorization: ApiKeyAuth
999
1031
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1000
1032
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1001
1033
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1002
1034
  end
1003
1035
 
1004
- api_instance = SwaggerClient::SubscriptionsApi.new
1005
- body = SwaggerClient::SubscriptionIdPriceBody.new # SubscriptionIdPriceBody |
1036
+ api_instance = Billabear::SubscriptionsApi.new
1037
+ body = Billabear::SubscriptionIdPriceBody.new # SubscriptionIdPriceBody |
1006
1038
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
1007
1039
 
1008
1040
 
@@ -1010,19 +1042,19 @@ begin
1010
1042
  #Change Price
1011
1043
  result = api_instance.change_subscription_price(body, subscription_id)
1012
1044
  p result
1013
- rescue SwaggerClient::ApiError => e
1045
+ rescue Billabear::ApiError => e
1014
1046
  puts "Exception when calling SubscriptionsApi->change_subscription_price: #{e}"
1015
1047
  end
1016
1048
  # Setup authorization
1017
- SwaggerClient.configure do |config|
1049
+ Billabear.configure do |config|
1018
1050
  # Configure API key authorization: ApiKeyAuth
1019
1051
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1020
1052
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1021
1053
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1022
1054
  end
1023
1055
 
1024
- api_instance = SwaggerClient::SubscriptionsApi.new
1025
- body = SwaggerClient::SubscriptionStartBody.new # SubscriptionStartBody |
1056
+ api_instance = Billabear::SubscriptionsApi.new
1057
+ body = Billabear::SubscriptionStartBody.new # SubscriptionStartBody |
1026
1058
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1027
1059
 
1028
1060
 
@@ -1030,19 +1062,19 @@ begin
1030
1062
  #Create Subscription
1031
1063
  result = api_instance.create_subscription(body, customer_id)
1032
1064
  p result
1033
- rescue SwaggerClient::ApiError => e
1065
+ rescue Billabear::ApiError => e
1034
1066
  puts "Exception when calling SubscriptionsApi->create_subscription: #{e}"
1035
1067
  end
1036
1068
  # Setup authorization
1037
- SwaggerClient.configure do |config|
1069
+ Billabear.configure do |config|
1038
1070
  # Configure API key authorization: ApiKeyAuth
1039
1071
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1040
1072
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1041
1073
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1042
1074
  end
1043
1075
 
1044
- api_instance = SwaggerClient::SubscriptionsApi.new
1045
- body = SwaggerClient::SubscriptionIdPlanBody.new # SubscriptionIdPlanBody |
1076
+ api_instance = Billabear::SubscriptionsApi.new
1077
+ body = Billabear::SubscriptionIdPlanBody.new # SubscriptionIdPlanBody |
1046
1078
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
1047
1079
 
1048
1080
 
@@ -1050,19 +1082,19 @@ begin
1050
1082
  #Change Subscription Plan
1051
1083
  result = api_instance.customer_change_subscription_plan(body, subscription_id)
1052
1084
  p result
1053
- rescue SwaggerClient::ApiError => e
1085
+ rescue Billabear::ApiError => e
1054
1086
  puts "Exception when calling SubscriptionsApi->customer_change_subscription_plan: #{e}"
1055
1087
  end
1056
1088
  # Setup authorization
1057
- SwaggerClient.configure do |config|
1089
+ Billabear.configure do |config|
1058
1090
  # Configure API key authorization: ApiKeyAuth
1059
1091
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1060
1092
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1061
1093
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1062
1094
  end
1063
1095
 
1064
- api_instance = SwaggerClient::SubscriptionsApi.new
1065
- body = SwaggerClient::SubscriptionIdExtendBody.new # SubscriptionIdExtendBody |
1096
+ api_instance = Billabear::SubscriptionsApi.new
1097
+ body = Billabear::SubscriptionIdExtendBody.new # SubscriptionIdExtendBody |
1066
1098
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
1067
1099
 
1068
1100
 
@@ -1070,18 +1102,18 @@ begin
1070
1102
  #Extend Trial Subscription
1071
1103
  result = api_instance.extend_trial(body, subscription_id)
1072
1104
  p result
1073
- rescue SwaggerClient::ApiError => e
1105
+ rescue Billabear::ApiError => e
1074
1106
  puts "Exception when calling SubscriptionsApi->extend_trial: #{e}"
1075
1107
  end
1076
1108
  # Setup authorization
1077
- SwaggerClient.configure do |config|
1109
+ Billabear.configure do |config|
1078
1110
  # Configure API key authorization: ApiKeyAuth
1079
1111
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1080
1112
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1081
1113
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1082
1114
  end
1083
1115
 
1084
- api_instance = SwaggerClient::SubscriptionsApi.new
1116
+ api_instance = Billabear::SubscriptionsApi.new
1085
1117
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1086
1118
 
1087
1119
 
@@ -1089,18 +1121,18 @@ begin
1089
1121
  #List Customer Active Subscriptions
1090
1122
  result = api_instance.get_active_for_customer(customer_id)
1091
1123
  p result
1092
- rescue SwaggerClient::ApiError => e
1124
+ rescue Billabear::ApiError => e
1093
1125
  puts "Exception when calling SubscriptionsApi->get_active_for_customer: #{e}"
1094
1126
  end
1095
1127
  # Setup authorization
1096
- SwaggerClient.configure do |config|
1128
+ Billabear.configure do |config|
1097
1129
  # Configure API key authorization: ApiKeyAuth
1098
1130
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1099
1131
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1100
1132
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1101
1133
  end
1102
1134
 
1103
- api_instance = SwaggerClient::SubscriptionsApi.new
1135
+ api_instance = Billabear::SubscriptionsApi.new
1104
1136
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1105
1137
 
1106
1138
 
@@ -1108,18 +1140,18 @@ begin
1108
1140
  #List Customer Subscriptions
1109
1141
  result = api_instance.get_for_customer(customer_id)
1110
1142
  p result
1111
- rescue SwaggerClient::ApiError => e
1143
+ rescue Billabear::ApiError => e
1112
1144
  puts "Exception when calling SubscriptionsApi->get_for_customer: #{e}"
1113
1145
  end
1114
1146
  # Setup authorization
1115
- SwaggerClient.configure do |config|
1147
+ Billabear.configure do |config|
1116
1148
  # Configure API key authorization: ApiKeyAuth
1117
1149
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1118
1150
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1119
1151
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1120
1152
  end
1121
1153
 
1122
- api_instance = SwaggerClient::SubscriptionsApi.new
1154
+ api_instance = Billabear::SubscriptionsApi.new
1123
1155
  opts = {
1124
1156
  limit: 56, # Integer | How many items to return at one time (max 100)
1125
1157
  last_key: 'last_key_example' # String | The key to be used in pagination to say what the last key of the previous page was
@@ -1129,18 +1161,18 @@ begin
1129
1161
  #List Subscription Plans
1130
1162
  result = api_instance.list_subscription_plans(opts)
1131
1163
  p result
1132
- rescue SwaggerClient::ApiError => e
1164
+ rescue Billabear::ApiError => e
1133
1165
  puts "Exception when calling SubscriptionsApi->list_subscription_plans: #{e}"
1134
1166
  end
1135
1167
  # Setup authorization
1136
- SwaggerClient.configure do |config|
1168
+ Billabear.configure do |config|
1137
1169
  # Configure API key authorization: ApiKeyAuth
1138
1170
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1139
1171
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1140
1172
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1141
1173
  end
1142
1174
 
1143
- api_instance = SwaggerClient::SubscriptionsApi.new
1175
+ api_instance = Billabear::SubscriptionsApi.new
1144
1176
  opts = {
1145
1177
  limit: 56, # Integer | How many items to return at one time (max 100)
1146
1178
  last_key: 'last_key_example' # String | The key to be used in pagination to say what the last key of the previous page was
@@ -1150,19 +1182,19 @@ begin
1150
1182
  #List
1151
1183
  result = api_instance.list_subscriptions(opts)
1152
1184
  p result
1153
- rescue SwaggerClient::ApiError => e
1185
+ rescue Billabear::ApiError => e
1154
1186
  puts "Exception when calling SubscriptionsApi->list_subscriptions: #{e}"
1155
1187
  end
1156
1188
  # Setup authorization
1157
- SwaggerClient.configure do |config|
1189
+ Billabear.configure do |config|
1158
1190
  # Configure API key authorization: ApiKeyAuth
1159
1191
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1160
1192
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1161
1193
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1162
1194
  end
1163
1195
 
1164
- api_instance = SwaggerClient::SubscriptionsApi.new
1165
- body = SwaggerClient::SeatsRemoveBody.new # SeatsRemoveBody |
1196
+ api_instance = Billabear::SubscriptionsApi.new
1197
+ body = Billabear::SeatsRemoveBody.new # SeatsRemoveBody |
1166
1198
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
1167
1199
 
1168
1200
 
@@ -1170,18 +1202,18 @@ begin
1170
1202
  #Remove Seats
1171
1203
  result = api_instance.remove_seats_subscriptions(body, subscription_id)
1172
1204
  p result
1173
- rescue SwaggerClient::ApiError => e
1205
+ rescue Billabear::ApiError => e
1174
1206
  puts "Exception when calling SubscriptionsApi->remove_seats_subscriptions: #{e}"
1175
1207
  end
1176
1208
  # Setup authorization
1177
- SwaggerClient.configure do |config|
1209
+ Billabear.configure do |config|
1178
1210
  # Configure API key authorization: ApiKeyAuth
1179
1211
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1180
1212
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1181
1213
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1182
1214
  end
1183
1215
 
1184
- api_instance = SwaggerClient::SubscriptionsApi.new
1216
+ api_instance = Billabear::SubscriptionsApi.new
1185
1217
  subscription_id = 'subscription_id_example' # String | The id of the subscription to retrieve
1186
1218
 
1187
1219
 
@@ -1189,19 +1221,19 @@ begin
1189
1221
  #Detail
1190
1222
  result = api_instance.show_subscription_by_id(subscription_id)
1191
1223
  p result
1192
- rescue SwaggerClient::ApiError => e
1224
+ rescue Billabear::ApiError => e
1193
1225
  puts "Exception when calling SubscriptionsApi->show_subscription_by_id: #{e}"
1194
1226
  end
1195
1227
  # Setup authorization
1196
- SwaggerClient.configure do |config|
1228
+ Billabear.configure do |config|
1197
1229
  # Configure API key authorization: ApiKeyAuth
1198
1230
  config.api_key['X-API-Key'] = 'YOUR API KEY'
1199
1231
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1200
1232
  #config.api_key_prefix['X-API-Key'] = 'Bearer'
1201
1233
  end
1202
1234
 
1203
- api_instance = SwaggerClient::SubscriptionsApi.new
1204
- body = SwaggerClient::SubscriptionTrialBody.new # SubscriptionTrialBody |
1235
+ api_instance = Billabear::SubscriptionsApi.new
1236
+ body = Billabear::SubscriptionTrialBody.new # SubscriptionTrialBody |
1205
1237
  customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1206
1238
 
1207
1239
 
@@ -1209,9 +1241,104 @@ begin
1209
1241
  #Start Trial Subscription For Customer
1210
1242
  result = api_instance.start_trial(body, customer_id)
1211
1243
  p result
1212
- rescue SwaggerClient::ApiError => e
1244
+ rescue Billabear::ApiError => e
1213
1245
  puts "Exception when calling SubscriptionsApi->start_trial: #{e}"
1214
1246
  end
1247
+ # Setup authorization
1248
+ Billabear.configure do |config|
1249
+ # Configure API key authorization: ApiKeyAuth
1250
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
1251
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1252
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
1253
+ end
1254
+
1255
+ api_instance = Billabear::UsageApi.new
1256
+ body = Billabear::CustomerIdUasgelimitBody.new # CustomerIdUasgelimitBody |
1257
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1258
+
1259
+
1260
+ begin
1261
+ #Create Usage Limit
1262
+ result = api_instance.create_customer_usage_limit(body, customer_id)
1263
+ p result
1264
+ rescue Billabear::ApiError => e
1265
+ puts "Exception when calling UsageApi->create_customer_usage_limit: #{e}"
1266
+ end
1267
+ # Setup authorization
1268
+ Billabear.configure do |config|
1269
+ # Configure API key authorization: ApiKeyAuth
1270
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
1271
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1272
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
1273
+ end
1274
+
1275
+ api_instance = Billabear::UsageApi.new
1276
+ body = Billabear::Event.new # Event |
1277
+
1278
+
1279
+ begin
1280
+ #Create Event
1281
+ api_instance.create_event(body)
1282
+ rescue Billabear::ApiError => e
1283
+ puts "Exception when calling UsageApi->create_event: #{e}"
1284
+ end
1285
+ # Setup authorization
1286
+ Billabear.configure do |config|
1287
+ # Configure API key authorization: ApiKeyAuth
1288
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
1289
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1290
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
1291
+ end
1292
+
1293
+ api_instance = Billabear::UsageApi.new
1294
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1295
+ usage_limit_id = 'usage_limit_id_example' # String | The id of the usage limit
1296
+
1297
+
1298
+ begin
1299
+ #Delete Usage Limit
1300
+ api_instance.customer_customer_id_uasge_limit_limit_id_delete(customer_id, usage_limit_id)
1301
+ rescue Billabear::ApiError => e
1302
+ puts "Exception when calling UsageApi->customer_customer_id_uasge_limit_limit_id_delete: #{e}"
1303
+ end
1304
+ # Setup authorization
1305
+ Billabear.configure do |config|
1306
+ # Configure API key authorization: ApiKeyAuth
1307
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
1308
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1309
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
1310
+ end
1311
+
1312
+ api_instance = Billabear::UsageApi.new
1313
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1314
+
1315
+
1316
+ begin
1317
+ #Usage Cost Estimate
1318
+ result = api_instance.get_customer_costs(customer_id)
1319
+ p result
1320
+ rescue Billabear::ApiError => e
1321
+ puts "Exception when calling UsageApi->get_customer_costs: #{e}"
1322
+ end
1323
+ # Setup authorization
1324
+ Billabear.configure do |config|
1325
+ # Configure API key authorization: ApiKeyAuth
1326
+ config.api_key['X-API-Key'] = 'YOUR API KEY'
1327
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
1328
+ #config.api_key_prefix['X-API-Key'] = 'Bearer'
1329
+ end
1330
+
1331
+ api_instance = Billabear::UsageApi.new
1332
+ customer_id = 'customer_id_example' # String | The id of the customer to retrieve
1333
+
1334
+
1335
+ begin
1336
+ #Fetch Customer Usage Limits
1337
+ result = api_instance.get_customer_usage_limits_by_id(customer_id)
1338
+ p result
1339
+ rescue Billabear::ApiError => e
1340
+ puts "Exception when calling UsageApi->get_customer_usage_limits_by_id: #{e}"
1341
+ end
1215
1342
  ```
1216
1343
 
1217
1344
  ## Documentation for API Endpoints
@@ -1220,114 +1347,132 @@ All URIs are relative to *https://{customerId}.billabear.cloud/api/v1*
1220
1347
 
1221
1348
  Class | Method | HTTP request | Description
1222
1349
  ------------ | ------------- | ------------- | -------------
1223
- *SwaggerClient::CheckoutApi* | [**create_checkout**](docs/CheckoutApi.md#create_checkout) | **POST** /checkout | Create Checkout
1224
- *SwaggerClient::CustomersApi* | [**add_seats_subscriptions**](docs/CustomersApi.md#add_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/add | Add Seats
1225
- *SwaggerClient::CustomersApi* | [**apply_voucher_to_customer**](docs/CustomersApi.md#apply_voucher_to_customer) | **POST** /customer/{customerId}/voucher | Apply voucher
1226
- *SwaggerClient::CustomersApi* | [**create_customer**](docs/CustomersApi.md#create_customer) | **POST** /customer | Create
1227
- *SwaggerClient::CustomersApi* | [**disable_customer**](docs/CustomersApi.md#disable_customer) | **POST** /customer/{customerId}/disable | Disable Customer
1228
- *SwaggerClient::CustomersApi* | [**enable_customer**](docs/CustomersApi.md#enable_customer) | **POST** /customer/{customerId}/enable | Enable Customer
1229
- *SwaggerClient::CustomersApi* | [**get_active_for_customer**](docs/CustomersApi.md#get_active_for_customer) | **GET** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
1230
- *SwaggerClient::CustomersApi* | [**get_all_customers**](docs/CustomersApi.md#get_all_customers) | **GET** /customer | List
1231
- *SwaggerClient::CustomersApi* | [**get_customer_by_id**](docs/CustomersApi.md#get_customer_by_id) | **GET** /customer/{customerId} | Detail
1232
- *SwaggerClient::CustomersApi* | [**get_customer_limits_by_id**](docs/CustomersApi.md#get_customer_limits_by_id) | **GET** /customer/{customerId}/limits | Fetch Customer Limits
1233
- *SwaggerClient::CustomersApi* | [**get_for_customer**](docs/CustomersApi.md#get_for_customer) | **GET** /customer/{customerId}/subscription | List Customer Subscriptions
1234
- *SwaggerClient::CustomersApi* | [**get_invoices_for_customer**](docs/CustomersApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1235
- *SwaggerClient::CustomersApi* | [**get_payments_for_customer**](docs/CustomersApi.md#get_payments_for_customer) | **GET** /customer/{customerId}/payment | List Customer Payments
1236
- *SwaggerClient::CustomersApi* | [**get_refunds_for_customer**](docs/CustomersApi.md#get_refunds_for_customer) | **GET** /customer/{customerId}/refund | List Customer Refunds
1237
- *SwaggerClient::CustomersApi* | [**list_payment_details**](docs/CustomersApi.md#list_payment_details) | **GET** /customer/{customerId}/payment-methods | List Customer's Payment Details
1238
- *SwaggerClient::CustomersApi* | [**remove_seats_subscriptions**](docs/CustomersApi.md#remove_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/remove | Remove Seats
1239
- *SwaggerClient::CustomersApi* | [**update_customer**](docs/CustomersApi.md#update_customer) | **PUT** /customer/{customerId} | Update
1240
- *SwaggerClient::InvoicesApi* | [**charge_invoice**](docs/InvoicesApi.md#charge_invoice) | **POST** /invoice/{invoiceId}/charge | Charge Invoice
1241
- *SwaggerClient::InvoicesApi* | [**download_invoice**](docs/InvoicesApi.md#download_invoice) | **GET** /invoice/{invoiceId}/download | Download Invoice
1242
- *SwaggerClient::InvoicesApi* | [**get_invoices_for_customer**](docs/InvoicesApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1243
- *SwaggerClient::PaymentDetailsApi* | [**complete_frontend_payment_details**](docs/PaymentDetailsApi.md#complete_frontend_payment_details) | **POST** /customer/{customerId}/payment-methods/frontend-payment-token | Complete Frontend Detail Collection
1244
- *SwaggerClient::PaymentDetailsApi* | [**delete_payment_details**](docs/PaymentDetailsApi.md#delete_payment_details) | **DELETE** /payment-methods/{paymentDetailsId} | Delete
1245
- *SwaggerClient::PaymentDetailsApi* | [**delete_payment_details_customer**](docs/PaymentDetailsApi.md#delete_payment_details_customer) | **DELETE** /customer/{customerId}/payment-methods/{paymentDetailsId} | Delete With Customer
1246
- *SwaggerClient::PaymentDetailsApi* | [**get_payment_details**](docs/PaymentDetailsApi.md#get_payment_details) | **GET** /payment-methods/{paymentDetailsId} | Fetch
1247
- *SwaggerClient::PaymentDetailsApi* | [**list_payment_details**](docs/PaymentDetailsApi.md#list_payment_details) | **GET** /customer/{customerId}/payment-methods | List Customer's Payment Details
1248
- *SwaggerClient::PaymentDetailsApi* | [**make_default_payment_details**](docs/PaymentDetailsApi.md#make_default_payment_details) | **POST** /payment-methods/{paymentDetailsId}/default | Make Default
1249
- *SwaggerClient::PaymentDetailsApi* | [**make_default_payment_details_customer**](docs/PaymentDetailsApi.md#make_default_payment_details_customer) | **POST** /customer/{customerId}/payment-methods/{paymentDetailsId}/default | Make Default With Customer
1250
- *SwaggerClient::PaymentDetailsApi* | [**start_frontend_payment_details**](docs/PaymentDetailsApi.md#start_frontend_payment_details) | **GET** /customer/{customerId}/payment-methods/frontend-payment-token | Start Frontend Detail Collection
1251
- *SwaggerClient::PaymentsApi* | [**charge_invoice**](docs/PaymentsApi.md#charge_invoice) | **POST** /invoice/{invoiceId}/charge | Charge Invoice
1252
- *SwaggerClient::PaymentsApi* | [**download_invoice**](docs/PaymentsApi.md#download_invoice) | **GET** /invoice/{invoiceId}/download | Download Invoice
1253
- *SwaggerClient::PaymentsApi* | [**download_receipt**](docs/PaymentsApi.md#download_receipt) | **GET** /receipt/{receiptId}/download | Download Receipt
1254
- *SwaggerClient::PaymentsApi* | [**get_invoices_for_customer**](docs/PaymentsApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1255
- *SwaggerClient::PaymentsApi* | [**get_payments_for_customer**](docs/PaymentsApi.md#get_payments_for_customer) | **GET** /customer/{customerId}/payment | List Customer Payments
1256
- *SwaggerClient::PaymentsApi* | [**list_payment**](docs/PaymentsApi.md#list_payment) | **GET** /payment | List
1257
- *SwaggerClient::PaymentsApi* | [**refund_payment**](docs/PaymentsApi.md#refund_payment) | **POST** /payment/{paymentId}/refund | Refund Payment
1258
- *SwaggerClient::PricesApi* | [**create_price**](docs/PricesApi.md#create_price) | **POST** /product/{productId}/price | Create
1259
- *SwaggerClient::PricesApi* | [**list_price**](docs/PricesApi.md#list_price) | **GET** /product/{productId}/price | List
1260
- *SwaggerClient::ProductsApi* | [**create_product**](docs/ProductsApi.md#create_product) | **POST** /product | Create
1261
- *SwaggerClient::ProductsApi* | [**list_product**](docs/ProductsApi.md#list_product) | **GET** /product | List
1262
- *SwaggerClient::ProductsApi* | [**show_product_by_id**](docs/ProductsApi.md#show_product_by_id) | **GET** /product/{productId} | Detail
1263
- *SwaggerClient::ProductsApi* | [**update_product**](docs/ProductsApi.md#update_product) | **PUT** /product/{productId} | Update
1264
- *SwaggerClient::ReceiptApi* | [**download_receipt**](docs/ReceiptApi.md#download_receipt) | **GET** /receipt/{receiptId}/download | Download Receipt
1265
- *SwaggerClient::RefundsApi* | [**get_refunds_for_customer**](docs/RefundsApi.md#get_refunds_for_customer) | **GET** /customer/{customerId}/refund | List Customer Refunds
1266
- *SwaggerClient::RefundsApi* | [**list_refund**](docs/RefundsApi.md#list_refund) | **GET** /refund | List
1267
- *SwaggerClient::RefundsApi* | [**show_refund_by_id**](docs/RefundsApi.md#show_refund_by_id) | **GET** /refund/{refundId} | Detail
1268
- *SwaggerClient::SubscriptionsApi* | [**add_seats_subscriptions**](docs/SubscriptionsApi.md#add_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/add | Add Seats
1269
- *SwaggerClient::SubscriptionsApi* | [**cancel_subscription**](docs/SubscriptionsApi.md#cancel_subscription) | **POST** /subscription/{subscriptionId}/cancel | Cancel Subscription
1270
- *SwaggerClient::SubscriptionsApi* | [**change_subscription_price**](docs/SubscriptionsApi.md#change_subscription_price) | **POST** /subscription/{subscriptionId}/price | Change Price
1271
- *SwaggerClient::SubscriptionsApi* | [**create_subscription**](docs/SubscriptionsApi.md#create_subscription) | **POST** /customer/{customerId}/subscription/start | Create Subscription
1272
- *SwaggerClient::SubscriptionsApi* | [**customer_change_subscription_plan**](docs/SubscriptionsApi.md#customer_change_subscription_plan) | **POST** /subscription/{subscriptionId}/plan | Change Subscription Plan
1273
- *SwaggerClient::SubscriptionsApi* | [**extend_trial**](docs/SubscriptionsApi.md#extend_trial) | **POST** /subscription/{subscriptionId}/extend | Extend Trial Subscription
1274
- *SwaggerClient::SubscriptionsApi* | [**get_active_for_customer**](docs/SubscriptionsApi.md#get_active_for_customer) | **GET** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
1275
- *SwaggerClient::SubscriptionsApi* | [**get_for_customer**](docs/SubscriptionsApi.md#get_for_customer) | **GET** /customer/{customerId}/subscription | List Customer Subscriptions
1276
- *SwaggerClient::SubscriptionsApi* | [**list_subscription_plans**](docs/SubscriptionsApi.md#list_subscription_plans) | **GET** /subscription/plans | List Subscription Plans
1277
- *SwaggerClient::SubscriptionsApi* | [**list_subscriptions**](docs/SubscriptionsApi.md#list_subscriptions) | **GET** /subscription | List
1278
- *SwaggerClient::SubscriptionsApi* | [**remove_seats_subscriptions**](docs/SubscriptionsApi.md#remove_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/remove | Remove Seats
1279
- *SwaggerClient::SubscriptionsApi* | [**show_subscription_by_id**](docs/SubscriptionsApi.md#show_subscription_by_id) | **GET** /subscription/{subscriptionId} | Detail
1280
- *SwaggerClient::SubscriptionsApi* | [**start_trial**](docs/SubscriptionsApi.md#start_trial) | **POST** /customer/{customerId}/subscription/trial | Start Trial Subscription For Customer
1350
+ *Billabear::CheckoutApi* | [**create_checkout**](docs/CheckoutApi.md#create_checkout) | **POST** /checkout | Create Checkout
1351
+ *Billabear::CustomersApi* | [**add_seats_subscriptions**](docs/CustomersApi.md#add_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/add | Add Seats
1352
+ *Billabear::CustomersApi* | [**apply_voucher_to_customer**](docs/CustomersApi.md#apply_voucher_to_customer) | **POST** /customer/{customerId}/voucher | Apply voucher
1353
+ *Billabear::CustomersApi* | [**create_customer**](docs/CustomersApi.md#create_customer) | **POST** /customer | Create
1354
+ *Billabear::CustomersApi* | [**create_customer_usage_limit**](docs/CustomersApi.md#create_customer_usage_limit) | **POST** /customer/{customerId}/uasge-limit | Create Usage Limit
1355
+ *Billabear::CustomersApi* | [**customer_customer_id_uasge_limit_limit_id_delete**](docs/CustomersApi.md#customer_customer_id_uasge_limit_limit_id_delete) | **DELETE** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
1356
+ *Billabear::CustomersApi* | [**disable_customer**](docs/CustomersApi.md#disable_customer) | **POST** /customer/{customerId}/disable | Disable Customer
1357
+ *Billabear::CustomersApi* | [**enable_customer**](docs/CustomersApi.md#enable_customer) | **POST** /customer/{customerId}/enable | Enable Customer
1358
+ *Billabear::CustomersApi* | [**get_active_for_customer**](docs/CustomersApi.md#get_active_for_customer) | **GET** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
1359
+ *Billabear::CustomersApi* | [**get_all_customers**](docs/CustomersApi.md#get_all_customers) | **GET** /customer | List
1360
+ *Billabear::CustomersApi* | [**get_customer_by_id**](docs/CustomersApi.md#get_customer_by_id) | **GET** /customer/{customerId} | Detail
1361
+ *Billabear::CustomersApi* | [**get_customer_costs**](docs/CustomersApi.md#get_customer_costs) | **GET** /customer/{customerId}/costs | Usage Cost Estimate
1362
+ *Billabear::CustomersApi* | [**get_customer_limits_by_id**](docs/CustomersApi.md#get_customer_limits_by_id) | **GET** /customer/{customerId}/limits | Fetch Customer Limits
1363
+ *Billabear::CustomersApi* | [**get_customer_usage_limits_by_id**](docs/CustomersApi.md#get_customer_usage_limits_by_id) | **GET** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
1364
+ *Billabear::CustomersApi* | [**get_for_customer**](docs/CustomersApi.md#get_for_customer) | **GET** /customer/{customerId}/subscription | List Customer Subscriptions
1365
+ *Billabear::CustomersApi* | [**get_invoices_for_customer**](docs/CustomersApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1366
+ *Billabear::CustomersApi* | [**get_payments_for_customer**](docs/CustomersApi.md#get_payments_for_customer) | **GET** /customer/{customerId}/payment | List Customer Payments
1367
+ *Billabear::CustomersApi* | [**get_refunds_for_customer**](docs/CustomersApi.md#get_refunds_for_customer) | **GET** /customer/{customerId}/refund | List Customer Refunds
1368
+ *Billabear::CustomersApi* | [**list_payment_details**](docs/CustomersApi.md#list_payment_details) | **GET** /customer/{customerId}/payment-methods | List Customer's Payment Details
1369
+ *Billabear::CustomersApi* | [**remove_seats_subscriptions**](docs/CustomersApi.md#remove_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/remove | Remove Seats
1370
+ *Billabear::CustomersApi* | [**update_customer**](docs/CustomersApi.md#update_customer) | **PUT** /customer/{customerId} | Update
1371
+ *Billabear::InvoicesApi* | [**charge_invoice**](docs/InvoicesApi.md#charge_invoice) | **POST** /invoice/{invoiceId}/charge | Charge Invoice
1372
+ *Billabear::InvoicesApi* | [**download_invoice**](docs/InvoicesApi.md#download_invoice) | **GET** /invoice/{invoiceId}/download | Download Invoice
1373
+ *Billabear::InvoicesApi* | [**get_invoices_for_customer**](docs/InvoicesApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1374
+ *Billabear::PaymentDetailsApi* | [**complete_frontend_payment_details**](docs/PaymentDetailsApi.md#complete_frontend_payment_details) | **POST** /customer/{customerId}/payment-methods/frontend-payment-token | Complete Frontend Detail Collection
1375
+ *Billabear::PaymentDetailsApi* | [**delete_payment_details**](docs/PaymentDetailsApi.md#delete_payment_details) | **DELETE** /payment-methods/{paymentDetailsId} | Delete
1376
+ *Billabear::PaymentDetailsApi* | [**delete_payment_details_customer**](docs/PaymentDetailsApi.md#delete_payment_details_customer) | **DELETE** /customer/{customerId}/payment-methods/{paymentDetailsId} | Delete With Customer
1377
+ *Billabear::PaymentDetailsApi* | [**get_payment_details**](docs/PaymentDetailsApi.md#get_payment_details) | **GET** /payment-methods/{paymentDetailsId} | Fetch
1378
+ *Billabear::PaymentDetailsApi* | [**list_payment_details**](docs/PaymentDetailsApi.md#list_payment_details) | **GET** /customer/{customerId}/payment-methods | List Customer's Payment Details
1379
+ *Billabear::PaymentDetailsApi* | [**make_default_payment_details**](docs/PaymentDetailsApi.md#make_default_payment_details) | **POST** /payment-methods/{paymentDetailsId}/default | Make Default
1380
+ *Billabear::PaymentDetailsApi* | [**make_default_payment_details_customer**](docs/PaymentDetailsApi.md#make_default_payment_details_customer) | **POST** /customer/{customerId}/payment-methods/{paymentDetailsId}/default | Make Default With Customer
1381
+ *Billabear::PaymentDetailsApi* | [**start_frontend_payment_details**](docs/PaymentDetailsApi.md#start_frontend_payment_details) | **GET** /customer/{customerId}/payment-methods/frontend-payment-token | Start Frontend Detail Collection
1382
+ *Billabear::PaymentsApi* | [**charge_invoice**](docs/PaymentsApi.md#charge_invoice) | **POST** /invoice/{invoiceId}/charge | Charge Invoice
1383
+ *Billabear::PaymentsApi* | [**download_invoice**](docs/PaymentsApi.md#download_invoice) | **GET** /invoice/{invoiceId}/download | Download Invoice
1384
+ *Billabear::PaymentsApi* | [**download_receipt**](docs/PaymentsApi.md#download_receipt) | **GET** /receipt/{receiptId}/download | Download Receipt
1385
+ *Billabear::PaymentsApi* | [**get_invoices_for_customer**](docs/PaymentsApi.md#get_invoices_for_customer) | **GET** /customer/{customerId}/invoices | List Customer Invoices
1386
+ *Billabear::PaymentsApi* | [**get_payments_for_customer**](docs/PaymentsApi.md#get_payments_for_customer) | **GET** /customer/{customerId}/payment | List Customer Payments
1387
+ *Billabear::PaymentsApi* | [**list_payment**](docs/PaymentsApi.md#list_payment) | **GET** /payment | List
1388
+ *Billabear::PaymentsApi* | [**refund_payment**](docs/PaymentsApi.md#refund_payment) | **POST** /payment/{paymentId}/refund | Refund Payment
1389
+ *Billabear::PricesApi* | [**create_price**](docs/PricesApi.md#create_price) | **POST** /product/{productId}/price | Create
1390
+ *Billabear::PricesApi* | [**list_price**](docs/PricesApi.md#list_price) | **GET** /product/{productId}/price | List
1391
+ *Billabear::ProductsApi* | [**create_product**](docs/ProductsApi.md#create_product) | **POST** /product | Create
1392
+ *Billabear::ProductsApi* | [**list_product**](docs/ProductsApi.md#list_product) | **GET** /product | List
1393
+ *Billabear::ProductsApi* | [**show_product_by_id**](docs/ProductsApi.md#show_product_by_id) | **GET** /product/{productId} | Detail
1394
+ *Billabear::ProductsApi* | [**update_product**](docs/ProductsApi.md#update_product) | **PUT** /product/{productId} | Update
1395
+ *Billabear::ReceiptApi* | [**download_receipt**](docs/ReceiptApi.md#download_receipt) | **GET** /receipt/{receiptId}/download | Download Receipt
1396
+ *Billabear::RefundsApi* | [**get_refunds_for_customer**](docs/RefundsApi.md#get_refunds_for_customer) | **GET** /customer/{customerId}/refund | List Customer Refunds
1397
+ *Billabear::RefundsApi* | [**list_refund**](docs/RefundsApi.md#list_refund) | **GET** /refund | List
1398
+ *Billabear::RefundsApi* | [**show_refund_by_id**](docs/RefundsApi.md#show_refund_by_id) | **GET** /refund/{refundId} | Detail
1399
+ *Billabear::SubscriptionsApi* | [**add_seats_subscriptions**](docs/SubscriptionsApi.md#add_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/add | Add Seats
1400
+ *Billabear::SubscriptionsApi* | [**cancel_subscription**](docs/SubscriptionsApi.md#cancel_subscription) | **POST** /subscription/{subscriptionId}/cancel | Cancel Subscription
1401
+ *Billabear::SubscriptionsApi* | [**change_subscription_price**](docs/SubscriptionsApi.md#change_subscription_price) | **POST** /subscription/{subscriptionId}/price | Change Price
1402
+ *Billabear::SubscriptionsApi* | [**create_subscription**](docs/SubscriptionsApi.md#create_subscription) | **POST** /customer/{customerId}/subscription/start | Create Subscription
1403
+ *Billabear::SubscriptionsApi* | [**customer_change_subscription_plan**](docs/SubscriptionsApi.md#customer_change_subscription_plan) | **POST** /subscription/{subscriptionId}/plan | Change Subscription Plan
1404
+ *Billabear::SubscriptionsApi* | [**extend_trial**](docs/SubscriptionsApi.md#extend_trial) | **POST** /subscription/{subscriptionId}/extend | Extend Trial Subscription
1405
+ *Billabear::SubscriptionsApi* | [**get_active_for_customer**](docs/SubscriptionsApi.md#get_active_for_customer) | **GET** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
1406
+ *Billabear::SubscriptionsApi* | [**get_for_customer**](docs/SubscriptionsApi.md#get_for_customer) | **GET** /customer/{customerId}/subscription | List Customer Subscriptions
1407
+ *Billabear::SubscriptionsApi* | [**list_subscription_plans**](docs/SubscriptionsApi.md#list_subscription_plans) | **GET** /subscription/plans | List Subscription Plans
1408
+ *Billabear::SubscriptionsApi* | [**list_subscriptions**](docs/SubscriptionsApi.md#list_subscriptions) | **GET** /subscription | List
1409
+ *Billabear::SubscriptionsApi* | [**remove_seats_subscriptions**](docs/SubscriptionsApi.md#remove_seats_subscriptions) | **POST** /subscription/{subscriptionId}/seats/remove | Remove Seats
1410
+ *Billabear::SubscriptionsApi* | [**show_subscription_by_id**](docs/SubscriptionsApi.md#show_subscription_by_id) | **GET** /subscription/{subscriptionId} | Detail
1411
+ *Billabear::SubscriptionsApi* | [**start_trial**](docs/SubscriptionsApi.md#start_trial) | **POST** /customer/{customerId}/subscription/trial | Start Trial Subscription For Customer
1412
+ *Billabear::UsageApi* | [**create_customer_usage_limit**](docs/UsageApi.md#create_customer_usage_limit) | **POST** /customer/{customerId}/uasge-limit | Create Usage Limit
1413
+ *Billabear::UsageApi* | [**create_event**](docs/UsageApi.md#create_event) | **POST** /events | Create Event
1414
+ *Billabear::UsageApi* | [**customer_customer_id_uasge_limit_limit_id_delete**](docs/UsageApi.md#customer_customer_id_uasge_limit_limit_id_delete) | **DELETE** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
1415
+ *Billabear::UsageApi* | [**get_customer_costs**](docs/UsageApi.md#get_customer_costs) | **GET** /customer/{customerId}/costs | Usage Cost Estimate
1416
+ *Billabear::UsageApi* | [**get_customer_usage_limits_by_id**](docs/UsageApi.md#get_customer_usage_limits_by_id) | **GET** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
1281
1417
 
1282
1418
  ## Documentation for Models
1283
1419
 
1284
- - [SwaggerClient::Address](docs/Address.md)
1285
- - [SwaggerClient::BillingAdmin](docs/BillingAdmin.md)
1286
- - [SwaggerClient::CheckoutBody](docs/CheckoutBody.md)
1287
- - [SwaggerClient::CheckoutItems](docs/CheckoutItems.md)
1288
- - [SwaggerClient::CheckoutSubscriptions](docs/CheckoutSubscriptions.md)
1289
- - [SwaggerClient::Customer](docs/Customer.md)
1290
- - [SwaggerClient::Error](docs/Error.md)
1291
- - [SwaggerClient::Feature](docs/Feature.md)
1292
- - [SwaggerClient::FrontendToken](docs/FrontendToken.md)
1293
- - [SwaggerClient::InlineResponse200](docs/InlineResponse200.md)
1294
- - [SwaggerClient::InlineResponse2001](docs/InlineResponse2001.md)
1295
- - [SwaggerClient::InlineResponse20010](docs/InlineResponse20010.md)
1296
- - [SwaggerClient::InlineResponse20011](docs/InlineResponse20011.md)
1297
- - [SwaggerClient::InlineResponse20012](docs/InlineResponse20012.md)
1298
- - [SwaggerClient::InlineResponse2002](docs/InlineResponse2002.md)
1299
- - [SwaggerClient::InlineResponse2003](docs/InlineResponse2003.md)
1300
- - [SwaggerClient::InlineResponse2004](docs/InlineResponse2004.md)
1301
- - [SwaggerClient::InlineResponse2005](docs/InlineResponse2005.md)
1302
- - [SwaggerClient::InlineResponse2006](docs/InlineResponse2006.md)
1303
- - [SwaggerClient::InlineResponse2007](docs/InlineResponse2007.md)
1304
- - [SwaggerClient::InlineResponse2007Data](docs/InlineResponse2007Data.md)
1305
- - [SwaggerClient::InlineResponse2007Receipts](docs/InlineResponse2007Receipts.md)
1306
- - [SwaggerClient::InlineResponse2008](docs/InlineResponse2008.md)
1307
- - [SwaggerClient::InlineResponse2009](docs/InlineResponse2009.md)
1308
- - [SwaggerClient::InlineResponse201](docs/InlineResponse201.md)
1309
- - [SwaggerClient::InlineResponse201Lines](docs/InlineResponse201Lines.md)
1310
- - [SwaggerClient::InlineResponse400](docs/InlineResponse400.md)
1311
- - [SwaggerClient::Invoice](docs/Invoice.md)
1312
- - [SwaggerClient::InvoiceLines](docs/InvoiceLines.md)
1313
- - [SwaggerClient::IssueRefundPayment](docs/IssueRefundPayment.md)
1314
- - [SwaggerClient::Limit](docs/Limit.md)
1315
- - [SwaggerClient::PaymentDetails](docs/PaymentDetails.md)
1316
- - [SwaggerClient::Price](docs/Price.md)
1317
- - [SwaggerClient::Product](docs/Product.md)
1318
- - [SwaggerClient::ProductTaxType](docs/ProductTaxType.md)
1319
- - [SwaggerClient::Refund](docs/Refund.md)
1320
- - [SwaggerClient::SeatsAddBody](docs/SeatsAddBody.md)
1321
- - [SwaggerClient::SeatsRemoveBody](docs/SeatsRemoveBody.md)
1322
- - [SwaggerClient::Subscription](docs/Subscription.md)
1323
- - [SwaggerClient::SubscriptionIdCancelBody](docs/SubscriptionIdCancelBody.md)
1324
- - [SwaggerClient::SubscriptionIdExtendBody](docs/SubscriptionIdExtendBody.md)
1325
- - [SwaggerClient::SubscriptionIdPlanBody](docs/SubscriptionIdPlanBody.md)
1326
- - [SwaggerClient::SubscriptionIdPriceBody](docs/SubscriptionIdPriceBody.md)
1327
- - [SwaggerClient::SubscriptionPlan](docs/SubscriptionPlan.md)
1328
- - [SwaggerClient::SubscriptionStartBody](docs/SubscriptionStartBody.md)
1329
- - [SwaggerClient::SubscriptionTrialBody](docs/SubscriptionTrialBody.md)
1330
- - [SwaggerClient::VoucherCode](docs/VoucherCode.md)
1420
+ - [Billabear::Address](docs/Address.md)
1421
+ - [Billabear::BillingAdmin](docs/BillingAdmin.md)
1422
+ - [Billabear::CheckoutBody](docs/CheckoutBody.md)
1423
+ - [Billabear::CheckoutItems](docs/CheckoutItems.md)
1424
+ - [Billabear::CheckoutSubscriptions](docs/CheckoutSubscriptions.md)
1425
+ - [Billabear::Cost](docs/Cost.md)
1426
+ - [Billabear::Customer](docs/Customer.md)
1427
+ - [Billabear::CustomerIdUasgelimitBody](docs/CustomerIdUasgelimitBody.md)
1428
+ - [Billabear::Error](docs/Error.md)
1429
+ - [Billabear::Event](docs/Event.md)
1430
+ - [Billabear::Feature](docs/Feature.md)
1431
+ - [Billabear::FrontendToken](docs/FrontendToken.md)
1432
+ - [Billabear::InlineResponse200](docs/InlineResponse200.md)
1433
+ - [Billabear::InlineResponse2001](docs/InlineResponse2001.md)
1434
+ - [Billabear::InlineResponse20010](docs/InlineResponse20010.md)
1435
+ - [Billabear::InlineResponse20011](docs/InlineResponse20011.md)
1436
+ - [Billabear::InlineResponse20012](docs/InlineResponse20012.md)
1437
+ - [Billabear::InlineResponse20013](docs/InlineResponse20013.md)
1438
+ - [Billabear::InlineResponse20014](docs/InlineResponse20014.md)
1439
+ - [Billabear::InlineResponse2002](docs/InlineResponse2002.md)
1440
+ - [Billabear::InlineResponse2003](docs/InlineResponse2003.md)
1441
+ - [Billabear::InlineResponse2004](docs/InlineResponse2004.md)
1442
+ - [Billabear::InlineResponse2005](docs/InlineResponse2005.md)
1443
+ - [Billabear::InlineResponse2006](docs/InlineResponse2006.md)
1444
+ - [Billabear::InlineResponse2007](docs/InlineResponse2007.md)
1445
+ - [Billabear::InlineResponse2008](docs/InlineResponse2008.md)
1446
+ - [Billabear::InlineResponse2009](docs/InlineResponse2009.md)
1447
+ - [Billabear::InlineResponse2009Data](docs/InlineResponse2009Data.md)
1448
+ - [Billabear::InlineResponse2009Receipts](docs/InlineResponse2009Receipts.md)
1449
+ - [Billabear::InlineResponse201](docs/InlineResponse201.md)
1450
+ - [Billabear::InlineResponse201Lines](docs/InlineResponse201Lines.md)
1451
+ - [Billabear::InlineResponse400](docs/InlineResponse400.md)
1452
+ - [Billabear::Invoice](docs/Invoice.md)
1453
+ - [Billabear::InvoiceLines](docs/InvoiceLines.md)
1454
+ - [Billabear::IssueRefundPayment](docs/IssueRefundPayment.md)
1455
+ - [Billabear::Limit](docs/Limit.md)
1456
+ - [Billabear::Metric](docs/Metric.md)
1457
+ - [Billabear::MetricCost](docs/MetricCost.md)
1458
+ - [Billabear::MetricFilter](docs/MetricFilter.md)
1459
+ - [Billabear::PaymentDetails](docs/PaymentDetails.md)
1460
+ - [Billabear::Price](docs/Price.md)
1461
+ - [Billabear::Product](docs/Product.md)
1462
+ - [Billabear::ProductTaxType](docs/ProductTaxType.md)
1463
+ - [Billabear::Refund](docs/Refund.md)
1464
+ - [Billabear::SeatsAddBody](docs/SeatsAddBody.md)
1465
+ - [Billabear::SeatsRemoveBody](docs/SeatsRemoveBody.md)
1466
+ - [Billabear::Subscription](docs/Subscription.md)
1467
+ - [Billabear::SubscriptionIdCancelBody](docs/SubscriptionIdCancelBody.md)
1468
+ - [Billabear::SubscriptionIdExtendBody](docs/SubscriptionIdExtendBody.md)
1469
+ - [Billabear::SubscriptionIdPlanBody](docs/SubscriptionIdPlanBody.md)
1470
+ - [Billabear::SubscriptionIdPriceBody](docs/SubscriptionIdPriceBody.md)
1471
+ - [Billabear::SubscriptionPlan](docs/SubscriptionPlan.md)
1472
+ - [Billabear::SubscriptionStartBody](docs/SubscriptionStartBody.md)
1473
+ - [Billabear::SubscriptionTrialBody](docs/SubscriptionTrialBody.md)
1474
+ - [Billabear::UsageLimit](docs/UsageLimit.md)
1475
+ - [Billabear::VoucherCode](docs/VoucherCode.md)
1331
1476
 
1332
1477
  ## Documentation for Authorization
1333
1478