ultracart_api 4.0.38.rc → 4.0.41.rc

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: 4f66d20704c5bb1cc75610371df8890543da872135b00e872ae000d6a1c932a4
4
- data.tar.gz: 730a9a5582042d832feebac3e619a6352d328b0c5d7d88aedcf4f2dfc01ad4ae
3
+ metadata.gz: 544fa63cbd77f4458b243746e53f49d5177c0e6ebd932bf8cb8c3bdaee0df1e0
4
+ data.tar.gz: f82f23fb45f963b3f58709f079fcf37091d8fc527beb479b15bbf3c8451fef75
5
5
  SHA512:
6
- metadata.gz: 12969f6465f641fa8c24186a103eae395317cd0e46c7b0dcb248163cbb8dcfc8e09fbf6dde4a1744f7eb03e21383e1290622e8ddbf748eb3a3dad2b21fae79d2
7
- data.tar.gz: e8cadff3f645622c757ce6e43cab002b32c23f22a5c8692f28f59d56aa5315eb7b1e0e3c65a2c989724408f4777e0b2b001bdf63a52eec5f43f8c575596e69ad
6
+ metadata.gz: fae6b9d9bae72d0fd38b4661d4de18bc2d3328dab7355ddef99f8b90af92ee8efa06153920a5693a315b06200dd112ab7028128335460303773cc23a289d9d0d
7
+ data.tar.gz: 945bad1864f47fd43a0f5559b5f2e3fb62efb6f1a6cdf5bb9129c35b6f44494e244bf9332df4a5901efbd4f21feac3d2f0e86e0a9cbe801e81f35ac18e4c49c4
data/README.md CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 2.0.0
10
- - Package version: 4.0.38.rc
10
+ - Package version: 4.0.41.rc
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
13
13
 
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./ultracart_api-4.0.38.rc.gem
27
+ gem install ./ultracart_api-4.0.41.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.38.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.41.rc.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'ultracart_api', '~> 4.0.38.rc'
36
+ gem 'ultracart_api', '~> 4.0.41.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -472,6 +472,7 @@ Class | Method | HTTP request | Description
472
472
  - [UltracartClient::AutoOrderItemOption](docs/AutoOrderItemOption.md)
473
473
  - [UltracartClient::AutoOrderItemSimpleSchedule](docs/AutoOrderItemSimpleSchedule.md)
474
474
  - [UltracartClient::AutoOrderLog](docs/AutoOrderLog.md)
475
+ - [UltracartClient::AutoOrderManagement](docs/AutoOrderManagement.md)
475
476
  - [UltracartClient::AutoOrderQuery](docs/AutoOrderQuery.md)
476
477
  - [UltracartClient::AutoOrderQueryBatch](docs/AutoOrderQueryBatch.md)
477
478
  - [UltracartClient::AutoOrderResponse](docs/AutoOrderResponse.md)
@@ -564,13 +565,17 @@ Class | Method | HTTP request | Description
564
565
  - [UltracartClient::Conversation](docs/Conversation.md)
565
566
  - [UltracartClient::ConversationAgentAuth](docs/ConversationAgentAuth.md)
566
567
  - [UltracartClient::ConversationAgentAuthResponse](docs/ConversationAgentAuthResponse.md)
568
+ - [UltracartClient::ConversationEventQueuePosition](docs/ConversationEventQueuePosition.md)
567
569
  - [UltracartClient::ConversationMessage](docs/ConversationMessage.md)
568
570
  - [UltracartClient::ConversationMessageTransportStatus](docs/ConversationMessageTransportStatus.md)
571
+ - [UltracartClient::ConversationMultimediaUploadUrl](docs/ConversationMultimediaUploadUrl.md)
572
+ - [UltracartClient::ConversationMultimediaUploadUrlResponse](docs/ConversationMultimediaUploadUrlResponse.md)
569
573
  - [UltracartClient::ConversationParticipant](docs/ConversationParticipant.md)
570
574
  - [UltracartClient::ConversationResponse](docs/ConversationResponse.md)
571
575
  - [UltracartClient::ConversationStartRequest](docs/ConversationStartRequest.md)
572
576
  - [UltracartClient::ConversationStartResponse](docs/ConversationStartResponse.md)
573
577
  - [UltracartClient::ConversationSummary](docs/ConversationSummary.md)
