ultracart_api 3.4.3 → 3.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,10 +16,16 @@ module UltracartClient
16
16
  class OrderTrackingNumberDetail
17
17
  attr_accessor :city
18
18
 
19
+ # ISO 8601 timestamp that the event occurred
20
+ attr_accessor :event_dts
21
+
19
22
  attr_accessor :event_local_date
20
23
 
21
24
  attr_accessor :event_local_time
22
25
 
26
+ # Timezone the event occurred in. Use this in conjunction with event_dts to format a local date/time.
27
+ attr_accessor :event_timezone_id
28
+
23
29
  attr_accessor :state
24
30
 
25
31
  attr_accessor :subtag
@@ -38,8 +44,10 @@ module UltracartClient
38
44
  def self.attribute_map
39
45
  {
40
46
  :'city' => :'city',
47
+ :'event_dts' => :'event_dts',
41
48
  :'event_local_date' => :'event_local_date',
42
49
  :'event_local_time' => :'event_local_time',
50
+ :'event_timezone_id' => :'event_timezone_id',
43
51
  :'state' => :'state',
44
52
  :'subtag' => :'subtag',
45
53
  :'subtag_message' => :'subtag_message',
@@ -54,8 +62,10 @@ module UltracartClient
54
62
  def self.swagger_types
55
63
  {
56
64
  :'city' => :'String',
65
+ :'event_dts' => :'String',
57
66
  :'event_local_date' => :'String',
58
67
  :'event_local_time' => :'String',
68
+ :'event_timezone_id' => :'String',
59
69
  :'state' => :'String',
60
70
  :'subtag' => :'String',
61
71
  :'subtag_message' => :'String',
@@ -78,6 +88,10 @@ module UltracartClient
78
88
  self.city = attributes[:'city']
79
89
  end
80
90
 
91
+ if attributes.has_key?(:'event_dts')
92
+ self.event_dts = attributes[:'event_dts']
93
+ end
94
+
81
95
  if attributes.has_key?(:'event_local_date')
82
96
  self.event_local_date = attributes[:'event_local_date']
83
97
  end
@@ -86,6 +100,10 @@ module UltracartClient
86
100
  self.event_local_time = attributes[:'event_local_time']
87
101
  end
88
102
 
103
+ if attributes.has_key?(:'event_timezone_id')
104
+ self.event_timezone_id = attributes[:'event_timezone_id']
105
+ end
106
+
89
107
  if attributes.has_key?(:'state')
90
108
  self.state = attributes[:'state']
91
109
  end
@@ -134,8 +152,10 @@ module UltracartClient
134
152
  return true if self.equal?(o)
135
153
  self.class == o.class &&
136
154
  city == o.city &&
155
+ event_dts == o.event_dts &&
137
156
  event_local_date == o.event_local_date &&
138
157
  event_local_time == o.event_local_time &&
158
+ event_timezone_id == o.event_timezone_id &&
139
159
  state == o.state &&
140
160
  subtag == o.subtag &&
141
161
  subtag_message == o.subtag_message &&
@@ -154,7 +174,7 @@ module UltracartClient
154
174
  # Calculates hash code according to all attributes.
155
175
  # @return [Fixnum] Hash code
156
176
  def hash
157
- [city, event_local_date, event_local_time, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
177
+ [city, event_dts, event_local_date, event_local_time, event_timezone_id, state, subtag, subtag_message, tag, tag_description, tag_icon, zip].hash
158
178
  end
159
179
 
160
180
  # Builds the object from hash
@@ -28,8 +28,6 @@ module UltracartClient
28
28
 
29
29
  attr_accessor :hide_connect_single_gateway
30
30
 
31
- attr_accessor :immediate_finalize_domains
32
-
33
31
  attr_accessor :send_customer_billing_update_on_decline
34
32
 
35
33
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -42,7 +40,6 @@ module UltracartClient
42
40
  :'configured_gateways_details' => :'configuredGatewaysDetails',
43
41
  :'failed_attempts' => :'failedAttempts',
44
42
  :'hide_connect_single_gateway' => :'hideConnectSingleGateway',
45
- :'immediate_finalize_domains' => :'immediateFinalizeDomains',
46
43
  :'send_customer_billing_update_on_decline' => :'sendCustomerBillingUpdateOnDecline'
47
44
  }
48
45
  end
@@ -57,7 +54,6 @@ module UltracartClient
57
54
  :'configured_gateways_details' => :'String',
58
55
  :'failed_attempts' => :'String',
59
56
  :'hide_connect_single_gateway' => :'BOOLEAN',
60
- :'immediate_finalize_domains' => :'String',
61
57
  :'send_customer_billing_update_on_decline' => :'BOOLEAN'
62
58
  }
63
59
  end
@@ -98,10 +94,6 @@ module UltracartClient
98
94
  self.hide_connect_single_gateway = attributes[:'hideConnectSingleGateway']
99
95
  end
100
96
 
101
- if attributes.has_key?(:'immediateFinalizeDomains')
102
- self.immediate_finalize_domains = attributes[:'immediateFinalizeDomains']
103
- end
104
-
105
97
  if attributes.has_key?(:'sendCustomerBillingUpdateOnDecline')
106
98
  self.send_customer_billing_update_on_decline = attributes[:'sendCustomerBillingUpdateOnDecline']
107
99
  end
@@ -132,7 +124,6 @@ module UltracartClient
132
124
  configured_gateways_details == o.configured_gateways_details &&
133
125
  failed_attempts == o.failed_attempts &&
134
126
  hide_connect_single_gateway == o.hide_connect_single_gateway &&
135
- immediate_finalize_domains == o.immediate_finalize_domains &&
136
127
  send_customer_billing_update_on_decline == o.send_customer_billing_update_on_decline
137
128
  end
138
129
 
@@ -145,7 +136,7 @@ module UltracartClient
145
136
  # Calculates hash code according to all attributes.
146
137
  # @return [Fixnum] Hash code
147
138
  def hash
148
- [accept_credit_cards, billed_by, charge_during_checkout, collect_cvv2, configured_gateways_details, failed_attempts, hide_connect_single_gateway, immediate_finalize_domains, send_customer_billing_update_on_decline].hash
139
+ [accept_credit_cards, billed_by, charge_during_checkout, collect_cvv2, configured_gateways_details, failed_attempts, hide_connect_single_gateway, send_customer_billing_update_on_decline].hash
149
140
  end
150
141
 
151
142
  # Builds the object from hash
@@ -134,13 +134,16 @@ module UltracartClient
134
134
  # Required field between 0 and 1 that dictates the percentage of traffic that should flow through this gateway
135
135
  attr_accessor :traffic_percentage
136
136
 
137
- # If specified, limits the total daily dollar amount of trial orders
137
+ # If specified, limits the total daily count of trial orders
138
138
  attr_accessor :trial_daily_amount
139
139
 
140
- # If specified, limits the total month count of trial orders
140
+ # If specified, limits the total daily dollar amount of trial orders
141
141
  attr_accessor :trial_daily_limit
142
142
 
143
143
  # If specified, limits the total month dollar amount of trial orders
144
+ attr_accessor :trial_monthly_amount
145
+
146
+ # If specified, limits the total month count of trial orders
144
147
  attr_accessor :trial_monthly_limit
145
148
 
146
149
  class EnumAttributeValidator
@@ -210,6 +213,7 @@ module UltracartClient
210
213
  :'traffic_percentage' => :'traffic_percentage',
211
214
  :'trial_daily_amount' => :'trial_daily_amount',
212
215
  :'trial_daily_limit' => :'trial_daily_limit',
216
+ :'trial_monthly_amount' => :'trial_monthly_amount',
213
217
  :'trial_monthly_limit' => :'trial_monthly_limit'
214
218
  }
