ultracart_api 3.4.5 → 3.4.6
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abdcb875151f2365cc95ec8ee697e30cdf7e6e7802d18e6ca368ecdd8874d444
|
4
|
+
data.tar.gz: 335ad17c98e9658f69723a3233f60fd892126666d2d401bdb8334931563e2720
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0cdea5e196a653e18f44ffb53461d385b1ac5bec66da25651c9df5004a89ddca4e1d1fbe9a9c44ef424aefea4a08118a36e67874045b240ec6bb17e068857e90
|
7
|
+
data.tar.gz: b9cbccdcc7b6a89bf99ab504985b89ff7f5ffc524546ab215db0fbb3add2e66b60da9926e9824f3a1f3b9e473151e24a5bfab2a61c682ed0ea13fae5e245a114
|
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.4.
|
10
|
+
- Package version: 3.4.6
|
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.4.
|
27
|
+
gem install ./ultracart_api-3.4.6.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.4.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.4.6.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.4.
|
35
|
+
gem 'ultracart_api', '~> 3.4.6'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -43,8 +43,9 @@ Name | Type | Description | Notes
|
|
43
43
|
**status** | **String** | A field used to take a gateway offline without removing/deleting the configuration. Inactive marks the gateway as completely unusable. Standby takes the gateway offline and will not be used unless all other active gateways fail. | [optional]
|
44
44
|
**theme_restrictions** | [**Array<RtgThemeRestriction>**](RtgThemeRestriction.md) | Optional restrictions by theme/storefront | [optional]
|
45
45
|
**traffic_percentage** | **Float** | Required field between 0 and 1 that dictates the percentage of traffic that should flow through this gateway | [optional]
|
46
|
-
**trial_daily_amount** | **Integer** | If specified, limits the total daily
|
47
|
-
**trial_daily_limit** | **Integer** | If specified, limits the total
|
48
|
-
**
|
46
|
+
**trial_daily_amount** | **Integer** | If specified, limits the total daily count of trial orders | [optional]
|
47
|
+
**trial_daily_limit** | **Integer** | If specified, limits the total daily dollar amount of trial orders | [optional]
|
48
|
+
**trial_monthly_amount** | **Integer** | If specified, limits the total month dollar amount of trial orders | [optional]
|
49
|
+
**trial_monthly_limit** | **Integer** | If specified, limits the total month count of trial orders | [optional]
|
49
50
|
|
50
51
|
|
@@ -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
|
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
|
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
|