578
+ - [UltracartClient::ConversationWebsocketMessage](docs/ConversationWebsocketMessage.md)
574
579
  - [UltracartClient::ConversationsResponse](docs/ConversationsResponse.md)
575
580
  - [UltracartClient::CountriesResponse](docs/CountriesResponse.md)
576
581
  - [UltracartClient::Country](docs/Country.md)
@@ -1162,6 +1167,9 @@ Not every change is committed to every SDK.
1162
1167
 
1163
1168
  | Version | Date | Comments |
1164
1169
  | --: | :-: | --- |
1170
+ | 4.0.41-RC | 07/25/2022 | conversations bug fixes |
1171
+ | 4.0.40-RC | 07/25/2022 | conversations - add a websocket message model |
1172
+ | 4.0.39-RC | 07/21/2022 | conversation response types improvements |
1165
1173
  | 4.0.38-RC | 07/21/2022 | conversation bugfix for poor response objects |
1166
1174
  | 4.0.37-RC | 07/20/2022 | conversation participant name added |
1167
1175
  | 4.0.36-RC | 07/18/2022 | twilio dev |
data/docs/AutoOrder.md CHANGED
@@ -19,6 +19,7 @@
19
19
  | **failure_reason** | **String** | The reason this auto order failed during the last rebill attempt | [optional] |
20
20
  | **items** | [**Array<AutoOrderItem>**](AutoOrderItem.md) | The items that are setup to rebill | [optional] |
21
21
  | **logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional] |
22
+ | **management** | [**AutoOrderManagement**](AutoOrderManagement.md) | | [optional] |
22
23
  | **next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional] |
23
24
  | **original_order** | [**Order**](Order.md) | | [optional] |
24
25
  | **original_order_id** | **String** | The original order id that this auto order is associated with. | [optional] |
