ultracart_api 3.6.38 → 3.7.38

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 102ee2f5778707a1efcba282b40215b152323c66e7a21ecd72e3709bae9d8d8a
4
- data.tar.gz: 5d4a8c891e74e55bc272636e1f28422c584a6ee4f0b4a70ecc76bdcb00bad373
3
+ metadata.gz: 67158a76743074e8b813d7cba7026488e7e072342a8e5a78bfcf5d7926b415c8
4
+ data.tar.gz: 368fd92091c21b7373defede99ee0db00e579f3a9f8d293a164196674202b533
5
5
  SHA512:
6
- metadata.gz: 2a1306b7d4e80cf9f2961e5953f99bda96018e3418d23864916f37302a408b1c929f4fb399f44acdaf85a54b7c52819072d348aceb669c1511ee8a270692b4f6
7
- data.tar.gz: 708cb757c42713c350557b999c25e2db493289c5c7a8e0769c2f9ad610fd3e7bb2d442f3d00e21a7de7a07d7d0b246f9bc1ef34722a8d4c6872bf21e3fea38a8
6
+ metadata.gz: '065385085d3fae43fd22175af668d00b54b103fde9fb7dfd62b05dd760b0c69969ffdaf59c5b7fee13857e0e1de6fd4ccab61b9b085605aac7e93b3eef0f2fb7'
7
+ data.tar.gz: 84b1752eca49d07935315dd0528110d00534413a12dcc7616d1f9541a2ff31717438c1dceaafcfb759e76662d77a8d8589655e162f2bf4be98ea3f807c29a2f9
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 3.6.38
10
+ - Package version: 3.7.38
11
11
  - Build package: io.swagger.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-3.6.38.gem
