ultracart_api 3.6.34 → 3.6.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: c768f60e9ba325d7e9a57fa82412329e65b912083a94b76152067a4900e996c2
4
- data.tar.gz: 653e4c245ad2529f746d983b01986723f83a4b4ef6027c43ec2e43eca9e44905
3
+ metadata.gz: 102ee2f5778707a1efcba282b40215b152323c66e7a21ecd72e3709bae9d8d8a
4
+ data.tar.gz: 5d4a8c891e74e55bc272636e1f28422c584a6ee4f0b4a70ecc76bdcb00bad373
5
5
  SHA512:
6
- metadata.gz: 13aad40038c4b3350ebfa9de5e41070681ff4033cba31e410da44d7ea2eb671c0b7068420120321a9221c71f3151eb9fa1181567d7b716b340608acb6f40df60
7
- data.tar.gz: 62ecf4d40a318a4083345bfbd0b2cc676227682cd27fd70510c5aeef5c704ced9c21c21718c4e9976dc688d7286bff5ee75f863252ec1778a3c2b4b93027db79
6
+ metadata.gz: 2a1306b7d4e80cf9f2961e5953f99bda96018e3418d23864916f37302a408b1c929f4fb399f44acdaf85a54b7c52819072d348aceb669c1511ee8a270692b4f6
7
+ data.tar.gz: 708cb757c42713c350557b999c25e2db493289c5c7a8e0769c2f9ad610fd3e7bb2d442f3d00e21a7de7a07d7d0b246f9bc1ef34722a8d4c6872bf21e3fea38a8
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.34
10
+ - Package version: 3.6.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.34.gem
27
+ gem install ./ultracart_api-3.6.38.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.34.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.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.34'
35
+ gem 'ultracart_api', '~> 3.6.38'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -449,6 +449,7 @@ Class | Method | HTTP request | Description
449
449
  - [UltracartClient::AutoOrderItemFutureSchedule](docs/AutoOrderItemFutureSchedule.md)
450
450
  - [UltracartClient::AutoOrderItemOption](docs/AutoOrderItemOption.md)
451
451
  - [UltracartClient::AutoOrderItemSimpleSchedule](docs/AutoOrderItemSimpleSchedule.md)
452
+ - [UltracartClient::AutoOrderLog](docs/AutoOrderLog.md)
452
453
  - [UltracartClient::AutoOrderQuery](docs/AutoOrderQuery.md)
453
454
  - [UltracartClient::AutoOrderQueryBatch](docs/AutoOrderQueryBatch.md)
454
455
  - [UltracartClient::AutoOrderResponse](docs/AutoOrderResponse.md)
@@ -1128,6 +1129,10 @@ Not every change is committed to every SDK.
1128
1129
 
1129
1130
  | Version | Date | Comments |
1130
1131
  | --: | :-: | --- |
1132
+ | 3.6.38 | 02/07/2022 | Exposed auto order logs |
1133
+ | 3.6.37 | 02/04/2022 | insurance type for insurance payments |
1134
+ | 3.6.36 | 12/29/2021 | Mail actual post card flag added to test method |
1135
+ | 3.6.35 | 12/14/2021 | Add cancel_auto_order option to the accounts receivable retry configuration |
1131
1136
  | 3.6.34 | 12/14/2021 | add evening phone E.164 fields to order billing/shipping objects |
1132
1137
  | 3.6.33 | 12/13/2021 | automation testing |
1133
1138
  | 3.6.32 | 12/10/2021 | testing automation - message 4 |
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **active** | **BOOLEAN** | True if the retry should run daily. False puts the retry service into an inactive state for this merchant. | [optional]
7
7
  **allow_process_linked_accounts** | **BOOLEAN** | True if this account has linked accounts that it can process. | [optional]
8
+ **cancel_auto_order** | **BOOLEAN** | If true also cancel the auto order if the order is rejected at the end | [optional]
8
9
  **current_service_plan** | **String** | The current service plan that the account is on. | [optional]