@@ -48,6 +49,7 @@ instance = UltracartClient::AutoOrder.new(
48
49
  failure_reason: null,
49
50
  items: null,
50
51
  logs: null,
52
+ management: null,
51
53
  next_attempt: null,
52
54
  original_order: null,
53
55
  original_order_id: null,
@@ -11,7 +11,6 @@
11
11
  | **arbitrary_unit_cost** | **Float** | Arbitrary unit cost that rebills of this item should occur at | [optional] |
12
12
  | **arbitrary_unit_cost_remaining_orders** | **Integer** | The number of rebills to give the arbitrary unit cost on before reverting to normal pricing. | [optional] |
13
13
  | **auto_order_item_oid** | **Integer** | Primary key of AutoOrderItem | [optional] |
14
- | **first_order_dts** | **String** | Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet. | [optional] |
15
14
  | **frequency** | **String** | Frequency of the rebill if not a fixed schedule | [optional] |
16
15
  | **future_schedules** | [**Array<AutoOrderItemFutureSchedule>**](AutoOrderItemFutureSchedule.md) | The future rebill schedule for this item up to the next ten rebills | [optional] |
17
16
  | **last_order_dts** | **String** | Date/time of the last order of this item | [optional] |
@@ -23,7 +22,6 @@
23
22
  | **options** | [**Array<AutoOrderItemOption>**](AutoOrderItemOption.md) | Options associated with this item | [optional] |
24
23
  | **original_item_id** | **String** | The original item id purchased. This item controls scheduling. If you wish to modify a schedule, for example, from monthly to yearly, change this item from your monthly item to your yearly item, and then change the next_shipment_dts to your desired date. | [optional] |
25
24
  | **original_quantity** | **Float** | The original quantity purchased | [optional] |
26
- | **paused** | **Boolean** | True if paused. This field is an object instead of a primitive for backwards compatibility. | [optional] |
27
25
  | **paypal_payer_id** | **String** | The PayPal Payer ID tied to this item | [optional] |
28
26
  | **paypal_recurring_payment_profile_id** | **String** | The PayPal Profile ID tied to this item | [optional] |
29
27
  | **preshipment_notice_sent** | **Boolean** | True if the preshipment notice associated with the next rebill has been sent | [optional] |
@@ -44,7 +42,6 @@ instance = UltracartClient::AutoOrderItem.new(
44
42
  arbitrary_unit_cost: null,
45
43
  arbitrary_unit_cost_remaining_orders: null,
46
44
  auto_order_item_oid: null,
47
- first_order_dts: null,
48
45
  frequency: null,
49
46
  future_schedules: null,
50
47
  last_order_dts: null,
@@ -56,7 +53,6 @@ instance = UltracartClient::AutoOrderItem.new(
56
53
  options: null,
57
54
  original_item_id: null,
58
55
  original_quantity: null,
59
- paused: null,
60
56
  paypal_payer_id: null,
61
57
  paypal_recurring_payment_profile_id: null,
62
58
  preshipment_notice_sent: null,
@@ -0,0 +1,18 @@
1
+ # UltracartClient::AutoOrderManagement
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **update_billing_url** | **String** | URL where the customer can go to update their billing information. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'ultracart_api'
13
+
14
+ instance = UltracartClient::AutoOrderManagement.new(
15
+ update_billing_url: null
16
+ )
17
+ ```
18
+
@@ -154,7 +154,7 @@ end
154
154
 
155
155
  ## get_conversation_multimedia_upload_url
156
156
 
157
- > get_conversation_multimedia_upload_url(extension)
157
+ > <ConversationMultimediaUploadUrlResponse> get_conversation_multimedia_upload_url(extension)
158
158
 
159
159
  Get a presigned conersation multimedia upload URL
160
160
 
@@ -178,7 +178,8 @@ extension = 'extension_example' # String |
178
178
 
179
179
  begin
180
180
  # Get a presigned conersation multimedia upload URL
181
- api_instance.get_conversation_multimedia_upload_url(extension)
181
+ result = api_instance.get_conversation_multimedia_upload_url(extension)
182
+ p result
182
183
  rescue UltracartClient::ApiError => e
183
184
  puts "Error when calling ConversationApi->get_conversation_multimedia_upload_url: #{e}"
184
185
  end
@@ -186,9 +187,9 @@ end
186
187
 
187
188
  #### Using the get_conversation_multimedia_upload_url_with_http_info variant
188
189
 
189
- This returns an Array which contains the response data (`nil` in this case), status code and headers.
190
+ This returns an Array which contains the response data, status code and headers.
190
191
 
191
- > <Array(nil, Integer, Hash)> get_conversation_multimedia_upload_url_with_http_info(extension)
192
+ > <Array(<ConversationMultimediaUploadUrlResponse>, Integer, Hash)> get_conversation_multimedia_upload_url_with_http_info(extension)
192
193
 
193
194
  ```ruby
194
195
  begin
@@ -196,7 +197,7 @@ begin
196
197
  data, status_code, headers = api_instance.get_conversation_multimedia_upload_url_with_http_info(extension)
197
198
  p status_code # => 2xx
198
199
  p headers # => { ... }
199
- p data # => nil
200
+ p data # => <ConversationMultimediaUploadUrlResponse>
200
201
  rescue UltracartClient::ApiError => e
201
202
  puts "Error when calling ConversationApi->get_conversation_multimedia_upload_url_with_http_info: #{e}"
202
203
  end
@@ -210,7 +211,7 @@ end
210
211
 
211
212
  ### Return type
212
213
 
213
- nil (empty response body)
214
+ [**ConversationMultimediaUploadUrlResponse**](ConversationMultimediaUploadUrlResponse.md)
214
215
 
215
216
  ### Authorization
216
217
 
@@ -0,0 +1,20 @@
1
+ # UltracartClient::ConversationEventQueuePosition
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **available** | **Boolean** | True if agents are logged into the queue | [optional] |
8
+ | **position** | **Integer** | Position in the queue. Value will be -1 if they cant be found in the queue. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::ConversationEventQueuePosition.new(
16
+ available: null,
17
+ position: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,20 @@
1
+ # UltracartClient::ConversationMultimediaUploadUrl
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **key** | **String** | | [optional] |
8
+ | **url** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'ultracart_api'
14
+
15
+ instance = UltracartClient::ConversationMultimediaUploadUrl.new(
16
+ key: null,
17
+ url: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,26 @@
1
+ # UltracartClient::ConversationMultimediaUploadUrlResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conversation_multimedia_upload_url** | [**ConversationMultimediaUploadUrl**](ConversationMultimediaUploadUrl.md) | | [optional] |
8
+ | **error** | [**Error**](Error.md) | | [optional] |
9
+ | **metadata** | [**ResponseMetadata**](ResponseMetadata.md) | | [optional] |
10
+ | **success** | **Boolean** | Indicates if API call was successful | [optional] |
11
+ | **warning** | [**Warning**](Warning.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'ultracart_api'
17
+
18
+ instance = UltracartClient::ConversationMultimediaUploadUrlResponse.new(
19
+ conversation_multimedia_upload_url: null,
20
+ error: null,
21
+ metadata: null,
22
+ success: null,
23
+ warning: null
24
+ )
25
+ ```
26
+
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **add_conversation_participant_arns** | **Array&lt;String&gt;** | | [optional] |
8
8
  | **conversation_arn** | **String** | | [optional] |
9
+ | **conversation_webchat_queue_uuid** | **String** | | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'ultracart_api'
14
15
 
15
16
  instance = UltracartClient::ConversationStartRequest.new(
16
17
  add_conversation_participant_arns: null,
17
- conversation_arn: null
18
+ conversation_arn: null,
19
+ conversation_webchat_queue_uuid: null
18
20
  )
19
21
  ```
20
22
 
@@ -0,0 +1,34 @@
1
+ # UltracartClient::ConversationWebsocketMessage
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **conversation_uuid** | **String** | Conversation UUID if the websocket message is tied to a specific conversation | [optional] |
8
+ | **event_conversation_closed** | [**Conversation**](Conversation.md) | | [optional] |
9
+ | **event_new_conversation** | [**Conversation**](Conversation.md) | | [optional] |
10
+ | **event_new_message** | [**Conversation**](Conversation.md) | | [optional] |
11
+ | **event_queue_position** | [**ConversationEventQueuePosition**](ConversationEventQueuePosition.md) | | [optional] |
12
+ | **event_type** | **String** | Type of event | [optional] |
13
+ | **event_updated_message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
14
+ | **message** | [**ConversationMessage**](ConversationMessage.md) | | [optional] |
15
+ | **type** | **String** | Type of message | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'ultracart_api'
21
+
22
+ instance = UltracartClient::ConversationWebsocketMessage.new(
23
+ conversation_uuid: null,
24
+ event_conversation_closed: null,
25
+ event_new_conversation: null,
26
+ event_new_message: null,
27
+ event_queue_position: null,
28
+ event_type: null,
29
+ event_updated_message: null,
30
+ message: null,
31
+ type: null
32
+ )
33
+ ```
34
+
@@ -14,7 +14,7 @@
14
14
  | **postcard_container_cjson_last_modified_dts** | **String** | Timestamp the last time the container was modified. | [optional] |
15
15
  | **postcard_front_container_cjson** | **String** | Postcard front container cjson | [optional] |
16
16
  | **postcard_front_container_uuid** | **String** | Postcard front container uuid | [optional] |
17
- | **screenshot_back_url** | **String** | URL to screenshot of the front of the postcard | [optional] |
17
+ | **screenshot_back_url** | **String** | URL to screenshot of the back of the postcard | [optional] |
18
18
  | **screenshot_front_url** | **String** | URL to screenshot of the front of the postcard | [optional] |
19
19
  | **storefront_oid** | **Integer** | Storefront oid | [optional] |
20
20
 
@@ -158,17 +158,17 @@ module UltracartClient
158
158
  # Get a presigned conersation multimedia upload URL
159
159
  # @param extension [String]
160
160
  # @param [Hash] opts the optional parameters
161
- # @return [nil]
161
+ # @return [ConversationMultimediaUploadUrlResponse]
162
162
  def get_conversation_multimedia_upload_url(extension, opts = {})
163
- get_conversation_multimedia_upload_url_with_http_info(extension, opts)
164
- nil
163
+ data, _status_code, _headers = get_conversation_multimedia_upload_url_with_http_info(extension, opts)
164
+ data
165
165
  end
166
166
 
167
167
  # Get a presigned conersation multimedia upload URL
168
168
  # Get a presigned conersation multimedia upload URL
169
169
  # @param extension [String]
170
170
  # @param [Hash] opts the optional parameters
171
- # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
171
+ # @return [Array<(ConversationMultimediaUploadUrlResponse, Integer, Hash)>] ConversationMultimediaUploadUrlResponse data, response status code and response headers
172
172
  def get_conversation_multimedia_upload_url_with_http_info(extension, opts = {})
173
173
  if @api_client.config.debugging
174
174
  @api_client.config.logger.debug 'Calling API: ConversationApi.get_conversation_multimedia_upload_url ...'
@@ -196,7 +196,7 @@ module UltracartClient
196
196
  post_body = opts[:debug_body]
197
197
 
198
198
  # return_type
199
- return_type = opts[:debug_return_type]
199
+ return_type = opts[:debug_return_type] || 'ConversationMultimediaUploadUrlResponse'
200
200
 
201
201
  # auth_names
202
202
  auth_names = opts[:debug_auth_names] || ['ultraCartOauth', 'ultraCartSimpleApiKey']
@@ -60,6 +60,8 @@ module UltracartClient
60
60
  # Logs associated with this auto order
61
61
  attr_accessor :logs
62
62
 
63
+ attr_accessor :management
64
+
63
65
  # The next time that the auto order will be attempted for processing
64
66
  attr_accessor :next_attempt
65
67
 
@@ -120,6 +122,7 @@ module UltracartClient
120
122
  :'failure_reason' => :'failure_reason',
121
123
  :'items' => :'items',
122
124
  :'logs' => :'logs',
125
+ :'management' => :'management',
123
126
  :'next_attempt' => :'next_attempt',
124
127
  :'original_order' => :'original_order',
125
128
  :'original_order_id' => :'original_order_id',
@@ -153,6 +156,7 @@ module UltracartClient
153
156
  :'failure_reason' => :'String',
154
157
  :'items' => :'Array<AutoOrderItem>',
155
158
  :'logs' => :'Array<AutoOrderLog>',
159
+ :'management' => :'AutoOrderManagement',
156
160
  :'next_attempt' => :'String',
157
161
  :'original_order' => :'Order',
158
162
  :'original_order_id' => :'String',
@@ -248,6 +252,10 @@ module UltracartClient
248
252
  end
249
253
  end
250
254
 
255
+ if attributes.key?(:'management')
256
+ self.management = attributes[:'management']
257
+ end
258
+
251
259
  if attributes.key?(:'next_attempt')
252
260
  self.next_attempt = attributes[:'next_attempt']
253
261
  end
@@ -324,6 +332,7 @@ module UltracartClient
324
332
  failure_reason == o.failure_reason &&
325
333
  items == o.items &&
326
334
  logs == o.logs &&
335
+ management == o.management &&
327
336
  next_attempt == o.next_attempt &&
328
337
  original_order == o.original_order &&
329
338
  original_order_id == o.original_order_id &&
@@ -342,7 +351,7 @@ module UltracartClient
342
351
  # Calculates hash code according to all attributes.
343
352
  # @return [Integer] Hash code
344
353
  def hash
345
- [auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
354
+ [auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_reason, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, logs, management, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
346
355
  end
347
356
 
348
357
  # Builds the object from hash
@@ -36,9 +36,6 @@ module UltracartClient
36
36
  # Primary key of AutoOrderItem
37
37
  attr_accessor :auto_order_item_oid
38
38
 
39
- # Date/time of the first order of this item. Null if item added to auto order and has not been rebilled yet.
40
- attr_accessor :first_order_dts
41
-
42
39
  # Frequency of the rebill if not a fixed schedule
43
40
  attr_accessor :frequency
44
41
 
@@ -72,9 +69,6 @@ module UltracartClient
72
69
  # The original quantity purchased
73
70
  attr_accessor :original_quantity
74
71
 
75
- # True if paused. This field is an object instead of a primitive for backwards compatibility.
76
- attr_accessor :paused
77
-
78
72
  # The PayPal Payer ID tied to this item
79
73
  attr_accessor :paypal_payer_id
80
74
 
@@ -124,7 +118,6 @@ module UltracartClient
124
118
  :'arbitrary_unit_cost' => :'arbitrary_unit_cost',
125
119
  :'arbitrary_unit_cost_remaining_orders' => :'arbitrary_unit_cost_remaining_orders',
126
120
  :'auto_order_item_oid' => :'auto_order_item_oid',
127
- :'first_order_dts' => :'first_order_dts',
128
121
  :'frequency' => :'frequency',
129
122
  :'future_schedules' => :'future_schedules',
130
123
  :'last_order_dts' => :'last_order_dts',
@@ -136,7 +129,6 @@ module UltracartClient
136
129
  :'options' => :'options',
137
130
  :'original_item_id' => :'original_item_id',
138
131
  :'original_quantity' => :'original_quantity',
139
- :'paused' => :'paused',
140
132
  :'paypal_payer_id' => :'paypal_payer_id',
141
133
  :'paypal_recurring_payment_profile_id' => :'paypal_recurring_payment_profile_id',
142
134
  :'preshipment_notice_sent' => :'preshipment_notice_sent',
@@ -161,7 +153,6 @@ module UltracartClient
161
153
  :'arbitrary_unit_cost' => :'Float',
162
154
  :'arbitrary_unit_cost_remaining_orders' => :'Integer',
163
155
  :'auto_order_item_oid' => :'Integer',
164
- :'first_order_dts' => :'String',
165
156
  :'frequency' => :'String',
166
157
  :'future_schedules' => :'Array<AutoOrderItemFutureSchedule>',
167
158
  :'last_order_dts' => :'String',
@@ -173,7 +164,6 @@ module UltracartClient
173
164
  :'options' => :'Array<AutoOrderItemOption>',
174
165
  :'original_item_id' => :'String',
175
166
  :'original_quantity' => :'Float',
176
- :'paused' => :'Boolean',
177
167
  :'paypal_payer_id' => :'String',
178
168
  :'paypal_recurring_payment_profile_id' => :'String',
179
169
  :'preshipment_notice_sent' => :'Boolean',
@@ -232,10 +222,6 @@ module UltracartClient
232
222
  self.auto_order_item_oid = attributes[:'auto_order_item_oid']
233
223
  end
234
224
 
235
- if attributes.key?(:'first_order_dts')
236
- self.first_order_dts = attributes[:'first_order_dts']
237
- end
238
-
239
225
  if attributes.key?(:'frequency')
240
226
  self.frequency = attributes[:'frequency']
241
227
  end
@@ -284,10 +270,6 @@ module UltracartClient
284
270
  self.original_quantity = attributes[:'original_quantity']
285
271
  end
286
272
 
287
- if attributes.key?(:'paused')
288
- self.paused = attributes[:'paused']
289
- end
290
-
291
273
  if attributes.key?(:'paypal_payer_id')
292
274
  self.paypal_payer_id = attributes[:'paypal_payer_id']
293
275
  end
@@ -350,7 +332,6 @@ module UltracartClient
350
332
  arbitrary_unit_cost == o.arbitrary_unit_cost &&
351
333
  arbitrary_unit_cost_remaining_orders == o.arbitrary_unit_cost_remaining_orders &&
352
334
  auto_order_item_oid == o.auto_order_item_oid &&
353
- first_order_dts == o.first_order_dts &&
354
335
  frequency == o.frequency &&
355
336
  future_schedules == o.future_schedules &&
356
337
  last_order_dts == o.last_order_dts &&
@@ -362,7 +343,6 @@ module UltracartClient
362
343
  options == o.options &&
363
344
  original_item_id == o.original_item_id &&
364
345
  original_quantity == o.original_quantity &&
365
- paused == o.paused &&
366
346
  paypal_payer_id == o.paypal_payer_id &&
367
347
  paypal_recurring_payment_profile_id == o.paypal_recurring_payment_profile_id &&
368
348
  preshipment_notice_sent == o.preshipment_notice_sent &&
@@ -380,7 +360,7 @@ module UltracartClient
380
360
  # Calculates hash code according to all attributes.
381
361
  # @return [Integer] Hash code
382
362
  def hash
383
- [arbitrary_item_id, arbitrary_percentage_discount, arbitrary_quantity, arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_remaining_orders, auto_order_item_oid, first_order_dts, frequency, future_schedules, last_order_dts, life_time_value, next_preshipment_notice_dts, next_shipment_dts, no_order_after_dts, number_of_rebills, options, original_item_id, original_quantity, paused, paypal_payer_id, paypal_recurring_payment_profile_id, preshipment_notice_sent, rebill_value, remaining_repeat_count, simple_schedule].hash
363
+ [arbitrary_item_id, arbitrary_percentage_discount, arbitrary_quantity, arbitrary_schedule_days, arbitrary_unit_cost, arbitrary_unit_cost_remaining_orders, auto_order_item_oid, frequency, future_schedules, last_order_dts, life_time_value, next_preshipment_notice_dts, next_shipment_dts, no_order_after_dts, number_of_rebills, options, original_item_id, original_quantity, paypal_payer_id, paypal_recurring_payment_profile_id, preshipment_notice_sent, rebill_value, remaining_repeat_count, simple_schedule].hash
384
364
  end
385
365
 
386
366
  # Builds the object from hash