ultracart_api 3.1.16 → 3.1.40
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +25 -4
- data/docs/Coupon.md +1 -0
- data/docs/CouponPercentOffMsrpItems.md +11 -0
- data/docs/CustomerLoyalty.md +1 -0
- data/docs/EmailCampaign.md +2 -1
- data/docs/EmailFlow.md +2 -1
- data/docs/LibraryItemAttribute.md +0 -1
- data/docs/OrderApi.md +4 -0
- data/docs/OrderProcessPaymentRequest.md +1 -0
- data/docs/OrderQuery.md +3 -1
- data/docs/ScreenRecording.md +13 -0
- data/docs/ScreenRecordingAdPlatform.md +13 -0
- data/docs/ScreenRecordingFilter.md +12 -0
- data/docs/ScreenRecordingFilterValues.md +12 -2
- data/docs/ScreenRecordingFilterValuesPageView.md +12 -0
- data/docs/ScreenRecordingPageView.md +2 -0
- data/docs/ScreenRecordingPageViewEvent.md +1 -0
- data/docs/ScreenRecordingQueryResponse.md +3 -0
- data/docs/ScreenRecordingSegment.md +3 -0
- data/docs/ScreenRecordingSettings.md +5 -0
- data/docs/TaxJarConfig.md +1 -0
- data/lib/ultracart_api.rb +3 -0
- data/lib/ultracart_api/api/order_api.rb +6 -0
- data/lib/ultracart_api/models/coupon.rb +10 -1
- data/lib/ultracart_api/models/coupon_percent_off_msrp_items.rb +219 -0
- data/lib/ultracart_api/models/customer_loyalty.rb +11 -1
- data/lib/ultracart_api/models/email_campaign.rb +12 -2
- data/lib/ultracart_api/models/email_flow.rb +12 -2
- data/lib/ultracart_api/models/library_item_attribute.rb +1 -10
- data/lib/ultracart_api/models/order_process_payment_request.rb +11 -1
- data/lib/ultracart_api/models/order_query.rb +22 -2
- data/lib/ultracart_api/models/screen_recording.rb +128 -1
- data/lib/ultracart_api/models/screen_recording_ad_platform.rb +235 -0
- data/lib/ultracart_api/models/screen_recording_filter.rb +109 -1
- data/lib/ultracart_api/models/screen_recording_filter_values.rb +124 -18
- data/lib/ultracart_api/models/screen_recording_filter_values_page_view.rb +226 -0
- data/lib/ultracart_api/models/screen_recording_page_view.rb +21 -1
- data/lib/ultracart_api/models/screen_recording_page_view_event.rb +10 -1
- data/lib/ultracart_api/models/screen_recording_query_response.rb +30 -1
- data/lib/ultracart_api/models/screen_recording_segment.rb +30 -1
- data/lib/ultracart_api/models/screen_recording_settings.rb +49 -4
- data/lib/ultracart_api/models/tax_jar_config.rb +11 -1
- data/lib/ultracart_api/version.rb +1 -1
- metadata +8 -2
@@ -16,17 +16,37 @@ module UltracartClient
|
|
16
16
|
class ScreenRecordingSettings
|
17
17
|
attr_accessor :enabled
|
18
18
|
|
19
|
+
attr_accessor :sessions_current_billing_period
|
20
|
+
|
21
|
+
attr_accessor :sessions_last_billing_period
|
22
|
+
|
23
|
+
attr_accessor :sessions_trial_billing_period
|
24
|
+
|
25
|
+
attr_accessor :trial_expiration
|
26
|
+
|
27
|
+
attr_accessor :trial_expired
|
28
|
+
|
19
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
30
|
def self.attribute_map
|
21
31
|
{
|
22
|
-
:'enabled' => :'enabled'
|
32
|
+
:'enabled' => :'enabled',
|
33
|
+
:'sessions_current_billing_period' => :'sessions_current_billing_period',
|
34
|
+
:'sessions_last_billing_period' => :'sessions_last_billing_period',
|
35
|
+
:'sessions_trial_billing_period' => :'sessions_trial_billing_period',
|
36
|
+
:'trial_expiration' => :'trial_expiration',
|
37
|
+
:'trial_expired' => :'trial_expired'
|
23
38
|
}
|
24
39
|
end
|
25
40
|
|
26
41
|
# Attribute type mapping.
|
27
42
|
def self.swagger_types
|
28
43
|
{
|
29
|
-
:'enabled' => :'BOOLEAN'
|
44
|
+
:'enabled' => :'BOOLEAN',
|
45
|
+
:'sessions_current_billing_period' => :'Integer',
|
46
|
+
:'sessions_last_billing_period' => :'Integer',
|
47
|
+
:'sessions_trial_billing_period' => :'Integer',
|
48
|
+
:'trial_expiration' => :'String',
|
49
|
+
:'trial_expired' => :'BOOLEAN'
|
30
50
|
}
|
31
51
|
end
|
32
52
|
|
@@ -41,6 +61,26 @@ module UltracartClient
|
|
41
61
|
if attributes.has_key?(:'enabled')
|
42
62
|
self.enabled = attributes[:'enabled']
|
43
63
|
end
|
64
|
+
|
65
|
+
if attributes.has_key?(:'sessions_current_billing_period')
|
66
|
+
self.sessions_current_billing_period = attributes[:'sessions_current_billing_period']
|
67
|
+
end
|
68
|
+
|
69
|
+
if attributes.has_key?(:'sessions_last_billing_period')
|
70
|
+
self.sessions_last_billing_period = attributes[:'sessions_last_billing_period']
|
71
|
+
end
|
72
|
+
|
73
|
+
if attributes.has_key?(:'sessions_trial_billing_period')
|
74
|
+
self.sessions_trial_billing_period = attributes[:'sessions_trial_billing_period']
|
75
|
+
end
|
76
|
+
|
77
|
+
if attributes.has_key?(:'trial_expiration')
|
78
|
+
self.trial_expiration = attributes[:'trial_expiration']
|
79
|
+
end
|
80
|
+
|
81
|
+
if attributes.has_key?(:'trial_expired')
|
82
|
+
self.trial_expired = attributes[:'trial_expired']
|
83
|
+
end
|
44
84
|
end
|
45
85
|
|
46
86
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -61,7 +101,12 @@ module UltracartClient
|
|
61
101
|
def ==(o)
|
62
102
|
return true if self.equal?(o)
|
63
103
|
self.class == o.class &&
|
64
|
-
enabled == o.enabled
|
104
|
+
enabled == o.enabled &&
|
105
|
+
sessions_current_billing_period == o.sessions_current_billing_period &&
|
106
|
+
sessions_last_billing_period == o.sessions_last_billing_period &&
|
107
|
+
sessions_trial_billing_period == o.sessions_trial_billing_period &&
|
108
|
+
trial_expiration == o.trial_expiration &&
|
109
|
+
trial_expired == o.trial_expired
|
65
110
|
end
|
66
111
|
|
67
112
|
# @see the `==` method
|
@@ -73,7 +118,7 @@ module UltracartClient
|
|
73
118
|
# Calculates hash code according to all attributes.
|
74
119
|
# @return [Fixnum] Hash code
|
75
120
|
def hash
|
76
|
-
[enabled].hash
|
121
|
+
[enabled, sessions_current_billing_period, sessions_last_billing_period, sessions_trial_billing_period, trial_expiration, trial_expired].hash
|
77
122
|
end
|
78
123
|
|
79
124
|
# Builds the object from hash
|
@@ -29,6 +29,9 @@ module UltracartClient
|
|
29
29
|
# Send test orders through to TaxJar. The default is to not transmit test orders to TaxJar.
|
30
30
|
attr_accessor :send_test_orders
|
31
31
|
|
32
|
+
# Do not send channel partner orders to TaxJar. Set this to true if your channel partner reports tax on their own.
|
33
|
+
attr_accessor :skip_channel_orders
|
34
|
+
|
32
35
|
# Use distribution center from address
|
33
36
|
attr_accessor :use_distribution_center_from
|
34
37
|
|
@@ -40,6 +43,7 @@ module UltracartClient
|
|
40
43
|
:'estimate_only' => :'estimate_only',
|
41
44
|
:'send_outside_nexus' => :'send_outside_nexus',
|
42
45
|
:'send_test_orders' => :'send_test_orders',
|
46
|
+
:'skip_channel_orders' => :'skip_channel_orders',
|
43
47
|
:'use_distribution_center_from' => :'use_distribution_center_from'
|
44
48
|
}
|
45
49
|
end
|
@@ -52,6 +56,7 @@ module UltracartClient
|
|
52
56
|
:'estimate_only' => :'BOOLEAN',
|
53
57
|
:'send_outside_nexus' => :'BOOLEAN',
|
54
58
|
:'send_test_orders' => :'BOOLEAN',
|
59
|
+
:'skip_channel_orders' => :'BOOLEAN',
|
55
60
|
:'use_distribution_center_from' => :'BOOLEAN'
|
56
61
|
}
|
57
62
|
end
|
@@ -84,6 +89,10 @@ module UltracartClient
|
|
84
89
|
self.send_test_orders = attributes[:'send_test_orders']
|
85
90
|
end
|
86
91
|
|
92
|
+
if attributes.has_key?(:'skip_channel_orders')
|
93
|
+
self.skip_channel_orders = attributes[:'skip_channel_orders']
|
94
|
+
end
|
95
|
+
|
87
96
|
if attributes.has_key?(:'use_distribution_center_from')
|
88
97
|
self.use_distribution_center_from = attributes[:'use_distribution_center_from']
|
89
98
|
end
|
@@ -112,6 +121,7 @@ module UltracartClient
|
|
112
121
|
estimate_only == o.estimate_only &&
|
113
122
|
send_outside_nexus == o.send_outside_nexus &&
|
114
123
|
send_test_orders == o.send_test_orders &&
|
124
|
+
skip_channel_orders == o.skip_channel_orders &&
|
115
125
|
use_distribution_center_from == o.use_distribution_center_from
|
116
126
|
end
|
117
127
|
|
@@ -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
|
-
[active, api_key, estimate_only, send_outside_nexus, send_test_orders, use_distribution_center_from].hash
|
137
|
+
[active, api_key, estimate_only, send_outside_nexus, send_test_orders, skip_channel_orders, use_distribution_center_from].hash
|
128
138
|
end
|
129
139
|
|
130
140
|
# Builds the object from hash
|
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.1.
|
4
|
+
version: 3.1.40
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- UltraCart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -345,6 +345,7 @@ files:
|
|
345
345
|
- docs/CouponPercentOffItems.md
|
346
346
|
- docs/CouponPercentOffItemsAndFreeShipping.md
|
347
347
|
- docs/CouponPercentOffItemsWithItemsPurchase.md
|
348
|
+
- docs/CouponPercentOffMsrpItems.md
|
348
349
|
- docs/CouponPercentOffRetailPriceItems.md
|
349
350
|
- docs/CouponPercentOffShipping.md
|
350
351
|
- docs/CouponPercentOffSubtotal.md
|
@@ -679,6 +680,7 @@ files:
|
|
679
680
|
- docs/ResponseMetadata.md
|
680
681
|
- docs/ResultSet.md
|
681
682
|
- docs/ScreenRecording.md
|
683
|
+
- docs/ScreenRecordingAdPlatform.md
|
682
684
|
- docs/ScreenRecordingFilter.md
|
683
685
|
- docs/ScreenRecordingFilterGeoDistance.md
|
684
686
|
- docs/ScreenRecordingFilterIpSearch.md
|
@@ -695,6 +697,7 @@ files:
|
|
695
697
|
- docs/ScreenRecordingFilterValuesEvent.md
|
696
698
|
- docs/ScreenRecordingFilterValuesEventParams.md
|
697
699
|
- docs/ScreenRecordingFilterValuesPageParam.md
|
700
|
+
- docs/ScreenRecordingFilterValuesPageView.md
|
698
701
|
- docs/ScreenRecordingMerchantNotesRequest.md
|
699
702
|
- docs/ScreenRecordingMultifield.md
|
700
703
|
- docs/ScreenRecordingPageView.md
|
@@ -937,6 +940,7 @@ files:
|
|
937
940
|
- lib/ultracart_api/models/coupon_percent_off_items.rb
|
938
941
|
- lib/ultracart_api/models/coupon_percent_off_items_and_free_shipping.rb
|
939
942
|
- lib/ultracart_api/models/coupon_percent_off_items_with_items_purchase.rb
|
943
|
+
- lib/ultracart_api/models/coupon_percent_off_msrp_items.rb
|
940
944
|
- lib/ultracart_api/models/coupon_percent_off_retail_price_items.rb
|
941
945
|
- lib/ultracart_api/models/coupon_percent_off_shipping.rb
|
942
946
|
- lib/ultracart_api/models/coupon_percent_off_subtotal.rb
|
@@ -1266,6 +1270,7 @@ files:
|
|
1266
1270
|
- lib/ultracart_api/models/response_metadata.rb
|
1267
1271
|
- lib/ultracart_api/models/result_set.rb
|
1268
1272
|
- lib/ultracart_api/models/screen_recording.rb
|
1273
|
+
- lib/ultracart_api/models/screen_recording_ad_platform.rb
|
1269
1274
|
- lib/ultracart_api/models/screen_recording_filter.rb
|
1270
1275
|
- lib/ultracart_api/models/screen_recording_filter_geo_distance.rb
|
1271
1276
|
- lib/ultracart_api/models/screen_recording_filter_ip_search.rb
|
@@ -1282,6 +1287,7 @@ files:
|
|
1282
1287
|
- lib/ultracart_api/models/screen_recording_filter_values_event.rb
|
1283
1288
|
- lib/ultracart_api/models/screen_recording_filter_values_event_params.rb
|
1284
1289
|
- lib/ultracart_api/models/screen_recording_filter_values_page_param.rb
|
1290
|
+
- lib/ultracart_api/models/screen_recording_filter_values_page_view.rb
|
1285
1291
|
- lib/ultracart_api/models/screen_recording_merchant_notes_request.rb
|
1286
1292
|
- lib/ultracart_api/models/screen_recording_multifield.rb
|
1287
1293
|
- lib/ultracart_api/models/screen_recording_page_view.rb
|