ultracart_api 3.4.5 → 3.4.9
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 +4 -4
- data/README.md +17 -4
- data/docs/EmailList.md +1 -0
- data/docs/EmailListSegmentFolder.md +12 -0
- data/docs/EmailListSegmentFolderResponse.md +12 -0
- data/docs/EmailListSegmentFoldersResponse.md +12 -0
- data/docs/EmailSegment.md +1 -0
- data/docs/PaymentsConfiguration.md +5 -3
- data/docs/PaymentsConfigurationAffirm.md +7 -7
- data/docs/PaymentsConfigurationAmazon.md +7 -7
- data/docs/PaymentsConfigurationCOD.md +5 -5
- data/docs/PaymentsConfigurationCash.md +1 -1
- data/docs/PaymentsConfigurationCheck.md +12 -17
- data/docs/PaymentsConfigurationCreditCard.md +11 -9
- data/docs/PaymentsConfigurationEcheck.md +11 -0
- data/docs/PaymentsConfigurationLoanHero.md +4 -4
- data/docs/PaymentsConfigurationMoneyOrder.md +11 -0
- data/docs/PaymentsConfigurationPayPal.md +28 -28
- data/docs/PaymentsConfigurationPurchaseOrder.md +3 -3
- data/docs/PaymentsConfigurationQuoteRequest.md +2 -2
- data/docs/PaymentsConfigurationRestrictions.md +12 -12
- data/docs/PaymentsConfigurationSezzle.md +8 -7
- data/docs/PaymentsConfigurationWePay.md +26 -26
- data/docs/PaymentsConfigurationWireTransfer.md +10 -10
- data/docs/RotatingTransactionGateway.md +4 -3
- data/docs/StorefrontApi.md +260 -0
- data/lib/ultracart_api.rb +5 -0
- data/lib/ultracart_api/api/storefront_api.rb +295 -0
- data/lib/ultracart_api/models/email_list.rb +11 -1
- data/lib/ultracart_api/models/email_list_segment_folder.rb +240 -0
- data/lib/ultracart_api/models/email_list_segment_folder_response.rb +221 -0
- data/lib/ultracart_api/models/email_list_segment_folders_response.rb +223 -0
- data/lib/ultracart_api/models/email_segment.rb +11 -1
- data/lib/ultracart_api/models/payments_configuration.rb +50 -31
- data/lib/ultracart_api/models/payments_configuration_affirm.rb +81 -40
- data/lib/ultracart_api/models/payments_configuration_amazon.rb +51 -44
- data/lib/ultracart_api/models/payments_configuration_cash.rb +4 -3
- data/lib/ultracart_api/models/payments_configuration_check.rb +70 -103
- data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
- data/lib/ultracart_api/models/payments_configuration_credit_card.rb +68 -39
- data/lib/ultracart_api/models/payments_configuration_echeck.rb +214 -0
- data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +23 -19
- data/lib/ultracart_api/models/payments_configuration_money_order.rb +214 -0
- data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +270 -172
- data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +19 -16
- data/lib/ultracart_api/models/payments_configuration_quote_request.rb +12 -10
- data/lib/ultracart_api/models/payments_configuration_restrictions.rb +48 -36
- data/lib/ultracart_api/models/payments_configuration_sezzle.rb +97 -46
- data/lib/ultracart_api/models/payments_configuration_we_pay.rb +186 -160
- data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +71 -61
- data/lib/ultracart_api/models/rotating_transaction_gateway.rb +13 -3
- data/lib/ultracart_api/version.rb +1 -1
- metadata +12 -2
@@ -14,42 +14,52 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class PaymentsConfigurationWireTransfer
|
17
|
+
# Master flag indicating this merchant accepts wire transfers
|
17
18
|
attr_accessor :accept_wire_transfer
|
18
19
|
|
19
|
-
|
20
|
+
# account_number
|
21
|
+
attr_accessor :account_number
|
20
22
|
|
21
|
-
|
23
|
+
# Optional Quickbooks accounting code
|
24
|
+
attr_accessor :accounting_code
|
22
25
|
|
23
|
-
|
26
|
+
# Bank address
|
27
|
+
attr_accessor :bank_address
|
24
28
|
|
25
|
-
|
29
|
+
# Optional Quickbooks deposit to account
|
30
|
+
attr_accessor :deposit_to_account
|
26
31
|
|
27
|
-
|
32
|
+
# Intermediate routing number
|
33
|
+
attr_accessor :intermediate_routing_number
|
28
34
|
|
29
|
-
attr_accessor :
|
35
|
+
attr_accessor :restrictions
|
30
36
|
|
31
|
-
|
37
|
+
# Routing number
|
38
|
+
attr_accessor :routing_number
|
32
39
|
|
33
|
-
|
40
|
+
# If a surcharge is present and this merchant is integrated with Quickbooks, this is the accounting code for the surcharge amount
|
41
|
+
attr_accessor :surcharge_accounting_code
|
34
42
|
|
35
|
-
|
43
|
+
# surcharge_fee
|
44
|
+
attr_accessor :surcharge_fee
|
36
45
|
|
37
|
-
|
46
|
+
# surcharge_percentage
|
47
|
+
attr_accessor :surcharge_percentage
|
38
48
|
|
39
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
50
|
def self.attribute_map
|
41
51
|
{
|
42
|
-
:'accept_wire_transfer' => :'
|
52
|
+
:'accept_wire_transfer' => :'accept_wire_transfer',
|
53
|
+
:'account_number' => :'account_number',
|
54
|
+
:'accounting_code' => :'accounting_code',
|
55
|
+
:'bank_address' => :'bank_address',
|
56
|
+
:'deposit_to_account' => :'deposit_to_account',
|
57
|
+
:'intermediate_routing_number' => :'intermediate_routing_number',
|
43
58
|
:'restrictions' => :'restrictions',
|
44
|
-
:'
|
45
|
-
:'
|
46
|
-
:'
|
47
|
-
:'
|
48
|
-
:'wire_transfer_intermediate_routing_number' => :'wireTransferIntermediateRoutingNumber',
|
49
|
-
:'wire_transfer_routing_number' => :'wireTransferRoutingNumber',
|
50
|
-
:'wire_transfer_surcharge_accounting_code' => :'wireTransferSurchargeAccountingCode',
|
51
|
-
:'wire_transfer_surcharge_fee' => :'wireTransferSurchargeFee',
|
52
|
-
:'wire_transfer_surcharge_perc' => :'wireTransferSurchargePerc'
|
59
|
+
:'routing_number' => :'routing_number',
|
60
|
+
:'surcharge_accounting_code' => :'surcharge_accounting_code',
|
61
|
+
:'surcharge_fee' => :'surcharge_fee',
|
62
|
+
:'surcharge_percentage' => :'surcharge_percentage'
|
53
63
|
}
|
54
64
|
end
|
55
65
|
|
@@ -57,16 +67,16 @@ module UltracartClient
|
|
57
67
|
def self.swagger_types
|
58
68
|
{
|
59
69
|
:'accept_wire_transfer' => :'BOOLEAN',
|
70
|
+
:'account_number' => :'String',
|
71
|
+
:'accounting_code' => :'String',
|
72
|
+
:'bank_address' => :'String',
|
73
|
+
:'deposit_to_account' => :'String',
|
74
|
+
:'intermediate_routing_number' => :'String',
|
60
75
|
:'restrictions' => :'PaymentsConfigurationRestrictions',
|
61
|
-
:'
|
62
|
-
:'
|
63
|
-
:'
|
64
|
-
:'
|
65
|
-
:'wire_transfer_intermediate_routing_number' => :'String',
|
66
|
-
:'wire_transfer_routing_number' => :'String',
|
67
|
-
:'wire_transfer_surcharge_accounting_code' => :'String',
|
68
|
-
:'wire_transfer_surcharge_fee' => :'String',
|
69
|
-
:'wire_transfer_surcharge_perc' => :'String'
|
76
|
+
:'routing_number' => :'String',
|
77
|
+
:'surcharge_accounting_code' => :'String',
|
78
|
+
:'surcharge_fee' => :'String',
|
79
|
+
:'surcharge_percentage' => :'String'
|
70
80
|
}
|
71
81
|
end
|
72
82
|
|
@@ -78,48 +88,48 @@ module UltracartClient
|
|
78
88
|
# convert string to symbol for hash key
|
79
89
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
80
90
|
|
81
|
-
if attributes.has_key?(:'
|
82
|
-
self.accept_wire_transfer = attributes[:'
|
91
|
+
if attributes.has_key?(:'accept_wire_transfer')
|
92
|
+
self.accept_wire_transfer = attributes[:'accept_wire_transfer']
|
83
93
|
end
|
84
94
|
|
85
|
-
if attributes.has_key?(:'
|
86
|
-
self.
|
95
|
+
if attributes.has_key?(:'account_number')
|
96
|
+
self.account_number = attributes[:'account_number']
|
87
97
|
end
|
88
98
|
|
89
|
-
if attributes.has_key?(:'
|
90
|
-
self.
|
99
|
+
if attributes.has_key?(:'accounting_code')
|
100
|
+
self.accounting_code = attributes[:'accounting_code']
|
91
101
|
end
|
92
102
|
|
93
|
-
if attributes.has_key?(:'
|
94
|
-
self.
|
103
|
+
if attributes.has_key?(:'bank_address')
|
104
|
+
self.bank_address = attributes[:'bank_address']
|
95
105
|
end
|
96
106
|
|
97
|
-
if attributes.has_key?(:'
|
98
|
-
self.
|
107
|
+
if attributes.has_key?(:'deposit_to_account')
|
108
|
+
self.deposit_to_account = attributes[:'deposit_to_account']
|
99
109
|
end
|
100
110
|
|
101
|
-
if attributes.has_key?(:'
|
102
|
-
self.
|
111
|
+
if attributes.has_key?(:'intermediate_routing_number')
|
112
|
+
self.intermediate_routing_number = attributes[:'intermediate_routing_number']
|
103
113
|
end
|
104
114
|
|
105
|
-
if attributes.has_key?(:'
|
106
|
-
self.
|
115
|
+
if attributes.has_key?(:'restrictions')
|
116
|
+
self.restrictions = attributes[:'restrictions']
|
107
117
|
end
|
108
118
|
|
109
|
-
if attributes.has_key?(:'
|
110
|
-
self.
|
119
|
+
if attributes.has_key?(:'routing_number')
|
120
|
+
self.routing_number = attributes[:'routing_number']
|
111
121
|
end
|
112
122
|
|
113
|
-
if attributes.has_key?(:'
|
114
|
-
self.
|
123
|
+
if attributes.has_key?(:'surcharge_accounting_code')
|
124
|
+
self.surcharge_accounting_code = attributes[:'surcharge_accounting_code']
|
115
125
|
end
|
116
126
|
|
117
|
-
if attributes.has_key?(:'
|
118
|
-
self.
|
127
|
+
if attributes.has_key?(:'surcharge_fee')
|
128
|
+
self.surcharge_fee = attributes[:'surcharge_fee']
|
119
129
|
end
|
120
130
|
|
121
|
-
if attributes.has_key?(:'
|
122
|
-
self.
|
131
|
+
if attributes.has_key?(:'surcharge_percentage')
|
132
|
+
self.surcharge_percentage = attributes[:'surcharge_percentage']
|
123
133
|
end
|
124
134
|
end
|
125
135
|
|
@@ -142,16 +152,16 @@ module UltracartClient
|
|
142
152
|
return true if self.equal?(o)
|
143
153
|
self.class == o.class &&
|
144
154
|
accept_wire_transfer == o.accept_wire_transfer &&
|
155
|
+
account_number == o.account_number &&
|
156
|
+
accounting_code == o.accounting_code &&
|
157
|
+
bank_address == o.bank_address &&
|
158
|
+
deposit_to_account == o.deposit_to_account &&
|
159
|
+
intermediate_routing_number == o.intermediate_routing_number &&
|
145
160
|
restrictions == o.restrictions &&
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
wire_transfer_intermediate_routing_number == o.wire_transfer_intermediate_routing_number &&
|
151
|
-
wire_transfer_routing_number == o.wire_transfer_routing_number &&
|
152
|
-
wire_transfer_surcharge_accounting_code == o.wire_transfer_surcharge_accounting_code &&
|
153
|
-
wire_transfer_surcharge_fee == o.wire_transfer_surcharge_fee &&
|
154
|
-
wire_transfer_surcharge_perc == o.wire_transfer_surcharge_perc
|
161
|
+
routing_number == o.routing_number &&
|
162
|
+
surcharge_accounting_code == o.surcharge_accounting_code &&
|
163
|
+
surcharge_fee == o.surcharge_fee &&
|
164
|
+
surcharge_percentage == o.surcharge_percentage
|
155
165
|
end
|
156
166
|
|
157
167
|
# @see the `==` method
|
@@ -163,7 +173,7 @@ module UltracartClient
|
|
163
173
|
# Calculates hash code according to all attributes.
|
164
174
|
# @return [Fixnum] Hash code
|
165
175
|
def hash
|
166
|
-
[accept_wire_transfer,
|
176
|
+
[accept_wire_transfer, account_number, accounting_code, bank_address, deposit_to_account, intermediate_routing_number, restrictions, routing_number, surcharge_accounting_code, surcharge_fee, surcharge_percentage].hash
|
167
177
|
end
|
168
178
|
|
169
179
|
# 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
|
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
|
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
|
+
version: 3.4.9
|
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-
|
11
|
+
date: 2021-08-05 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
|