215
219
  end
@@ -259,6 +263,7 @@ module UltracartClient
259
263
  :'traffic_percentage' => :'Float',
260
264
  :'trial_daily_amount' => :'Integer',
261
265
  :'trial_daily_limit' => :'Integer',
266
+ :'trial_monthly_amount' => :'Integer',
262
267
  :'trial_monthly_limit' => :'Integer'
263
268
  }
264
269
  end
@@ -453,6 +458,10 @@ module UltracartClient
453
458
  self.trial_daily_limit = attributes[:'trial_daily_limit']
454
459
  end
455
460
 
461
+ if attributes.has_key?(:'trial_monthly_amount')
462
+ self.trial_monthly_amount = attributes[:'trial_monthly_amount']
463
+ end
464
+
456
465
  if attributes.has_key?(:'trial_monthly_limit')
457
466
  self.trial_monthly_limit = attributes[:'trial_monthly_limit']
458
467
  end
@@ -542,6 +551,7 @@ module UltracartClient
542
551
  traffic_percentage == o.traffic_percentage &&
543
552
  trial_daily_amount == o.trial_daily_amount &&
544
553
  trial_daily_limit == o.trial_daily_limit &&
554
+ trial_monthly_amount == o.trial_monthly_amount &&
545
555
  trial_monthly_limit == o.trial_monthly_limit