27
+ gem install ./ultracart_api-3.7.38.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.38.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.7.38.gem` to install the development dependencies)
30
30
 
31
31
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
32
32
 
33
33
  Finally add this to the Gemfile:
34
34
 
35
- gem 'ultracart_api', '~> 3.6.38'
35
+ gem 'ultracart_api', '~> 3.7.38'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1129,6 +1129,7 @@ Not every change is committed to every SDK.
1129
1129
 
1130
1130
  | Version | Date | Comments |
1131
1131
  | --: | :-: | --- |
1132
+ | 3.7.38 | 02/15/2022 | gift certificate api (currently in testing) |
1132
1133
  | 3.6.38 | 02/07/2022 | Exposed auto order logs |
1133
1134
  | 3.6.37 | 02/04/2022 | insurance type for insurance payments |
1134
1135
  | 3.6.36 | 12/29/2021 | Mail actual post card flag added to test method |
data/docs/CustomerApi.md CHANGED
@@ -20,7 +20,7 @@ Method | HTTP request | Description
20
20
 
21
21
 
22
22
  # **delete_customer**
23
- > CustomerResponse delete_customer(customer_profile_oid)
23
+ > delete_customer(customer_profile_oid)
24
24
 
25
25
  Delete a customer
26
26
 
@@ -41,8 +41,7 @@ customer_profile_oid = 56 # Integer | The customer_profile_oid to delete.
41
41
 
42
42
  begin
43
43
  #Delete a customer
44
- result = api_instance.delete_customer(customer_profile_oid)
45
- p result
44
+ api_instance.delete_customer(customer_profile_oid)
46
45
  rescue UltracartClient::ApiError => e
47
46
  puts "Exception when calling CustomerApi->delete_customer: #{e}"
48
47
  end
@@ -56,7 +55,7 @@ Name | Type | Description | Notes
56
55
 
57
56
  ### Return type
58
57
 
59
- [**CustomerResponse**](CustomerResponse.md)
58
+ nil (empty response body)
60
59
 
61
60
  ### Authorization
62
61
 
@@ -17,6 +17,7 @@ Name | Type | Description | Notes
17
17
  **order_item_count** | **Integer** | Total order item count for this variation | [optional]
18
18
  **original_traffic_percentage** | **Float** | Percentage of the traffic the variation originally started out with | [optional]
19
19
  **page_view_count** | **Integer** | Total page view count for this variation | [optional]
20
+ **paused** | **BOOLEAN** | True if traffic should be paused to this variation | [optional]
20
21
  **revenue** | **Float** | Total revenue for this variation | [optional]
21
22
  **session_count** | **Integer** | Total sessions for this variation | [optional]
22
23
  **traffic_percentage** | **Float** | Percentage of the traffic this variation is currently receiving | [optional]
@@ -36,17 +36,17 @@ module UltracartClient
36
36
  # Delete a customer on the UltraCart account.
37
37
  # @param customer_profile_oid The customer_profile_oid to delete.
38
38
  # @param [Hash] opts the optional parameters
39
- # @return [CustomerResponse]
39
+ # @return [nil]
40
40
  def delete_customer(customer_profile_oid, opts = {})
41
- data, _status_code, _headers = delete_customer_with_http_info(customer_profile_oid, opts)
42
- data
41
+ delete_customer_with_http_info(customer_profile_oid, opts)
42
+ nil
43
43
  end
44
44
 
45
45
  # Delete a customer
46
46
  # Delete a customer on the UltraCart account.
47
47
  # @param customer_profile_oid The customer_profile_oid to delete.
48
48
  # @param [Hash] opts the optional parameters
49
- # @return [Array<(CustomerResponse, Fixnum, Hash)>] CustomerResponse data, response status code and response headers
49
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
50
50
  def delete_customer_with_http_info(customer_profile_oid, opts = {})
51
51
  if @api_client.config.debugging
52
52
  @api_client.config.logger.debug 'Calling API: CustomerApi.delete_customer ...'
@@ -80,8 +80,7 @@ module UltracartClient
80
80
  :query_params => query_params,
81
81
  :form_params => form_params,
82
82
  :body => post_body,
83
- :auth_names => auth_names,
84
- :return_type => 'CustomerResponse')
83
+ :auth_names => auth_names)
85
84
  if @api_client.config.debugging
86
85
  @api_client.config.logger.debug "API called: CustomerApi#delete_customer\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
87
86
  end
@@ -56,6 +56,9 @@ module UltracartClient
56
56
  # Total page view count for this variation
57
57
  attr_accessor :page_view_count
58
58
 
59
+ # True if traffic should be paused to this variation
60
+ attr_accessor :paused
61
+
59
62
  # Total revenue for this variation
60
63
  attr_accessor :revenue
61
64
 
@@ -94,6 +97,7 @@ module UltracartClient
94
97
  :'order_item_count' => :'order_item_count',
95
98
  :'original_traffic_percentage' => :'original_traffic_percentage',
96
99
  :'page_view_count' => :'page_view_count',
100
+ :'paused' => :'paused',
97
101
  :'revenue' => :'revenue',
98
102
  :'session_count' => :'session_count',
99
103
  :'traffic_percentage' => :'traffic_percentage',
@@ -121,6 +125,7 @@ module UltracartClient
121
125
  :'order_item_count' => :'Integer',
122
126
  :'original_traffic_percentage' => :'Float',
123
127
  :'page_view_count' => :'Integer',
128
+ :'paused' => :'BOOLEAN',
124
129
  :'revenue' => :'Float',
125
130
  :'session_count' => :'Integer',
126
131
  :'traffic_percentage' => :'Float',
@@ -197,6 +202,10 @@ module UltracartClient
197
202
  self.page_view_count = attributes[:'page_view_count']
198
203
  end
199
204
 
205
+ if attributes.has_key?(:'paused')
206
+ self.paused = attributes[:'paused']
207
+ end
208
+
200
209
  if attributes.has_key?(:'revenue')
201
210
  self.revenue = attributes[:'revenue']
202
211
  end
@@ -258,6 +267,7 @@ module UltracartClient
258
267
  order_item_count == o.order_item_count &&
259
268
  original_traffic_percentage == o.original_traffic_percentage &&
260
269
  page_view_count == o.page_view_count &&
270
+ paused == o.paused &&
261
271
  revenue == o.revenue &&
262
272
  session_count == o.session_count &&
263
273
  traffic_percentage == o.traffic_percentage &&
@@ -276,7 +286,7 @@ module UltracartClient
276
286
  # Calculates hash code according to all attributes.
277
287
  # @return [Fixnum] Hash code
278
288
  def hash
279
- [add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, revenue, session_count, traffic_percentage, url, variation_name, variation_number, winner].hash
289
+ [add_to_cart_count, average_duration_seconds, average_objective_per_session, average_order_value, bounce_count, conversion_rate, daily_statistics, duration_seconds_sum, event_count, initiate_checkout_count, order_count, order_item_count, original_traffic_percentage, page_view_count, paused, revenue, session_count, traffic_percentage, url, variation_name, variation_number, winner].hash
280
290
  end
281
291
 
282
292
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.6.38'
14
+ VERSION = '3.7.38'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.38
4
+ version: 3.7.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-07 00:00:00.000000000 Z
11
+ date: 2022-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus