helloextend_api_client 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +151 -0
  4. data/Rakefile +10 -0
  5. data/docs/Address.md +27 -0
  6. data/docs/Amount.md +19 -0
  7. data/docs/Contract.md +39 -0
  8. data/docs/ContractPlan.md +19 -0
  9. data/docs/ContractProduct.md +27 -0
  10. data/docs/ContractsApi.md +180 -0
  11. data/docs/Customer.md +23 -0
  12. data/docs/Error.md +19 -0
  13. data/docs/Invoice.md +27 -0
  14. data/docs/InvoiceDetails.md +19 -0
  15. data/docs/InvoiceDiscount.md +21 -0
  16. data/docs/InvoiceItems.md +31 -0
  17. data/docs/InvoiceMetadata.md +21 -0
  18. data/docs/InvoiceMetadataProduct.md +21 -0
  19. data/docs/InvoicePayee.md +23 -0
  20. data/docs/InvoicePayer.md +23 -0
  21. data/docs/Offer.md +17 -0
  22. data/docs/OfferPlan.md +23 -0
  23. data/docs/OfferPlanContract.md +27 -0
  24. data/docs/OffersApi.md +58 -0
  25. data/docs/Plan.md +21 -0
  26. data/docs/PlanDetails.md +21 -0
  27. data/docs/PlanPrices.md +21 -0
  28. data/docs/PlansApi.md +61 -0
  29. data/docs/PlansList.md +17 -0
  30. data/docs/Product.md +45 -0
  31. data/docs/ProductIdentifiers.md +25 -0
  32. data/docs/ProductMfrWarranty.md +21 -0
  33. data/docs/ProductsApi.md +241 -0
  34. data/git_push.sh +58 -0
  35. data/helloextend_api_client.gemspec +39 -0
  36. data/lib/helloextend_api_client.rb +68 -0
  37. data/lib/helloextend_api_client/api/contracts_api.rb +229 -0
  38. data/lib/helloextend_api_client/api/offers_api.rb +90 -0
  39. data/lib/helloextend_api_client/api/plans_api.rb +82 -0
  40. data/lib/helloextend_api_client/api/products_api.rb +298 -0
  41. data/lib/helloextend_api_client/api_client.rb +388 -0
  42. data/lib/helloextend_api_client/api_error.rb +57 -0
  43. data/lib/helloextend_api_client/configuration.rb +248 -0
  44. data/lib/helloextend_api_client/models/address.rb +259 -0
  45. data/lib/helloextend_api_client/models/amount.rb +217 -0
  46. data/lib/helloextend_api_client/models/contract.rb +378 -0
  47. data/lib/helloextend_api_client/models/contract_plan.rb +228 -0
  48. data/lib/helloextend_api_client/models/contract_product.rb +268 -0
  49. data/lib/helloextend_api_client/models/customer.rb +245 -0
  50. data/lib/helloextend_api_client/models/error.rb +225 -0
  51. data/lib/helloextend_api_client/models/invoice.rb +254 -0
  52. data/lib/helloextend_api_client/models/invoice_details.rb +216 -0
  53. data/lib/helloextend_api_client/models/invoice_discount.rb +226 -0
  54. data/lib/helloextend_api_client/models/invoice_items.rb +271 -0
  55. data/lib/helloextend_api_client/models/invoice_metadata.rb +226 -0
  56. data/lib/helloextend_api_client/models/invoice_metadata_product.rb +225 -0
  57. data/lib/helloextend_api_client/models/invoice_payee.rb +233 -0
  58. data/lib/helloextend_api_client/models/invoice_payer.rb +233 -0
  59. data/lib/helloextend_api_client/models/offer.rb +208 -0
  60. data/lib/helloextend_api_client/models/offer_plan.rb +236 -0
  61. data/lib/helloextend_api_client/models/offer_plan_contract.rb +258 -0
  62. data/lib/helloextend_api_client/models/plan.rb +225 -0
  63. data/lib/helloextend_api_client/models/plan_details.rb +227 -0
  64. data/lib/helloextend_api_client/models/plan_prices.rb +230 -0
  65. data/lib/helloextend_api_client/models/plans_list.rb +208 -0
  66. data/lib/helloextend_api_client/models/product.rb +429 -0
  67. data/lib/helloextend_api_client/models/product_identifiers.rb +247 -0
  68. data/lib/helloextend_api_client/models/product_mfr_warranty.rb +228 -0
  69. data/lib/helloextend_api_client/version.rb +15 -0
  70. data/spec/api/contracts_api_spec.rb +74 -0
  71. data/spec/api/offers_api_spec.rb +48 -0
  72. data/spec/api/plans_api_spec.rb +46 -0
  73. data/spec/api/products_api_spec.rb +88 -0
  74. data/spec/api_client_spec.rb +226 -0
  75. data/spec/configuration_spec.rb +42 -0
  76. data/spec/models/address_spec.rb +71 -0
  77. data/spec/models/amount_spec.rb +47 -0
  78. data/spec/models/contract_plan_spec.rb +47 -0
  79. data/spec/models/contract_product_spec.rb +71 -0
  80. data/spec/models/contract_spec.rb +111 -0
  81. data/spec/models/customer_spec.rb +59 -0
  82. data/spec/models/error_spec.rb +47 -0
  83. data/spec/models/invoice_details_spec.rb +47 -0
  84. data/spec/models/invoice_discount_spec.rb +53 -0
  85. data/spec/models/invoice_items_spec.rb +83 -0
  86. data/spec/models/invoice_metadata_product_spec.rb +53 -0
  87. data/spec/models/invoice_metadata_spec.rb +53 -0
  88. data/spec/models/invoice_payee_spec.rb +59 -0
  89. data/spec/models/invoice_payer_spec.rb +59 -0
  90. data/spec/models/invoice_spec.rb +71 -0
  91. data/spec/models/offer_plan_contract_spec.rb +71 -0
  92. data/spec/models/offer_plan_spec.rb +59 -0
  93. data/spec/models/offer_spec.rb +41 -0
  94. data/spec/models/plan_details_spec.rb +53 -0
  95. data/spec/models/plan_prices_spec.rb +53 -0
  96. data/spec/models/plan_spec.rb +53 -0
  97. data/spec/models/plans_list_spec.rb +41 -0
  98. data/spec/models/product_identifiers_spec.rb +65 -0
  99. data/spec/models/product_mfr_warranty_spec.rb +53 -0
  100. data/spec/models/product_spec.rb +129 -0
  101. data/spec/spec_helper.rb +111 -0
  102. metadata +235 -0
