2
2
<img width =" 450px " src =" https://ha-static-data.s3.eu-central-1.amazonaws.com/github-readme-logo-v2.png " >
3
3
</p >
4
4
5
- <p align =" center " >
6
- <h1 style =" text-align : center " >BillaBear GO SDK</h1 >
7
- </p >
5
+ The REST API provided by BillaBear
8
6
9
- ## Installation
7
+ ## Overview
8
+ This API client was generated by the [ swagger-codegen] ( https://github.com/swagger-api/swagger-codegen ) project. By using the [ swagger-spec] ( https://github.com/swagger-api/swagger-spec ) from a remote server, you can easily generate an API client.
10
9
11
- ``` shell
12
- go get github.com/billabear/go-sdk
10
+ - API version: 1.0.0
11
+ - Package version: 1.0.0
12
+ - Build package: io.swagger.codegen.v3.generators.go.GoClientCodegen
13
+ For more information, please visit [ http://www.billabear.com/support ] ( http://www.billabear.com/support )
14
+
15
+ ## Installation
16
+ Put the package under your project folder and add the following in import:
17
+ ``` golang
18
+ import " ./swagger"
13
19
```
14
20
15
21
## Documentation for API Endpoints
@@ -22,12 +28,16 @@ Class | Method | HTTP request | Description
22
28
* CustomersApi* | [ ** AddSeatsSubscriptions** ] ( docs/CustomersApi.md#addseatssubscriptions ) | ** Post** /subscription/{subscriptionId}/seats/add | Add Seats
23
29
* CustomersApi* | [ ** ApplyVoucherToCustomer** ] ( docs/CustomersApi.md#applyvouchertocustomer ) | ** Post** /customer/{customerId}/voucher | Apply voucher
24
30
* CustomersApi* | [ ** CreateCustomer** ] ( docs/CustomersApi.md#createcustomer ) | ** Post** /customer | Create
31
+ * CustomersApi* | [ ** CreateCustomerUsageLimit** ] ( docs/CustomersApi.md#createcustomerusagelimit ) | ** Post** /customer/{customerId}/uasge-limit | Create Usage Limit
32
+ * CustomersApi* | [ ** CustomerCustomerIdUasgeLimitLimitIdDelete** ] ( docs/CustomersApi.md#customercustomeriduasgelimitlimitiddelete ) | ** Delete** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
25
33
* CustomersApi* | [ ** DisableCustomer** ] ( docs/CustomersApi.md#disablecustomer ) | ** Post** /customer/{customerId}/disable | Disable Customer
26
34
* CustomersApi* | [ ** EnableCustomer** ] ( docs/CustomersApi.md#enablecustomer ) | ** Post** /customer/{customerId}/enable | Enable Customer
27
35
* CustomersApi* | [ ** GetActiveForCustomer** ] ( docs/CustomersApi.md#getactiveforcustomer ) | ** Get** /customer/{customerId}/subscription/active | List Customer Active Subscriptions
28
36
* CustomersApi* | [ ** GetAllCustomers** ] ( docs/CustomersApi.md#getallcustomers ) | ** Get** /customer | List
29
37
* CustomersApi* | [ ** GetCustomerById** ] ( docs/CustomersApi.md#getcustomerbyid ) | ** Get** /customer/{customerId} | Detail
38
+ * CustomersApi* | [ ** GetCustomerCosts** ] ( docs/CustomersApi.md#getcustomercosts ) | ** Get** /customer/{customerId}/costs | Usage Cost Estimate
30
39
* CustomersApi* | [ ** GetCustomerLimitsById** ] ( docs/CustomersApi.md#getcustomerlimitsbyid ) | ** Get** /customer/{customerId}/limits | Fetch Customer Limits
40
+ * CustomersApi* | [ ** GetCustomerUsageLimitsById** ] ( docs/CustomersApi.md#getcustomerusagelimitsbyid ) | ** Get** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
31
41
* CustomersApi* | [ ** GetForCustomer** ] ( docs/CustomersApi.md#getforcustomer ) | ** Get** /customer/{customerId}/subscription | List Customer Subscriptions
32
42
* CustomersApi* | [ ** GetInvoicesForCustomer** ] ( docs/CustomersApi.md#getinvoicesforcustomer ) | ** Get** /customer/{customerId}/invoices | List Customer Invoices
33
43
* CustomersApi* | [ ** GetPaymentsForCustomer** ] ( docs/CustomersApi.md#getpaymentsforcustomer ) | ** Get** /customer/{customerId}/payment | List Customer Payments
@@ -76,6 +86,11 @@ Class | Method | HTTP request | Description
76
86
* SubscriptionsApi* | [ ** RemoveSeatsSubscriptions** ] ( docs/SubscriptionsApi.md#removeseatssubscriptions ) | ** Post** /subscription/{subscriptionId}/seats/remove | Remove Seats
77
87
* SubscriptionsApi* | [ ** ShowSubscriptionById** ] ( docs/SubscriptionsApi.md#showsubscriptionbyid ) | ** Get** /subscription/{subscriptionId} | Detail
78
88
* SubscriptionsApi* | [ ** StartTrial** ] ( docs/SubscriptionsApi.md#starttrial ) | ** Post** /customer/{customerId}/subscription/trial | Start Trial Subscription For Customer
89
+ * UsageApi* | [ ** CreateCustomerUsageLimit** ] ( docs/UsageApi.md#createcustomerusagelimit ) | ** Post** /customer/{customerId}/uasge-limit | Create Usage Limit
90
+ * UsageApi* | [ ** CreateEvent** ] ( docs/UsageApi.md#createevent ) | ** Post** /events | Create Event
91
+ * UsageApi* | [ ** CustomerCustomerIdUasgeLimitLimitIdDelete** ] ( docs/UsageApi.md#customercustomeriduasgelimitlimitiddelete ) | ** Delete** /customer/{customerId}/uasge-limit/{limitId} | Delete Usage Limit
92
+ * UsageApi* | [ ** GetCustomerCosts** ] ( docs/UsageApi.md#getcustomercosts ) | ** Get** /customer/{customerId}/costs | Usage Cost Estimate
93
+ * UsageApi* | [ ** GetCustomerUsageLimitsById** ] ( docs/UsageApi.md#getcustomerusagelimitsbyid ) | ** Get** /customer/{customerId}/uasge-limit | Fetch Customer Usage Limits
79
94
80
95
## Documentation For Models
81
96
@@ -84,31 +99,39 @@ Class | Method | HTTP request | Description
84
99
- [ CheckoutBody] ( docs/CheckoutBody.md )
85
100
- [ CheckoutItems] ( docs/CheckoutItems.md )
86
101
- [ CheckoutSubscriptions] ( docs/CheckoutSubscriptions.md )
102
+ - [ Cost] ( docs/Cost.md )
87
103
- [ Customer] ( docs/Customer.md )
104
+ - [ CustomerIdUasgelimitBody] ( docs/CustomerIdUasgelimitBody.md )
105
+ - [ Event] ( docs/Event.md )
88
106
- [ Feature] ( docs/Feature.md )
89
107
- [ FrontendToken] ( docs/FrontendToken.md )
90
108
- [ InlineResponse200] ( docs/InlineResponse200.md )
91
109
- [ InlineResponse2001] ( docs/InlineResponse2001.md )
92
110
- [ InlineResponse20010] ( docs/InlineResponse20010.md )
93
111
- [ InlineResponse20011] ( docs/InlineResponse20011.md )
94
112
- [ InlineResponse20012] ( docs/InlineResponse20012.md )
113
+ - [ InlineResponse20013] ( docs/InlineResponse20013.md )
114
+ - [ InlineResponse20014] ( docs/InlineResponse20014.md )
95
115
- [ InlineResponse2002] ( docs/InlineResponse2002.md )
96
116
- [ InlineResponse2003] ( docs/InlineResponse2003.md )
97
117
- [ InlineResponse2004] ( docs/InlineResponse2004.md )
98
118
- [ InlineResponse2005] ( docs/InlineResponse2005.md )
99
119
- [ InlineResponse2006] ( docs/InlineResponse2006.md )
100
120
- [ InlineResponse2007] ( docs/InlineResponse2007.md )
101
- - [ InlineResponse2007Data] ( docs/InlineResponse2007Data.md )
102
- - [ InlineResponse2007Receipts] ( docs/InlineResponse2007Receipts.md )
103
121
- [ InlineResponse2008] ( docs/InlineResponse2008.md )
104
122
- [ InlineResponse2009] ( docs/InlineResponse2009.md )
123
+ - [ InlineResponse2009Data] ( docs/InlineResponse2009Data.md )
124
+ - [ InlineResponse2009Receipts] ( docs/InlineResponse2009Receipts.md )
105
125
- [ InlineResponse201] ( docs/InlineResponse201.md )
106
126
- [ InlineResponse201Lines] ( docs/InlineResponse201Lines.md )
107
127
- [ InlineResponse400] ( docs/InlineResponse400.md )
108
128
- [ Invoice] ( docs/Invoice.md )
109
129
- [ InvoiceLines] ( docs/InvoiceLines.md )
110
130
- [ IssueRefundPayment] ( docs/IssueRefundPayment.md )
111
131
- [ Limit] ( docs/Limit.md )
132
+ - [ Metric] ( docs/Metric.md )
133
+ - [ MetricCost] ( docs/MetricCost.md )
134
+ - [ MetricFilter] ( docs/MetricFilter.md )
112
135
- [ ModelError] ( docs/ModelError.md )
113
136
- [ PaymentDetails] ( docs/PaymentDetails.md )
114
137
- [ Price] ( docs/Price.md )
@@ -125,6 +148,7 @@ Class | Method | HTTP request | Description
125
148
- [ SubscriptionPlan] ( docs/SubscriptionPlan.md )
126
149
- [ SubscriptionStartBody] ( docs/SubscriptionStartBody.md )
127
150
- [ SubscriptionTrialBody] ( docs/SubscriptionTrialBody.md )
151
+ - [ UsageLimit] ( docs/UsageLimit.md )
128
152
- [ VoucherCode] ( docs/VoucherCode.md )
129
153
130
154
## Documentation For Authorization
0 commit comments