ultracart_api 3.4.6 → 3.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -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/PaymentsConfigurationCreditCardType.md +17 -0
- 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 +14 -12
- data/docs/PaymentsConfigurationRestrictionsTheme.md +10 -0
- data/docs/PaymentsConfigurationSezzle.md +8 -7
- data/docs/PaymentsConfigurationTestMethod.md +18 -0
- data/docs/PaymentsConfigurationWePay.md +26 -26
- data/docs/PaymentsConfigurationWireTransfer.md +10 -10
- data/docs/StorefrontApi.md +260 -0
- data/lib/ultracart_api.rb +8 -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 +72 -103
- data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
- data/lib/ultracart_api/models/payments_configuration_credit_card.rb +74 -39
- data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +309 -0
- 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 +73 -39
- data/lib/ultracart_api/models/payments_configuration_restrictions_theme.rb +202 -0
- data/lib/ultracart_api/models/payments_configuration_sezzle.rb +99 -46
- data/lib/ultracart_api/models/payments_configuration_test_method.rb +319 -0
- 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/version.rb +1 -1
- metadata +18 -2
@@ -14,93 +14,119 @@ require 'date'
|
|
14
14
|
|
15
15
|
module UltracartClient
|
16
16
|
class PaymentsConfigurationWePay
|
17
|
+
# Master flag indicating this merchant accepts UltraCart Payments WePay
|
17
18
|
attr_accessor :accept_wepay
|
18
19
|
|
19
|
-
|
20
|
+
# URI for updating the WePay account
|
21
|
+
attr_accessor :account_update_uri
|
20
22
|
|
21
|
-
|
23
|
+
# Address line 1
|
24
|
+
attr_accessor :address1
|
22
25
|
|
23
|
-
|
26
|
+
# Address line 2
|
27
|
+
attr_accessor :address2
|
24
28
|
|
25
|
-
|
29
|
+
# For Canadian merchants, true if they wish to accept debit cards
|
30
|
+
attr_accessor :canada_accept_debit_cards
|
26
31
|
|
27
|
-
|
32
|
+
# City
|
33
|
+
attr_accessor :city
|
28
34
|
|
29
|
-
|
35
|
+
# Company
|
36
|
+
attr_accessor :company
|
30
37
|
|
31
|
-
|
38
|
+
# Company description
|
39
|
+
attr_accessor :company_description
|
32
40
|
|
33
|
-
|
41
|
+
# Console hostname
|
42
|
+
attr_accessor :console_hostname
|
34
43
|
|
35
|
-
|
44
|
+
# Country
|
45
|
+
attr_accessor :country
|
36
46
|
|
37
|
-
|
47
|
+
# Base currency for transactions
|
48
|
+
attr_accessor :currency
|
38
49
|
|
39
|
-
|
50
|
+
# Expected Revenue
|
51
|
+
attr_accessor :expected_revenue
|
40
52
|
|
41
|
-
|
53
|
+
# Internal flag to aid UI
|
54
|
+
attr_accessor :hide_credit_card_non_ultracart_payments
|
42
55
|
|
43
|
-
|
56
|
+
# Internal flag to aid UI
|
57
|
+
attr_accessor :hide_surcharge_amount
|
44
58
|
|
45
|
-
|
59
|
+
# Industry
|
60
|
+
attr_accessor :industry
|
46
61
|
|
47
|
-
|
62
|
+
# Owner email
|
63
|
+
attr_accessor :owner_email
|
48
64
|
|
49
|
-
|
65
|
+
# Owner name
|
66
|
+
attr_accessor :owner_name
|
50
67
|
|
51
|
-
|
68
|
+
# Owner phone
|
69
|
+
attr_accessor :owner_phone
|
52
70
|
|
53
|
-
|
71
|
+
# Postal code
|
72
|
+
attr_accessor :postal_code
|
54
73
|
|
55
|
-
attr_accessor :
|
74
|
+
attr_accessor :remove_pay_pal_pro
|
56
75
|
|
57
|
-
attr_accessor :
|
76
|
+
attr_accessor :restrictions
|
58
77
|
|
59
|
-
|
78
|
+
# Internal UI aid
|
79
|
+
attr_accessor :short_paypal_marketing_text
|
60
80
|
|
61
|
-
|
81
|
+
# Internal flag to aid UI
|
82
|
+
attr_accessor :show_ultracart_payments_disabled
|
62
83
|
|
63
|
-
|
84
|
+
# Internal flag to aid UI
|
85
|
+
attr_accessor :show_ultracart_payments_intro
|
64
86
|
|
65
|
-
|
87
|
+
# Internal flag to aid UI
|
88
|
+
attr_accessor :show_ultracart_payments_verification
|
66
89
|
|
67
|
-
|
90
|
+
# Internal flag to aid UI
|
91
|
+
attr_accessor :show_ultracart_payments_verified
|
68
92
|
|
69
|
-
|
93
|
+
# State
|
94
|
+
attr_accessor :state
|
70
95
|
|
71
|
-
|
96
|
+
# Website URL
|
97
|
+
attr_accessor :website_url
|
72
98
|
|
73
99
|
# Attribute mapping from ruby-style variable name to JSON key.
|
74
100
|
def self.attribute_map
|
75
101
|
{
|
76
|
-
:'accept_wepay' => :'
|
77
|
-
:'
|
78
|
-
:'
|
102
|
+
:'accept_wepay' => :'accept_wepay',
|
103
|
+
:'account_update_uri' => :'account_update_uri',
|
104
|
+
:'address1' => :'address1',
|
105
|
+
:'address2' => :'address2',
|
106
|
+
:'canada_accept_debit_cards' => :'canada_accept_debit_cards',
|
107
|
+
:'city' => :'city',
|
108
|
+
:'company' => :'company',
|
109
|
+
:'company_description' => :'company_description',
|
110
|
+
:'console_hostname' => :'console_hostname',
|
111
|
+
:'country' => :'country',
|
112
|
+
:'currency' => :'currency',
|
113
|
+
:'expected_revenue' => :'expected_revenue',
|
114
|
+
:'hide_credit_card_non_ultracart_payments' => :'hide_credit_card_non_ultracart_payments',
|
115
|
+
:'hide_surcharge_amount' => :'hide_surcharge_amount',
|
116
|
+
:'industry' => :'industry',
|
117
|
+
:'owner_email' => :'owner_email',
|
118
|
+
:'owner_name' => :'owner_name',
|
119
|
+
:'owner_phone' => :'owner_phone',
|
120
|
+
:'postal_code' => :'postal_code',
|
79
121
|
:'remove_pay_pal_pro' => :'removePayPalPro',
|
80
122
|
:'restrictions' => :'restrictions',
|
81
|
-
:'
|
82
|
-
:'
|
83
|
-
:'
|
84
|
-
:'
|
85
|
-
:'
|
86
|
-
:'
|
87
|
-
:'
|
88
|
-
:'wepay_address2' => :'wepayAddress2',
|
89
|
-
:'wepay_canada_accept_debit_cards' => :'wepayCanadaAcceptDebitCards',
|
90
|
-
:'wepay_city' => :'wepayCity',
|
91
|
-
:'wepay_company' => :'wepayCompany',
|
92
|
-
:'wepay_company_description' => :'wepayCompanyDescription',
|
93
|
-
:'wepay_console_hostname' => :'wepayConsoleHostname',
|
94
|
-
:'wepay_country' => :'wepayCountry',
|
95
|
-
:'wepay_currency' => :'wepayCurrency',
|
96
|
-
:'wepay_expected_revenue' => :'wepayExpectedRevenue',
|
97
|
-
:'wepay_industry' => :'wepayIndustry',
|
98
|
-
:'wepay_owner_email' => :'wepayOwnerEmail',
|
99
|
-
:'wepay_owner_name' => :'wepayOwnerName',
|
100
|
-
:'wepay_owner_phone' => :'wepayOwnerPhone',
|
101
|
-
:'wepay_state' => :'wepayState',
|
102
|
-
:'wepay_website_url' => :'wepayWebsiteUrl',
|
103
|
-
:'wepay_zip' => :'wepayZip'
|
123
|
+
:'short_paypal_marketing_text' => :'short_paypal_marketing_text',
|
124
|
+
:'show_ultracart_payments_disabled' => :'show_ultracart_payments_disabled',
|
125
|
+
:'show_ultracart_payments_intro' => :'show_ultracart_payments_intro',
|
126
|
+
:'show_ultracart_payments_verification' => :'show_ultracart_payments_verification',
|
127
|
+
:'show_ultracart_payments_verified' => :'show_ultracart_payments_verified',
|
128
|
+
:'state' => :'state',
|
129
|
+
:'website_url' => :'website_url'
|
104
130
|
}
|
105
131
|
end
|
106
132
|
|
@@ -108,33 +134,33 @@ module UltracartClient
|
|
108
134
|
def self.swagger_types
|
109
135
|
{
|
110
136
|
:'accept_wepay' => :'BOOLEAN',
|
111
|
-
:'
|
112
|
-
:'
|
137
|
+
:'account_update_uri' => :'String',
|
138
|
+
:'address1' => :'String',
|
139
|
+
:'address2' => :'String',
|
140
|
+
:'canada_accept_debit_cards' => :'BOOLEAN',
|
141
|
+
:'city' => :'String',
|
142
|
+
:'company' => :'String',
|
143
|
+
:'company_description' => :'String',
|
144
|
+
:'console_hostname' => :'String',
|
145
|
+
:'country' => :'String',
|
146
|
+
:'currency' => :'String',
|
147
|
+
:'expected_revenue' => :'String',
|
148
|
+
:'hide_credit_card_non_ultracart_payments' => :'BOOLEAN',
|
149
|
+
:'hide_surcharge_amount' => :'BOOLEAN',
|
150
|
+
:'industry' => :'String',
|
151
|
+
:'owner_email' => :'String',
|
152
|
+
:'owner_name' => :'String',
|
153
|
+
:'owner_phone' => :'String',
|
154
|
+
:'postal_code' => :'String',
|
113
155
|
:'remove_pay_pal_pro' => :'BOOLEAN',
|
114
156
|
:'restrictions' => :'PaymentsConfigurationRestrictions',
|
115
|
-
:'
|
116
|
-
:'
|
117
|
-
:'
|
118
|
-
:'
|
119
|
-
:'
|
120
|
-
:'
|
121
|
-
:'
|
122
|
-
:'wepay_address2' => :'String',
|
123
|
-
:'wepay_canada_accept_debit_cards' => :'BOOLEAN',
|
124
|
-
:'wepay_city' => :'String',
|
125
|
-
:'wepay_company' => :'String',
|
126
|
-
:'wepay_company_description' => :'String',
|
127
|
-
:'wepay_console_hostname' => :'String',
|
128
|
-
:'wepay_country' => :'String',
|
129
|
-
:'wepay_currency' => :'String',
|
130
|
-
:'wepay_expected_revenue' => :'String',
|
131
|
-
:'wepay_industry' => :'String',
|
132
|
-
:'wepay_owner_email' => :'String',
|
133
|
-
:'wepay_owner_name' => :'String',
|
134
|
-
:'wepay_owner_phone' => :'String',
|
135
|
-
:'wepay_state' => :'String',
|
136
|
-
:'wepay_website_url' => :'String',
|
137
|
-
:'wepay_zip' => :'String'
|
157
|
+
:'short_paypal_marketing_text' => :'BOOLEAN',
|
158
|
+
:'show_ultracart_payments_disabled' => :'BOOLEAN',
|
159
|
+
:'show_ultracart_payments_intro' => :'BOOLEAN',
|
160
|
+
:'show_ultracart_payments_verification' => :'BOOLEAN',
|
161
|
+
:'show_ultracart_payments_verified' => :'BOOLEAN',
|
162
|
+
:'state' => :'String',
|
163
|
+
:'website_url' => :'String'
|
138
164
|
}
|
139
165
|
end
|
140
166
|
|
@@ -146,116 +172,116 @@ module UltracartClient
|
|
146
172
|
# convert string to symbol for hash key
|
147
173
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
148
174
|
|
149
|
-
if attributes.has_key?(:'
|
150
|
-
self.accept_wepay = attributes[:'
|
175
|
+
if attributes.has_key?(:'accept_wepay')
|
176
|
+
self.accept_wepay = attributes[:'accept_wepay']
|
151
177
|
end
|
152
178
|
|
153
|
-
if attributes.has_key?(:'
|
154
|
-
self.
|
179
|
+
if attributes.has_key?(:'account_update_uri')
|
180
|
+
self.account_update_uri = attributes[:'account_update_uri']
|
155
181
|
end
|
156
182
|
|
157
|
-
if attributes.has_key?(:'
|
158
|
-
self.
|
183
|
+
if attributes.has_key?(:'address1')
|
184
|
+
self.address1 = attributes[:'address1']
|
159
185
|
end
|
160
186
|
|
161
|
-
if attributes.has_key?(:'
|
162
|
-
self.
|
187
|
+
if attributes.has_key?(:'address2')
|
188
|
+
self.address2 = attributes[:'address2']
|
163
189
|
end
|
164
190
|
|
165
|
-
if attributes.has_key?(:'
|
166
|
-
self.
|
191
|
+
if attributes.has_key?(:'canada_accept_debit_cards')
|
192
|
+
self.canada_accept_debit_cards = attributes[:'canada_accept_debit_cards']
|
167
193
|
end
|
168
194
|
|
169
|
-
if attributes.has_key?(:'
|
170
|
-
self.
|
195
|
+
if attributes.has_key?(:'city')
|
196
|
+
self.city = attributes[:'city']
|
171
197
|
end
|
172
198
|
|
173
|
-
if attributes.has_key?(:'
|
174
|
-
self.
|
199
|
+
if attributes.has_key?(:'company')
|
200
|
+
self.company = attributes[:'company']
|
175
201
|
end
|
176
202
|
|
177
|
-
if attributes.has_key?(:'
|
178
|
-
self.
|
203
|
+
if attributes.has_key?(:'company_description')
|
204
|
+
self.company_description = attributes[:'company_description']
|
179
205
|
end
|
180
206
|
|
181
|
-
if attributes.has_key?(:'
|
182
|
-
self.
|
207
|
+
if attributes.has_key?(:'console_hostname')
|
208
|
+
self.console_hostname = attributes[:'console_hostname']
|
183
209
|
end
|
184
210
|
|
185
|
-
if attributes.has_key?(:'
|
186
|
-
self.
|
211
|
+
if attributes.has_key?(:'country')
|
212
|
+
self.country = attributes[:'country']
|
187
213
|
end
|
188
214
|
|
189
|
-
if attributes.has_key?(:'
|
190
|
-
self.
|
215
|
+
if attributes.has_key?(:'currency')
|
216
|
+
self.currency = attributes[:'currency']
|
191
217
|
end
|
192
218
|
|
193
|
-
if attributes.has_key?(:'
|
194
|
-
self.
|
219
|
+
if attributes.has_key?(:'expected_revenue')
|
220
|
+
self.expected_revenue = attributes[:'expected_revenue']
|
195
221
|
end
|
196
222
|
|
197
|
-
if attributes.has_key?(:'
|
198
|
-
self.
|
223
|
+
if attributes.has_key?(:'hide_credit_card_non_ultracart_payments')
|
224
|
+
self.hide_credit_card_non_ultracart_payments = attributes[:'hide_credit_card_non_ultracart_payments']
|
199
225
|
end
|
200
226
|
|
201
|
-
if attributes.has_key?(:'
|
202
|
-
self.
|
227
|
+
if attributes.has_key?(:'hide_surcharge_amount')
|
228
|
+
self.hide_surcharge_amount = attributes[:'hide_surcharge_amount']
|
203
229
|
end
|
204
230
|
|
205
|
-
if attributes.has_key?(:'
|
206
|
-
self.
|
231
|
+
if attributes.has_key?(:'industry')
|
232
|
+
self.industry = attributes[:'industry']
|
207
233
|
end
|
208
234
|
|
209
|
-
if attributes.has_key?(:'
|
210
|
-
self.
|
235
|
+
if attributes.has_key?(:'owner_email')
|
236
|
+
self.owner_email = attributes[:'owner_email']
|
211
237
|
end
|
212
238
|
|
213
|
-
if attributes.has_key?(:'
|
214
|
-
self.
|
239
|
+
if attributes.has_key?(:'owner_name')
|
240
|
+
self.owner_name = attributes[:'owner_name']
|
215
241
|
end
|
216
242
|
|
217
|
-
if attributes.has_key?(:'
|
218
|
-
self.
|
243
|
+
if attributes.has_key?(:'owner_phone')
|
244
|
+
self.owner_phone = attributes[:'owner_phone']
|
219
245
|
end
|
220
246
|
|
221
|
-
if attributes.has_key?(:'
|
222
|
-
self.
|
247
|
+
if attributes.has_key?(:'postal_code')
|
248
|
+
self.postal_code = attributes[:'postal_code']
|
223
249
|
end
|
224
250
|
|
225
|
-
if attributes.has_key?(:'
|
226
|
-
self.
|
251
|
+
if attributes.has_key?(:'removePayPalPro')
|
252
|
+
self.remove_pay_pal_pro = attributes[:'removePayPalPro']
|
227
253
|
end
|
228
254
|
|
229
|
-
if attributes.has_key?(:'
|
230
|
-
self.
|
255
|
+
if attributes.has_key?(:'restrictions')
|
256
|
+
self.restrictions = attributes[:'restrictions']
|
231
257
|
end
|
232
258
|
|
233
|
-
if attributes.has_key?(:'
|
234
|
-
self.
|
259
|
+
if attributes.has_key?(:'short_paypal_marketing_text')
|
260
|
+
self.short_paypal_marketing_text = attributes[:'short_paypal_marketing_text']
|
235
261
|
end
|
236
262
|
|
237
|
-
if attributes.has_key?(:'
|
238
|
-
self.
|
263
|
+
if attributes.has_key?(:'show_ultracart_payments_disabled')
|
264
|
+
self.show_ultracart_payments_disabled = attributes[:'show_ultracart_payments_disabled']
|
239
265
|
end
|
240
266
|
|
241
|
-
if attributes.has_key?(:'
|
242
|
-
self.
|
267
|
+
if attributes.has_key?(:'show_ultracart_payments_intro')
|
268
|
+
self.show_ultracart_payments_intro = attributes[:'show_ultracart_payments_intro']
|
243
269
|
end
|
244
270
|
|
245
|
-
if attributes.has_key?(:'
|
246
|
-
self.
|
271
|
+
if attributes.has_key?(:'show_ultracart_payments_verification')
|
272
|
+
self.show_ultracart_payments_verification = attributes[:'show_ultracart_payments_verification']
|
247
273
|
end
|
248
274
|
|
249
|
-
if attributes.has_key?(:'
|
250
|
-
self.
|
275
|
+
if attributes.has_key?(:'show_ultracart_payments_verified')
|
276
|
+
self.show_ultracart_payments_verified = attributes[:'show_ultracart_payments_verified']
|
251
277
|
end
|
252
278
|
|
253
|
-
if attributes.has_key?(:'
|
254
|
-
self.
|
279
|
+
if attributes.has_key?(:'state')
|
280
|
+
self.state = attributes[:'state']
|
255
281
|
end
|
256
282
|
|
257
|
-
if attributes.has_key?(:'
|
258
|
-
self.
|
283
|
+
if attributes.has_key?(:'website_url')
|
284
|
+
self.website_url = attributes[:'website_url']
|
259
285
|
end
|
260
286
|
end
|
261
287
|
|
@@ -278,33 +304,33 @@ module UltracartClient
|
|
278
304
|
return true if self.equal?(o)
|
279
305
|
self.class == o.class &&
|
280
306
|
accept_wepay == o.accept_wepay &&
|
281
|
-
|
282
|
-
|
307
|
+
account_update_uri == o.account_update_uri &&
|
308
|
+
address1 == o.address1 &&
|
309
|
+
address2 == o.address2 &&
|
310
|
+
canada_accept_debit_cards == o.canada_accept_debit_cards &&
|
311
|
+
city == o.city &&
|
312
|
+
company == o.company &&
|
313
|
+
company_description == o.company_description &&
|
314
|
+
console_hostname == o.console_hostname &&
|
315
|
+
country == o.country &&
|
316
|
+
currency == o.currency &&
|
317
|
+
expected_revenue == o.expected_revenue &&
|
318
|
+
hide_credit_card_non_ultracart_payments == o.hide_credit_card_non_ultracart_payments &&
|
319
|
+
hide_surcharge_amount == o.hide_surcharge_amount &&
|
320
|
+
industry == o.industry &&
|
321
|
+
owner_email == o.owner_email &&
|
322
|
+
owner_name == o.owner_name &&
|
323
|
+
owner_phone == o.owner_phone &&
|
324
|
+
postal_code == o.postal_code &&
|
283
325
|
remove_pay_pal_pro == o.remove_pay_pal_pro &&
|
284
326
|
restrictions == o.restrictions &&
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
wepay_address2 == o.wepay_address2 &&
|
293
|
-
wepay_canada_accept_debit_cards == o.wepay_canada_accept_debit_cards &&
|
294
|
-
wepay_city == o.wepay_city &&
|
295
|
-
wepay_company == o.wepay_company &&
|
296
|
-
wepay_company_description == o.wepay_company_description &&
|
297
|
-
wepay_console_hostname == o.wepay_console_hostname &&
|
298
|
-
wepay_country == o.wepay_country &&
|
299
|
-
wepay_currency == o.wepay_currency &&
|
300
|
-
wepay_expected_revenue == o.wepay_expected_revenue &&
|
301
|
-
wepay_industry == o.wepay_industry &&
|
302
|
-
wepay_owner_email == o.wepay_owner_email &&
|
303
|
-
wepay_owner_name == o.wepay_owner_name &&
|
304
|
-
wepay_owner_phone == o.wepay_owner_phone &&
|
305
|
-
wepay_state == o.wepay_state &&
|
306
|
-
wepay_website_url == o.wepay_website_url &&
|
307
|
-
wepay_zip == o.wepay_zip
|
327
|
+
short_paypal_marketing_text == o.short_paypal_marketing_text &&
|
328
|
+
show_ultracart_payments_disabled == o.show_ultracart_payments_disabled &&
|
329
|
+
show_ultracart_payments_intro == o.show_ultracart_payments_intro &&
|
330
|
+
show_ultracart_payments_verification == o.show_ultracart_payments_verification &&
|
331
|
+
show_ultracart_payments_verified == o.show_ultracart_payments_verified &&
|
332
|
+
state == o.state &&
|
333
|
+
website_url == o.website_url
|
308
334
|
end
|
309
335
|
|
310
336
|
# @see the `==` method
|
@@ -316,7 +342,7 @@ module UltracartClient
|
|
316
342
|
# Calculates hash code according to all attributes.
|
317
343
|
# @return [Fixnum] Hash code
|
318
344
|
def hash
|
319
|
-
[accept_wepay,
|
345
|
+
[accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, currency, expected_revenue, hide_credit_card_non_ultracart_payments, hide_surcharge_amount, industry, owner_email, owner_name, owner_phone, postal_code, remove_pay_pal_pro, restrictions, short_paypal_marketing_text, show_ultracart_payments_disabled, show_ultracart_payments_intro, show_ultracart_payments_verification, show_ultracart_payments_verified, state, website_url].hash
|
320
346
|
end
|
321
347
|
|
322
348
|
# Builds the object from hash
|