@@ -0,0 +1,23 @@
1
+ # HelloextendApiClient::Customer
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **phone** | **String** | | [optional]
8
+ **email** | **String** | While you can create a contract without passing an email address, we <b>strongly</b> recommend that you require and include the customer’s email address for every transaction including an extended warranty purchase. Extend needs to be able to email the customer their warranty contract information and terms, and to be able to communicate with the customer throughout the life of the protection plan. |
9
+ **name** | **String** | |
10
+ **address** | [**Address**](Address.md) | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'HelloextendApiClient'
16
+
17
+ instance = HelloextendApiClient::Customer.new(phone: 123-456-7890,
18
+ email: BobRoss@gmail.com,
19
+ name: Bob Ross,
20
+ address: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,19 @@
1
+ # HelloextendApiClient::Error
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **code** | **String** | |
8
+ **message** | **String** | |
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'HelloextendApiClient'
14
+
15
+ instance = HelloextendApiClient::Error.new(code: null,
16
+ message: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,27 @@
1
+ # HelloextendApiClient::Invoice
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | The invoice id, which is exactly the same as the corresponding contract id. | [optional] [readonly]
8
+ **details** | [**InvoiceDetails**](InvoiceDetails.md) | | [optional]
9
+ **payee** | [**InvoicePayee**](InvoicePayee.md) | | [optional]
10
+ **payer** | [**InvoicePayer**](InvoicePayer.md) | | [optional]
11
+ **items** | [**Array<InvoiceItems>**](InvoiceItems.md) | | [optional]
12
+ **total_amount_due** | [**Amount**](Amount.md) | | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'HelloextendApiClient'
18
+
19
+ instance = HelloextendApiClient::Invoice.new(id: cc957cb3-3d5d-430b-90a2-9ec96ee4c3cf,
20
+ details: null,
21
+ payee: null,
22
+ payer: null,
23
+ items: null,
24
+ total_amount_due: null)
25
+ ```
26
+
27
+
@@ -0,0 +1,19 @@
1
+ # HelloextendApiClient::InvoiceDetails
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **store_id** | **String** | | [optional]
8
+ **invoice_date** | **DateTime** | A Date-Time stamp in ISO 8601 format (UTC) | [optional] [readonly]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'HelloextendApiClient'
14
+
15
+ instance = HelloextendApiClient::InvoiceDetails.new(store_id: b1b2b3b5-3d5d-430b-90a2-9ec96ee4c3cf,
16
+ invoice_date: 2019-07-09T23:56Z)
17
+ ```
18
+
19
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::InvoiceDiscount
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **percent** | **Float** | | [optional]
8
+ **label** | **String** | | [optional] [default to 'Merchant revenue share']
9
+ **amount** | [**Amount**](Amount.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::InvoiceDiscount.new(percent: 25,
17
+ label: null,
18
+ amount: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,31 @@
1
+ # HelloextendApiClient::InvoiceItems
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **title** | **String** | | [optional]
8
+ **transaction_date** | **DateTime** | A Date-Time stamp in ISO 8601 format (UTC) | [optional] [readonly]
9
+ **retail_price** | [**Amount**](Amount.md) | | [optional]
10
+ **unit_price** | [**Amount**](Amount.md) | | [optional]
11
+ **line_total** | [**Amount**](Amount.md) | | [optional]
12
+ **quantity** | **Float** | Number of contracts sold (always 1) | [optional]
13
+ **discount** | [**InvoiceDiscount**](InvoiceDiscount.md) | | [optional]
14
+ **metadata** | [**InvoiceMetadata**](InvoiceMetadata.md) | | [optional]
15
+
16
+ ## Code Sample
17
+
18
+ ```ruby
19
+ require 'HelloextendApiClient'
20
+
21
+ instance = HelloextendApiClient::InvoiceItems.new(title: Extend Protection Plan - AV Receiver,
22
+ transaction_date: 2019-07-09T23:56Z,
23
+ retail_price: null,
24
+ unit_price: null,
25
+ line_total: null,
26
+ quantity: 1,
27
+ discount: null,
28
+ metadata: null)
29
+ ```
30
+
31
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::InvoiceMetadata
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **order_reference_id** | **String** | An optional purchase Order number referenced in the original contract | [optional]
8
+ **plan_id** | **String** | The plan that the contract applied to | [optional]
9
+ **product** | [**InvoiceMetadataProduct**](InvoiceMetadataProduct.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::InvoiceMetadata.new(order_reference_id: PO-12345,
17
+ plan_id: 10001-auto-part-base-replace-1y,
18
+ product: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::InvoiceMetadataProduct
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | | [optional]
8
+ **reference_id** | **String** | The store-specific unique reference identifier for the product that the warranty plan is connected to. In other words, if the customer is buying a TV and a warranty plan for the TV, this would be the ID for the TV. Example ID types: a product SKU, variant ID, GTIN, or any other unique identifier you use in your store. Please see the documentation for <a href='/#tag/Store'>'Create a product'</a> for more information | [optional]
9
+ **price** | [**Amount**](Amount.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::InvoiceMetadataProduct.new(name: Xbox One X 1TB console,
17
+ reference_id: SKU-123-456,
18
+ price: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,23 @@
1
+ # HelloextendApiClient::InvoicePayee
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | | [optional]
8
+ **address** | [**Address**](Address.md) | | [optional]
9
+ **email** | **String** | | [optional]
10
+ **phone** | **String** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'HelloextendApiClient'
16
+
17
+ instance = HelloextendApiClient::InvoicePayee.new(name: Extend, Inc,
18
+ address: null,
19
+ email: billing@helloextend.com,
20
+ phone: 555-555-5555)
21
+ ```
22
+
23
+
@@ -0,0 +1,23 @@
1
+ # HelloextendApiClient::InvoicePayer
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **name** | **String** | | [optional]
8
+ **address** | [**Address**](Address.md) | | [optional]
9
+ **email** | **String** | | [optional]
10
+ **phone** | **String** | | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'HelloextendApiClient'
16
+
17
+ instance = HelloextendApiClient::InvoicePayer.new(name: ABC Televisions,
18
+ address: null,
19
+ email: sales@abctelevisions.com,
20
+ phone: 555-555-5555)
21
+ ```
22
+
23
+
@@ -0,0 +1,17 @@
1
+ # HelloextendApiClient::Offer
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **plans** | [**Array<OfferPlan>**](OfferPlan.md) | | [optional]
8
+
9
+ ## Code Sample
10
+
11
+ ```ruby
12
+ require 'HelloextendApiClient'
13
+
14
+ instance = HelloextendApiClient::Offer.new(plans: null)
15
+ ```
16
+
17
+
@@ -0,0 +1,23 @@
1
+ # HelloextendApiClient::OfferPlan
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | Unique identifier for a warranty Plan | [optional]
8
+ **price** | **Float** | The offer price, in base units | [optional]
9
+ **contract** | [**OfferPlanContract**](OfferPlanContract.md) | | [optional]
10
+ **url** | **String** | A link to the extended warranty plan terms and information. Any offer display must include a “Learn More” or “See Plan Details” call-to-action that enables the customer to see exactly what the warranty plan covers | [optional]
11
+
12
+ ## Code Sample
13
+
14
+ ```ruby
15
+ require 'HelloextendApiClient'
16
+
17
+ instance = HelloextendApiClient::OfferPlan.new(id: AmazingAppliancePlan,
18
+ price: 199,
19
+ contract: null,
20
+ url: null)
21
+ ```
22
+
23
+
@@ -0,0 +1,27 @@
1
+ # HelloextendApiClient::OfferPlanContract
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **coverage_starts** | **String** | Describes when the contract term begins, relative to the manufacturer’s warranty length. For example, “immediate” means coverage starts immediately on the purchase date, and “after” means coverage starts after the manufacturer’s warranty has expired | [optional]
8
+ **coverage_includes** | **String** | Possible values include “base”, which means the extended warranty is a base plan covering mechanical and electrical failures through normal use, or “adh”, which means the plan includes coverage for accidental damage (i.e. “Accidental Damage in Handling”) | [optional]
9
+ **service_type** | **String** | This is the claims resolution service the plan includes. Responses include “replacement” (the damaged item is replaced by a new or refurbished equivalent), “repair_depot” (the customer mails the damaged item to a repair facility), or “repair_onsite” (a repair technician goes out to the customer’s home to repair the item) | [optional]
10
+ **replacement_type** | **String** | Indicates whether the damaged item will be replaced by a “new” or “refurbished” item | [optional]
11
+ **deductible** | **Float** | The amount of the deductible charged to the customer during a claim, if there is one. For most Extend protection plans, there is no deductible | [optional]
12
+ **term_length** | **Float** | The length of the extended warranty coverage, in months | [optional]
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'HelloextendApiClient'
18
+
19
+ instance = HelloextendApiClient::OfferPlanContract.new(coverage_starts: immediate,
20
+ coverage_includes: adh,
21
+ service_type: replace,
22
+ replacement_type: new,
23
+ deductible: 0,
24
+ term_length: 36)
25
+ ```
26
+
27
+
@@ -0,0 +1,58 @@
1
+ # HelloextendApiClient::OffersApi
2
+
3
+ All URIs are relative to *https://api-demo.helloextend.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_offer**](OffersApi.md#get_offer) | **GET** /offers?storeId={storeId}&productId={productId} | Get Offer information
8
+
9
+
10
+
11
+ ## get_offer
12
+
13
+ > Offer get_offer(store_id, product_id)
14
+
15
+ Get Offer information
16
+
17
+ Returns warranty plans and pricing for a specific product.
18
+
19
+ ### Example
20
+
21
+ ```ruby
22
+ # load the gem
23
+ require 'helloextend_api_client'
24
+
25
+ api_instance = HelloextendApiClient::OffersApi.new
26
+ store_id = 'c57ed096-24ef-49a4-a20a-d1b8bf770980' # String | Unique identifier for a Store on Extend
27
+ product_id = 'product_id_example' # String | The unique referenceId passed to extend when creating a product.
28
+
29
+ begin
30
+ #Get Offer information
31
+ result = api_instance.get_offer(store_id, product_id)
32
+ p result
33
+ rescue HelloextendApiClient::ApiError => e
34
+ puts "Exception when calling OffersApi->get_offer: #{e}"
35
+ end
36
+ ```
37
+
38
+ ### Parameters
39
+
40
+
41
+ Name | Type | Description | Notes
42
+ ------------- | ------------- | ------------- | -------------
43
+ **store_id** | [**String**](.md)| Unique identifier for a Store on Extend |
44
+ **product_id** | [**String**](.md)| The unique referenceId passed to extend when creating a product. |
45
+
46
+ ### Return type
47
+
48
+ [**Offer**](Offer.md)
49
+
50
+ ### Authorization
51
+
52
+ No authorization required
53
+
54
+ ### HTTP request headers
55
+
56
+ - **Content-Type**: Not defined
57
+ - **Accept**: application/json
58
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::Plan
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **id** | **String** | Unique identifier for a warranty Plan | [optional]
8
+ **details** | [**PlanDetails**](PlanDetails.md) | | [optional]
9
+ **prices** | [**PlanPrices**](PlanPrices.md) | | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::Plan.new(id: AmazingAppliancePlan,
17
+ details: null,
18
+ prices: null)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::PlanDetails
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **title** | **String** | The name of the warranty plan. Use this in the product title for the warranty plan SKU(s) in your store | [optional]
8
+ **image_url** | **String** | The imageUrl for the warranty plan. Use this as the product image for the warranty plan SKU(s) in your store | [optional]
9
+ **term_length** | **Float** | The length of the extended warranty coverage, in months | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::PlanDetails.new(title: An amazing Appliance Plan,
17
+ image_url: null,
18
+ term_length: 36)
19
+ ```
20
+
21
+
@@ -0,0 +1,21 @@
1
+ # HelloextendApiClient::PlanPrices
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **min** | **Integer** | The minimum price allowed for the warranty plan offered, in the base unit (i.e. cents) with no currency code | [optional]
8
+ **max** | **Integer** | The maximum price for the warranty plan offered, in the base unit (i.e. cents) with no currency code | [optional]
9
+ **points** | **Array<Integer>** | A list of all possible rounded price points at which the warranty plan could be offered. If your system does not allow dynamic pricing on the product page and in the cart, then create a seperate warranty plan SKU for each price point | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'HelloextendApiClient'
15
+
16
+ instance = HelloextendApiClient::PlanPrices.new(min: 99,
17
+ max: 1099,
18
+ points: [99,399,799,1099])
19
+ ```
20
+
21
+
@@ -0,0 +1,61 @@
1
+ # HelloextendApiClient::PlansApi
2
+
3
+ All URIs are relative to *https://api-demo.helloextend.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**offers_liststore_idstore_id_get**](PlansApi.md#offers_liststore_idstore_id_get) | **GET** /offers/list?storeId={storeId} | A list of warranty plans available to the store
8
+
9
+
10
+
11
+ ## offers_liststore_idstore_id_get
12
+
13
+ > PlansList offers_liststore_idstore_id_get(store_id)
14
+
15
+ A list of warranty plans available to the store
16
+
17
+ ### Example
18
+
19
+ ```ruby
20
+ # load the gem
21
+ require 'helloextend_api_client'
22
+ # setup authorization
23
+ HelloextendApiClient.configure do |config|
24
+ # Configure API key authorization: ExtendAccessToken
25
+ config.api_key['X-Extend-Access-Token'] = 'YOUR API KEY'
26
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
27
+ #config.api_key_prefix['X-Extend-Access-Token'] = 'Bearer'
28
+ end
29
+
30
+ api_instance = HelloextendApiClient::PlansApi.new
31
+ store_id = 'c57ed096-24ef-49a4-a20a-d1b8bf770980' # String | Unique identifier for a Store on Extend
32
+
33
+ begin
34
+ #A list of warranty plans available to the store
35
+ result = api_instance.offers_liststore_idstore_id_get(store_id)
36
+ p result
37
+ rescue HelloextendApiClient::ApiError => e
38
+ puts "Exception when calling PlansApi->offers_liststore_idstore_id_get: #{e}"
39
+ end
40
+ ```
41
+
42
+ ### Parameters
43
+
44
+
45
+ Name | Type | Description | Notes
46
+ ------------- | ------------- | ------------- | -------------
47
+ **store_id** | [**String**](.md)| Unique identifier for a Store on Extend |
48
+
49
+ ### Return type
50
+
51
+ [**PlansList**](PlansList.md)
52
+
53
+ ### Authorization
54
+
55
+ [ExtendAccessToken](../README.md#ExtendAccessToken)
56
+
57
+ ### HTTP request headers
58
+
59
+ - **Content-Type**: Not defined
60
+ - **Accept**: application/json
61
+