9
10
  **daily_activity_list** | [**Array<AccountsReceivableRetryDayActivity>**](AccountsReceivableRetryDayActivity.md) | A list of days and what actions should take place on those days after an order reaches accounts receivable | [optional]
10
11
  **managed_by_linked_account_merchant_id** | **BOOLEAN** | If not null, this account is managed by the specified parent merchant id. | [optional]
data/docs/AutoOrder.md CHANGED
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **enabled** | **BOOLEAN** | True if this auto order is enabled | [optional]
17
17
  **failure_reason** | **String** | The reason this auto order failed during the last rebill attempt | [optional]
18
18
  **items** | [**Array<AutoOrderItem>**](AutoOrderItem.md) | The items that are setup to rebill | [optional]
19
+ **logs** | [**Array<AutoOrderLog>**](AutoOrderLog.md) | Logs associated with this auto order | [optional]
19
20
  **next_attempt** | **String** | The next time that the auto order will be attempted for processing | [optional]
20
21
  **original_order** | [**Order**](Order.md) | | [optional]
21
22
  **original_order_id** | **String** | The original order id that this auto order is associated with. | [optional]
@@ -0,0 +1,9 @@
1
+ # UltracartClient::AutoOrderLog
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **log_dts** | **String** | Date/time that the log message was added | [optional]
7
+ **log_message** | **String** | Log message | [optional]
8
+
9
+
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **esp_commseq_postcard_uuid** | **String** | | [optional]
12
12
  **esp_commseq_step_uuid** | **String** | | [optional]
13
13
  **esp_commseq_uuid** | **String** | | [optional]
14
+ **mail_card** | **BOOLEAN** | | [optional]
14
15
  **name** | **String** | | [optional]
15
16
  **order_id** | **String** | | [optional]
16
17
  **postal_code** | **String** | | [optional]
@@ -5,6 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **application_id** | **String** | application id | [optional]
7
7
  **claim_id** | **String** | claim id | [optional]
8
+ **insurance_type** | **String** | insurance type | [optional]
8
9
  **refund_claim_id** | **String** | refund claim id | [optional]
9
10
 
10
11
 
@@ -9,5 +9,6 @@ Name | Type | Description | Notes
9
9
  **gacid** | **String** | Google Analytics CID (Cookie) | [optional]
10
10
  **glcid** | **String** | Google Adwords Click Id (Parameter) | [optional]