546
556
  end
547
557
 
@@ -554,7 +564,7 @@ module UltracartClient
554
564
  # Calculates hash code according to all attributes.
555
565
  # @return [Fixnum] Hash code
556
566
  def hash
557
- [additional_native_currency_codes, auto_order_cancel_unless_response_name, auto_order_cancel_unless_response_values, base_currency_code, cascade_code, cascade_codes, cascade_daily_auto_order_code, charge_appears_on_statement_as, code, current_daily, current_daily_auto_order, current_monthly, customer_service_email, customer_service_phone, day_of_month_restrictions, day_of_week_restrictions, deactivate_after_failures, end_date, gateways, maximum_daily, maximum_daily_auto_order, maximum_monthly, next_daily_auto_order_reset, next_daily_reset, next_monthly_reset, order_total, order_total_comparison, rebill_auto_orders_against_this_rtg_code, reserve_days, reserve_percentage, reserve_refunded, reserves_released_through, rotating_transaction_gateway_oid, selected_gateway_name, show_cascade_codes, show_merchant_account_profiles, start_date, status, theme_restrictions, traffic_percentage, trial_daily_amount, trial_daily_limit, trial_monthly_limit].hash
567
+ [additional_native_currency_codes, auto_order_cancel_unless_response_name, auto_order_cancel_unless_response_values, base_currency_code, cascade_code, cascade_codes, cascade_daily_auto_order_code, charge_appears_on_statement_as, code, current_daily, current_daily_auto_order, current_monthly, customer_service_email, customer_service_phone, day_of_month_restrictions, day_of_week_restrictions, deactivate_after_failures, end_date, gateways, maximum_daily, maximum_daily_auto_order, maximum_monthly, next_daily_auto_order_reset, next_daily_reset, next_monthly_reset, order_total, order_total_comparison, rebill_auto_orders_against_this_rtg_code, reserve_days, reserve_percentage, reserve_refunded, reserves_released_through, rotating_transaction_gateway_oid, selected_gateway_name, show_cascade_codes, show_merchant_account_profiles, start_date, status, theme_restrictions, traffic_percentage, trial_daily_amount, trial_daily_limit, trial_monthly_amount, trial_monthly_limit].hash
558
568
  end
559
569
 
560
570
  # 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.4.3'
14
+ VERSION = '3.4.7'
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.4.3
4
+ version: 3.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-03 00:00:00.000000000 Z
11
+ date: 2021-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -457,6 +457,9 @@ files:
457
457
  - docs/EmailListCustomer.md
458
458
  - docs/EmailListCustomersResponse.md
459
459
  - docs/EmailListResponse.md
460
+ - docs/EmailListSegmentFolder.md
461
+ - docs/EmailListSegmentFolderResponse.md
462
+ - docs/EmailListSegmentFoldersResponse.md
460
463
  - docs/EmailListSegmentMembership.md
461
464
  - docs/EmailListSegmentUsedBy.md
462
465
  - docs/EmailListSubscribeResponse.md
@@ -1111,6 +1114,9 @@ files:
1111
1114
  - lib/ultracart_api/models/email_list_customer.rb
1112
1115
  - lib/ultracart_api/models/email_list_customers_response.rb
1113
1116
  - lib/ultracart_api/models/email_list_response.rb
1117
+ - lib/ultracart_api/models/email_list_segment_folder.rb
1118
+ - lib/ultracart_api/models/email_list_segment_folder_response.rb
1119
+ - lib/ultracart_api/models/email_list_segment_folders_response.rb
1114
1120
  - lib/ultracart_api/models/email_list_segment_membership.rb
1115
1121
  - lib/ultracart_api/models/email_list_segment_used_by.rb
1116
1122
  - lib/ultracart_api/models/email_list_subscribe_response.rb