Skip to content

Commit 2722940

Browse files
committed
chore: sdk update
1 parent ac81517 commit 2722940

File tree

294 files changed

+8306
-4744
lines changed

Some content is hidden

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

294 files changed

+8306
-4744
lines changed

README.md

Lines changed: 59 additions & 50 deletions
Large diffs are not rendered by default.

docs/BillingCatalogApi.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@ Method | HTTP request | Description
1212
1313
Get catalog item list
1414

15-
This endpoint retrieves a list of catalog items available for order.
15+
Retrieve catalog items available for order.
1616

1717
Prices in catalog items is displayed as cents (without floating point), e.g: float `17.99` is displayed as integer `1799`.
1818

19+
Use this endpoint to view available services and pricing before placing orders.
20+
1921
### Example
2022

2123
* Bearer Authentication (apiToken):

docs/BillingCreateNewServiceOrderV1422Response.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/BillingCreateNewServiceOrderV1422ResponseErrors.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

docs/BillingGetCatalogItemListV1401Response.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/BillingGetCatalogItemListV1500Response.md

Lines changed: 0 additions & 30 deletions
This file was deleted.

docs/BillingOrdersApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ All URIs are relative to *https://developers.hostinger.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
7-
[**create_new_service_order_v1**](BillingOrdersApi.md#create_new_service_order_v1) | **POST** /api/billing/v1/orders | Create new service order
7+
[**create_service_order_v1**](BillingOrdersApi.md#create_service_order_v1) | **POST** /api/billing/v1/orders | Create service order
88

99

10-
# **create_new_service_order_v1**
11-
> BillingV1OrderOrderResource create_new_service_order_v1(billing_v1_order_store_request)
10+
# **create_service_order_v1**
11+
> BillingV1OrderOrderResource create_service_order_v1(billing_v1_order_store_request)
1212
13-
Create new service order
13+
Create service order
1414

15-
This endpoint creates a new service order.
15+
Create a new service order.
1616

1717
**DEPRECATED**
1818

@@ -53,12 +53,12 @@ with hostinger_api.ApiClient(configuration) as api_client:
5353
billing_v1_order_store_request = hostinger_api.BillingV1OrderStoreRequest() # BillingV1OrderStoreRequest |
5454

5555
try:
56-
# Create new service order
57-
api_response = api_instance.create_new_service_order_v1(billing_v1_order_store_request)
58-
print("The response of BillingOrdersApi->create_new_service_order_v1:\n")
56+
# Create service order
57+
api_response = api_instance.create_service_order_v1(billing_v1_order_store_request)
58+
print("The response of BillingOrdersApi->create_service_order_v1:\n")
5959
pprint(api_response)
6060
except Exception as e:
61-
print("Exception when calling BillingOrdersApi->create_new_service_order_v1: %s\n" % e)
61+
print("Exception when calling BillingOrdersApi->create_service_order_v1: %s\n" % e)
6262
```
6363

6464

docs/BillingPaymentMethodsApi.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Method | HTTP request | Description
1414
1515
Delete payment method
1616

17-
This endpoint deletes a payment method from your account.
17+
Delete a payment method from your account.
18+
19+
Use this endpoint to remove unused payment methods from user accounts.
1820

1921
### Example
2022

@@ -84,10 +86,12 @@ Name | Type | Description | Notes
8486
8587
Get payment method list
8688

87-
This endpoint retrieves a list of available payment methods that can be used for placing new orders.
89+
Retrieve available payment methods that can be used for placing new orders.
8890

8991
If you want to add new payment method, please use [hPanel](https://hpanel.hostinger.com/billing/payment-methods).
9092

93+
Use this endpoint to view available payment options before creating orders.
94+
9195
### Example
9296

9397
* Bearer Authentication (apiToken):
@@ -152,7 +156,9 @@ This endpoint does not need any parameter.
152156
153157
Set default payment method
154158

155-
This endpoint sets default payment method for your account.
159+
Set the default payment method for your account.
160+
161+
Use this endpoint to configure the primary payment method for future orders.
156162

157163
### Example
158164

docs/BillingSubscriptionsApi.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ Method | HTTP request | Description
1313
1414
Cancel subscription
1515

16-
This endpoint cancels a subscription and stops any further billing.
16+
Cancel a subscription and stop any further billing.
17+
18+
Use this endpoint when users want to terminate active services.
1719

1820
### Example
1921

@@ -87,7 +89,9 @@ Name | Type | Description | Notes
8789
8890
Get subscription list
8991

90-
This endpoint retrieves a list of all subscriptions associated with your account.
92+
Retrieve a list of all subscriptions associated with your account.
93+
94+
Use this endpoint to monitor active services and billing status.
9195

9296
### Example
9397

docs/BillingV1CatalogCatalogItemResource.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**id** | **str** | Catalog item ID | [optional]
99
**name** | **str** | | [optional]
1010
**category** | **str** | | [optional]
11+
**metadata** | **object** | Flexible key-value storage containing category-specific metadata for the catalog item. The structure and available fields vary depending on the item category. | [optional]
1112
**prices** | [**List[BillingV1CatalogCatalogItemPriceResource]**](BillingV1CatalogCatalogItemPriceResource.md) | Array of [`Billing.V1.Catalog.CatalogItemPriceResource`](#model/billingv1catalogcatalogitempriceresource) | [optional]
1213

1314
## Example

0 commit comments

Comments
 (0)