11
11
  **msclkid** | **String** | Bing Click Id (Parameter | [optional]
12
+ **ttclid** | **String** | TikTok Click Id (Parameter | [optional]
12
13
 
13
14
 
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # True if this account has linked accounts that it can process.
21
21
  attr_accessor :allow_process_linked_accounts
22
22
 
23
+ # If true also cancel the auto order if the order is rejected at the end
24
+ attr_accessor :cancel_auto_order
25
+
23
26
  # The current service plan that the account is on.
24
27
  attr_accessor :current_service_plan
25
28
 
@@ -61,6 +64,7 @@ module UltracartClient
61
64
  {
62
65
  :'active' => :'active',
63
66
  :'allow_process_linked_accounts' => :'allow_process_linked_accounts',
67
+ :'cancel_auto_order' => :'cancel_auto_order',
64
68
  :'current_service_plan' => :'current_service_plan',
65
69
  :'daily_activity_list' => :'daily_activity_list',
66
70
  :'managed_by_linked_account_merchant_id' => :'managed_by_linked_account_merchant_id',
@@ -81,6 +85,7 @@ module UltracartClient
81
85
  {
82
86
  :'active' => :'BOOLEAN',
83
87
  :'allow_process_linked_accounts' => :'BOOLEAN',
88
+ :'cancel_auto_order' => :'BOOLEAN',
84
89
  :'current_service_plan' => :'String',
85
90
  :'daily_activity_list' => :'Array<AccountsReceivableRetryDayActivity>',
86
91
  :'managed_by_linked_account_merchant_id' => :'BOOLEAN',
@@ -112,6 +117,10 @@ module UltracartClient
112
117
  self.allow_process_linked_accounts = attributes[:'allow_process_linked_accounts']
113
118
  end
114
119
 
120
+ if attributes.has_key?(:'cancel_auto_order')
121
+ self.cancel_auto_order = attributes[:'cancel_auto_order']
122
+ end
123
+
115
124
  if attributes.has_key?(:'current_service_plan')
116
125
  self.current_service_plan = attributes[:'current_service_plan']
117
126
  end
@@ -185,6 +194,7 @@ module UltracartClient
185
194
  self.class == o.class &&
186
195
  active == o.active &&
187
196
  allow_process_linked_accounts == o.allow_process_linked_accounts &&
197
+ cancel_auto_order == o.cancel_auto_order &&
188
198
  current_service_plan == o.current_service_plan &&
189
199
  daily_activity_list == o.daily_activity_list &&
190
200
  managed_by_linked_account_merchant_id == o.managed_by_linked_account_merchant_id &&
@@ -208,7 +218,7 @@ module UltracartClient
208
218
  # Calculates hash code according to all attributes.
209
219
  # @return [Fixnum] Hash code
210
220
  def hash
211
- [active, allow_process_linked_accounts, current_service_plan, daily_activity_list, managed_by_linked_account_merchant_id, merchant_id, notify_emails, notify_rejections, notify_successes, process_linked_accounts, processing_percentage, reject_at_end, trial_mode, trial_mode_expiration_dts].hash
221
+ [active, allow_process_linked_accounts, cancel_auto_order, current_service_plan, daily_activity_list, managed_by_linked_account_merchant_id, merchant_id, notify_emails, notify_rejections, notify_successes, process_linked_accounts, processing_percentage, reject_at_end, trial_mode, trial_mode_expiration_dts].hash
212
222
  end
213
223
 
214
224
  # Builds the object from hash
@@ -53,6 +53,9 @@ module UltracartClient
53
53
  # The items that are setup to rebill
54
54
  attr_accessor :items
55
55
 
56
+ # Logs associated with this auto order
57
+ attr_accessor :logs
58
+
56
59
  # The next time that the auto order will be attempted for processing
57
60
  attr_accessor :next_attempt
58
61
 
@@ -111,6 +114,7 @@ module UltracartClient
111
114
  :'enabled' => :'enabled',
112
115
  :'failure_reason' => :'failure_reason',
113
116
  :'items' => :'items',
117
+ :'logs' => :'logs',
114
118
  :'next_attempt' => :'next_attempt',
115
119
  :'original_order' => :'original_order',
116
120
  :'original_order_id' => :'original_order_id',
@@ -137,6 +141,7 @@ module UltracartClient
137
141
  :'enabled' => :'BOOLEAN',
138
142
  :'failure_reason' => :'String',
139
143
  :'items' => :'Array<AutoOrderItem>',
144
+ :'logs' => :'Array<AutoOrderLog>',
140
145
  :'next_attempt' => :'String',
141
146
  :'original_order' => :'Order',
142
147
  :'original_order_id' => :'String',
@@ -209,6 +214,12 @@ module UltracartClient
209
214
  end
210
215
  end
211
216
 
217
+ if attributes.has_key?(:'logs')
218
+ if (value = attributes[:'logs']).is_a?(Array)
219
+ self.logs = value
220
+ end
221
+ end
222
+
212
223
  if attributes.has_key?(:'next_attempt')
213
224
  self.next_attempt = attributes[:'next_attempt']
214
225
  end
@@ -283,6 +294,7 @@ module UltracartClient
283
294
  enabled == o.enabled &&
284
295
  failure_reason == o.failure_reason &&
285
296
  items == o.items &&
297
+ logs == o.logs &&
286
298
  next_attempt == o.next_attempt &&
287
299
  original_order == o.original_order &&
288
300
  original_order_id == o.original_order_id &&
@@ -301,7 +313,7 @@ module UltracartClient
301
313
  # Calculates hash code according to all attributes.
302
314
  # @return [Fixnum] Hash code
303
315
  def hash
304
- [auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, cancel_upgrade, canceled_by_user, canceled_dts, completed, credit_card_attempt, disabled_dts, enabled, failure_reason, items, next_attempt, original_order, original_order_id, override_affiliate_id, rebill_orders, rotating_transaction_gateway_code, status].hash
316
+ [auto_order_code, auto_order_oid, cancel_after_next_x_orders, cancel_downgrade, 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
305
317
  end
306
318
 
307
319
  # Builds the object from hash
@@ -0,0 +1,195 @@
1
+ =begin
2
+ #UltraCart Rest API V2
3
+
4
+ #UltraCart REST API Version 2
5
+
6
+ OpenAPI spec version: 2.0.0
7
+ Contact: support@ultracart.com
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.15-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'date'
14
+
15
+ module UltracartClient
16
+ class AutoOrderLog
17
+ # Date/time that the log message was added
18
+ attr_accessor :log_dts
19
+
20
+ # Log message
21
+ attr_accessor :log_message
22
+
23
+ # Attribute mapping from ruby-style variable name to JSON key.
24
+ def self.attribute_map
25
+ {
26
+ :'log_dts' => :'log_dts',
27
+ :'log_message' => :'log_message'
28
+ }
29
+ end
30
+
31
+ # Attribute type mapping.
32
+ def self.swagger_types
33
+ {
34
+ :'log_dts' => :'String',
35
+ :'log_message' => :'String'
36
+ }
37
+ end
38
+
39
+ # Initializes the object
40
+ # @param [Hash] attributes Model attributes in the form of hash
41
+ def initialize(attributes = {})
42
+ return unless attributes.is_a?(Hash)
43
+
44
+ # convert string to symbol for hash key
45
+ attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
46
+
47
+ if attributes.has_key?(:'log_dts')
48
+ self.log_dts = attributes[:'log_dts']
49
+ end
50
+
51
+ if attributes.has_key?(:'log_message')
52
+ self.log_message = attributes[:'log_message']
53
+ end
54
+ end
55
+
56
+ # Show invalid properties with the reasons. Usually used together with valid?
57
+ # @return Array for valid properties with the reasons
58
+ def list_invalid_properties
59
+ invalid_properties = Array.new
60
+ invalid_properties
61
+ end
62
+
63
+ # Check to see if the all the properties in the model are valid
64
+ # @return true if the model is valid
65
+ def valid?
66
+ true
67
+ end
68
+
69
+ # Checks equality by comparing each attribute.
70
+ # @param [Object] Object to be compared
71
+ def ==(o)
72
+ return true if self.equal?(o)
73
+ self.class == o.class &&
74
+ log_dts == o.log_dts &&
75
+ log_message == o.log_message
76
+ end
77
+
78
+ # @see the `==` method
79
+ # @param [Object] Object to be compared
80
+ def eql?(o)
81
+ self == o
82
+ end
83
+
84
+ # Calculates hash code according to all attributes.
85
+ # @return [Fixnum] Hash code
86
+ def hash
87
+ [log_dts, log_message].hash
88
+ end
89
+
90
+ # Builds the object from hash
91
+ # @param [Hash] attributes Model attributes in the form of hash
92
+ # @return [Object] Returns the model itself
93
+ def build_from_hash(attributes)
94
+ return nil unless attributes.is_a?(Hash)
95
+ self.class.swagger_types.each_pair do |key, type|
96
+ if type =~ /\AArray<(.*)>/i
97
+ # check to ensure the input is an array given that the attribute
98
+ # is documented as an array but the input is not
99
+ if attributes[self.class.attribute_map[key]].is_a?(Array)
100
+ self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
101
+ end
102
+ elsif !attributes[self.class.attribute_map[key]].nil?
103
+ self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
104
+ end # or else data not found in attributes(hash), not an issue as the data can be optional
105
+ end
106
+
107
+ self
108
+ end
109
+
110
+ # Deserializes the data based on type
111
+ # @param string type Data type
112
+ # @param string value Value to be deserialized
113
+ # @return [Object] Deserialized data
114
+ def _deserialize(type, value)
115
+ case type.to_sym
116
+ when :DateTime
117
+ DateTime.parse(value)
118
+ when :Date
119
+ Date.parse(value)
120
+ when :String
121
+ value.to_s
122
+ when :Integer
123
+ value.to_i
124
+ when :Float
125
+ value.to_f
126
+ when :BOOLEAN
127
+ if value.to_s =~ /\A(true|t|yes|y|1)\z/i
128
+ true
129
+ else
130
+ false
131
+ end
132
+ when :Object
133
+ # generic object (usually a Hash), return directly
134
+ value
135
+ when /\AArray<(?<inner_type>.+)>\z/
136
+ inner_type = Regexp.last_match[:inner_type]
137
+ value.map { |v| _deserialize(inner_type, v) }
138
+ when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
139
+ k_type = Regexp.last_match[:k_type]
140
+ v_type = Regexp.last_match[:v_type]
141
+ {}.tap do |hash|
142
+ value.each do |k, v|
143
+ hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
144
+ end
145
+ end
146
+ else # model
147
+ temp_model = UltracartClient.const_get(type).new
148
+ temp_model.build_from_hash(value)
149
+ end
150
+ end
151
+
152
+ # Returns the string representation of the object
153
+ # @return [String] String presentation of the object
154
+ def to_s
155
+ to_hash.to_s
156
+ end
157
+
158
+ # to_body is an alias to to_hash (backward compatibility)
159
+ # @return [Hash] Returns the object in the form of hash
160
+ def to_body
161
+ to_hash
162
+ end
163
+
164
+ # Returns the object in the form of hash
165
+ # @return [Hash] Returns the object in the form of hash
166
+ def to_hash
167
+ hash = {}
168
+ self.class.attribute_map.each_pair do |attr, param|
169
+ value = self.send(attr)
170
+ next if value.nil?
171
+ hash[param] = _to_hash(value)
172
+ end
173
+ hash
174
+ end
175
+
176
+ # Outputs non-array value in the form of hash
177
+ # For object, use to_hash. Otherwise, just return the value
178
+ # @param [Object] value Any valid value
179
+ # @return [Hash] Returns the value in the form of hash
180
+ def _to_hash(value)
181
+ if value.is_a?(Array)
182
+ value.compact.map { |v| _to_hash(v) }
183
+ elsif value.is_a?(Hash)
184
+ {}.tap do |hash|
185
+ value.each { |k, v| hash[k] = _to_hash(v) }
186
+ end
187
+ elsif value.respond_to? :to_hash
188
+ value.to_hash
189
+ else
190
+ value
191
+ end
192
+ end
193
+
194
+ end
195
+ end
@@ -30,6 +30,8 @@ module UltracartClient
30
30
 
31
31
  attr_accessor :esp_commseq_uuid
32
32
 
33
+ attr_accessor :mail_card
34
+
33
35
  attr_accessor :name
34
36
 
35
37
  attr_accessor :order_id
@@ -49,6 +51,7 @@ module UltracartClient
49
51
  :'esp_commseq_postcard_uuid' => :'esp_commseq_postcard_uuid',
50
52
  :'esp_commseq_step_uuid' => :'esp_commseq_step_uuid',
51
53
  :'esp_commseq_uuid' => :'esp_commseq_uuid',
54
+ :'mail_card' => :'mail_card',
52
55
  :'name' => :'name',
53
56
  :'order_id' => :'order_id',
54
57
  :'postal_code' => :'postal_code',
@@ -67,6 +70,7 @@ module UltracartClient
67
70
  :'esp_commseq_postcard_uuid' => :'String',
68
71
  :'esp_commseq_step_uuid' => :'String',
69
72
  :'esp_commseq_uuid' => :'String',
73
+ :'mail_card' => :'BOOLEAN',
70
74
  :'name' => :'String',
71
75
  :'order_id' => :'String',
72
76
  :'postal_code' => :'String',
@@ -116,6 +120,10 @@ module UltracartClient
116
120
  self.esp_commseq_uuid = attributes[:'esp_commseq_uuid']
117
121
  end
118
122
 
123
+ if attributes.has_key?(:'mail_card')
124
+ self.mail_card = attributes[:'mail_card']
125
+ end
126
+
119
127
  if attributes.has_key?(:'name')
120
128
  self.name = attributes[:'name']
121
129
  end
@@ -159,6 +167,7 @@ module UltracartClient
159
167
  esp_commseq_postcard_uuid == o.esp_commseq_postcard_uuid &&
160
168
  esp_commseq_step_uuid == o.esp_commseq_step_uuid &&
161
169
  esp_commseq_uuid == o.esp_commseq_uuid &&
170
+ mail_card == o.mail_card &&
162
171
  name == o.name &&
163
172
  order_id == o.order_id &&
164
173
  postal_code == o.postal_code &&
@@ -174,7 +183,7 @@ module UltracartClient
174
183
  # Calculates hash code according to all attributes.
175
184
  # @return [Fixnum] Hash code
176
185
  def hash
177
- [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, name, order_id, postal_code, state].hash
186
+ [address_1, address_2, cart_id, cart_item_ids, city, esp_commseq_postcard_uuid, esp_commseq_step_uuid, esp_commseq_uuid, mail_card, name, order_id, postal_code, state].hash
178
187
  end
179
188
 
180
189
  # Builds the object from hash
@@ -20,6 +20,9 @@ module UltracartClient
20
20
  # claim id
21
21
  attr_accessor :claim_id
22
22
 
23
+ # insurance type
24
+ attr_accessor :insurance_type
25
+
23
26
  # refund claim id
24
27
  attr_accessor :refund_claim_id
25
28
 
@@ -28,6 +31,7 @@ module UltracartClient
28
31
  {
29
32
  :'application_id' => :'application_id',
30
33
  :'claim_id' => :'claim_id',
34
+ :'insurance_type' => :'insurance_type',
31
35
  :'refund_claim_id' => :'refund_claim_id'
32
36
  }
33
37
  end
@@ -37,6 +41,7 @@ module UltracartClient
37
41
  {
38
42
  :'application_id' => :'String',
39
43
  :'claim_id' => :'String',
44
+ :'insurance_type' => :'String',
40
45
  :'refund_claim_id' => :'String'
41
46
  }
42
47
  end
@@ -57,6 +62,10 @@ module UltracartClient
57
62
  self.claim_id = attributes[:'claim_id']
58
63
  end
59
64
 
65
+ if attributes.has_key?(:'insurance_type')
66
+ self.insurance_type = attributes[:'insurance_type']
67
+ end
68
+
60
69
  if attributes.has_key?(:'refund_claim_id')
61
70
  self.refund_claim_id = attributes[:'refund_claim_id']
62
71
  end
@@ -82,6 +91,7 @@ module UltracartClient
82
91
  self.class == o.class &&
83
92
  application_id == o.application_id &&
84
93
  claim_id == o.claim_id &&
94
+ insurance_type == o.insurance_type &&
85
95
  refund_claim_id == o.refund_claim_id
86
96
  end
87
97
 
@@ -94,7 +104,7 @@ module UltracartClient
94
104
  # Calculates hash code according to all attributes.
95
105
  # @return [Fixnum] Hash code
96
106
  def hash
97
- [application_id, claim_id, refund_claim_id].hash
107
+ [application_id, claim_id, insurance_type, refund_claim_id].hash
98
108
  end
99
109
 
100
110
  # Builds the object from hash
@@ -32,6 +32,9 @@ module UltracartClient
32
32
  # Bing Click Id (Parameter
33
33
  attr_accessor :msclkid
34
34
 
35
+ # TikTok Click Id (Parameter
36
+ attr_accessor :ttclid
37
+
35
38
  # Attribute mapping from ruby-style variable name to JSON key.
36
39
  def self.attribute_map
37
40
  {
@@ -40,7 +43,8 @@ module UltracartClient
40
43
  :'fbp' => :'fbp',
41
44
  :'gacid' => :'gacid',
42
45
  :'glcid' => :'glcid',
43
- :'msclkid' => :'msclkid'
46
+ :'msclkid' => :'msclkid',
47
+ :'ttclid' => :'ttclid'
44
48
  }
45
49
  end
46
50
 
@@ -52,7 +56,8 @@ module UltracartClient
52
56
  :'fbp' => :'String',
53
57
  :'gacid' => :'String',
54
58
  :'glcid' => :'String',
55
- :'msclkid' => :'String'
59
+ :'msclkid' => :'String',
60
+ :'ttclid' => :'String'
56
61
  }
57
62
  end
58
63
 
@@ -87,6 +92,10 @@ module UltracartClient
87
92
  if attributes.has_key?(:'msclkid')
88
93
  self.msclkid = attributes[:'msclkid']
89
94
  end
95
+
96
+ if attributes.has_key?(:'ttclid')
97
+ self.ttclid = attributes[:'ttclid']
98
+ end
90
99
  end
91
100
 
92
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -112,7 +121,8 @@ module UltracartClient
112
121
  fbp == o.fbp &&
113
122
  gacid == o.gacid &&
114
123
  glcid == o.glcid &&
115
- msclkid == o.msclkid
124
+ msclkid == o.msclkid &&
125
+ ttclid == o.ttclid
116
126
  end
117
127
 
118
128
  # @see the `==` method
@@ -124,7 +134,7 @@ module UltracartClient
124
134
  # Calculates hash code according to all attributes.
125
135
  # @return [Fixnum] Hash code
126
136
  def hash
127
- [fbc, fbclid, fbp, gacid, glcid, msclkid].hash
137
+ [fbc, fbclid, fbp, gacid, glcid, msclkid, ttclid].hash
128
138
  end
129
139
 
130
140
  # 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.34'
14
+ VERSION = '3.6.38'
15
15
  end
data/lib/ultracart_api.rb CHANGED
@@ -41,6 +41,7 @@ require 'ultracart_api/models/auto_order_item'
41
41
  require 'ultracart_api/models/auto_order_item_future_schedule'
42
42
  require 'ultracart_api/models/auto_order_item_option'
43
43
  require 'ultracart_api/models/auto_order_item_simple_schedule'
44
+ require 'ultracart_api/models/auto_order_log'
44
45
  require 'ultracart_api/models/auto_order_query'
45
46
  require 'ultracart_api/models/auto_order_query_batch'
46
47
  require 'ultracart_api/models/auto_order_response'
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.34
4
+ version: 3.6.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-14 00:00:00.000000000 Z
11
+ date: 2022-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -227,6 +227,7 @@ files:
227
227
  - docs/AutoOrderItemFutureSchedule.md
228
228
  - docs/AutoOrderItemOption.md
229
229
  - docs/AutoOrderItemSimpleSchedule.md
230
+ - docs/AutoOrderLog.md
230
231
  - docs/AutoOrderQuery.md
231
232
  - docs/AutoOrderQueryBatch.md
232
233
  - docs/AutoOrderResponse.md
@@ -903,6 +904,7 @@ files:
903
904
  - lib/ultracart_api/models/auto_order_item_future_schedule.rb
904
905
  - lib/ultracart_api/models/auto_order_item_option.rb
905
906
  - lib/ultracart_api/models/auto_order_item_simple_schedule.rb
907
+ - lib/ultracart_api/models/auto_order_log.rb
906
908
  - lib/ultracart_api/models/auto_order_query.rb
907
909
  - lib/ultracart_api/models/auto_order_query_batch.rb
908
910
  - lib/ultracart_api/models/auto_order_response.rb