ultracart_api 3.4.4 → 3.4.8

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +17 -4
  3. data/docs/ConfigurationApi.md +2 -2
  4. data/docs/EmailList.md +1 -0
  5. data/docs/EmailListSegmentFolder.md +12 -0
  6. data/docs/EmailListSegmentFolderResponse.md +12 -0
  7. data/docs/EmailListSegmentFoldersResponse.md +12 -0
  8. data/docs/EmailSegment.md +1 -0
  9. data/docs/PaymentsConfiguration.md +2 -0
  10. data/docs/PaymentsConfigurationCheck.md +0 -4
  11. data/docs/PaymentsConfigurationCreditCard.md +0 -1
  12. data/docs/PaymentsConfigurationEcheck.md +11 -0
  13. data/docs/PaymentsConfigurationMoneyOrder.md +9 -0
  14. data/docs/RotatingTransactionGateway.md +4 -3
  15. data/docs/StorefrontApi.md +260 -0
  16. data/lib/ultracart_api.rb +5 -0
  17. data/lib/ultracart_api/api/configuration_api.rb +3 -3
  18. data/lib/ultracart_api/api/storefront_api.rb +295 -0
  19. data/lib/ultracart_api/models/email_list.rb +11 -1
  20. data/lib/ultracart_api/models/email_list_segment_folder.rb +240 -0
  21. data/lib/ultracart_api/models/email_list_segment_folder_response.rb +221 -0
  22. data/lib/ultracart_api/models/email_list_segment_folders_response.rb +223 -0
  23. data/lib/ultracart_api/models/email_segment.rb +11 -1
  24. data/lib/ultracart_api/models/payments_configuration.rb +19 -1
  25. data/lib/ultracart_api/models/payments_configuration_check.rb +1 -37
  26. data/lib/ultracart_api/models/payments_configuration_credit_card.rb +1 -10
  27. data/lib/ultracart_api/models/payments_configuration_echeck.rb +211 -0
  28. data/lib/ultracart_api/models/payments_configuration_money_order.rb +193 -0
  29. data/lib/ultracart_api/models/rotating_transaction_gateway.rb +13 -3
  30. data/lib/ultracart_api/version.rb +1 -1
  31. metadata +12 -2
@@ -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.4'
14
+ VERSION = '3.4.8'
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.4
4
+ version: 3.4.8
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
@@ -691,7 +694,9 @@ files:
691
694
  - docs/PaymentsConfigurationCash.md
692
695
  - docs/PaymentsConfigurationCheck.md
693
696
  - docs/PaymentsConfigurationCreditCard.md
697
+ - docs/PaymentsConfigurationEcheck.md
694
698
  - docs/PaymentsConfigurationLoanHero.md
699
+ - docs/PaymentsConfigurationMoneyOrder.md
695
700
  - docs/PaymentsConfigurationPayPal.md
696
701
  - docs/PaymentsConfigurationPurchaseOrder.md
697
702
  - docs/PaymentsConfigurationQuoteRequest.md
@@ -1111,6 +1116,9 @@ files:
1111
1116
  - lib/ultracart_api/models/email_list_customer.rb
1112
1117
  - lib/ultracart_api/models/email_list_customers_response.rb
1113
1118
  - lib/ultracart_api/models/email_list_response.rb
1119
+ - lib/ultracart_api/models/email_list_segment_folder.rb
1120
+ - lib/ultracart_api/models/email_list_segment_folder_response.rb
1121
+ - lib/ultracart_api/models/email_list_segment_folders_response.rb
1114
1122
  - lib/ultracart_api/models/email_list_segment_membership.rb
1115
1123
  - lib/ultracart_api/models/email_list_segment_used_by.rb
1116
1124
  - lib/ultracart_api/models/email_list_subscribe_response.rb
@@ -1340,7 +1348,9 @@ files:
1340
1348
  - lib/ultracart_api/models/payments_configuration_check.rb
1341
1349
  - lib/ultracart_api/models/payments_configuration_cod.rb
1342
1350
  - lib/ultracart_api/models/payments_configuration_credit_card.rb
1351
+ - lib/ultracart_api/models/payments_configuration_echeck.rb
1343
1352
  - lib/ultracart_api/models/payments_configuration_loan_hero.rb
1353
+ - lib/ultracart_api/models/payments_configuration_money_order.rb
1344
1354
  - lib/ultracart_api/models/payments_configuration_pay_pal.rb
1345
1355
  - lib/ultracart_api/models/payments_configuration_purchase_order.rb
1346
1356
  - lib/ultracart_api/models/payments_configuration_quote_request.rb