ultracart_api 3.4.8 → 3.4.12
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 +11 -4
- data/docs/EmailWebhookEditorValuesResponse.md +14 -0
- data/docs/PaymentsConfiguration.md +4 -4
- 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 -13
- data/docs/PaymentsConfigurationCreditCard.md +11 -8
- data/docs/PaymentsConfigurationCreditCardType.md +17 -0
- data/docs/PaymentsConfigurationEcheck.md +3 -3
- data/docs/PaymentsConfigurationLoanHero.md +4 -4
- data/docs/PaymentsConfigurationMoneyOrder.md +3 -1
- 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 +52 -0
- data/lib/ultracart_api.rb +4 -0
- data/lib/ultracart_api/api/storefront_api.rb +59 -0
- data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +243 -0
- data/lib/ultracart_api/models/payments_configuration.rb +41 -40
- 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 +73 -68
- data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
- data/lib/ultracart_api/models/payments_configuration_credit_card.rb +78 -34
- data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +309 -0
- data/lib/ultracart_api/models/payments_configuration_echeck.rb +22 -19
- data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +23 -19
- data/lib/ultracart_api/models/payments_configuration_money_order.rb +25 -4
- 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 +75 -41
- 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 +10 -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
|
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.12
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -506,6 +506,7 @@ files:
|
|
506
506
|
- docs/EmailVerifyTokenResponse.md
|
507
507
|
- docs/EmailVerifyTokenValidateRequest.md
|
508
508
|
- docs/EmailVerifyTokenValidateResponse.md
|
509
|
+
- docs/EmailWebhookEditorValuesResponse.md
|
509
510
|
- docs/Error.md
|
510
511
|
- docs/ErrorResponse.md
|
511
512
|
- docs/Experiment.md
|
@@ -694,6 +695,7 @@ files:
|
|
694
695
|
- docs/PaymentsConfigurationCash.md
|
695
696
|
- docs/PaymentsConfigurationCheck.md
|
696
697
|
- docs/PaymentsConfigurationCreditCard.md
|
698
|
+
- docs/PaymentsConfigurationCreditCardType.md
|
697
699
|
- docs/PaymentsConfigurationEcheck.md
|
698
700
|
- docs/PaymentsConfigurationLoanHero.md
|
699
701
|
- docs/PaymentsConfigurationMoneyOrder.md
|
@@ -702,7 +704,9 @@ files:
|
|
702
704
|
- docs/PaymentsConfigurationQuoteRequest.md
|
703
705
|
- docs/PaymentsConfigurationResponse.md
|
704
706
|
- docs/PaymentsConfigurationRestrictions.md
|
707
|
+
- docs/PaymentsConfigurationRestrictionsTheme.md
|
705
708
|
- docs/PaymentsConfigurationSezzle.md
|
709
|
+
- docs/PaymentsConfigurationTestMethod.md
|
706
710
|
- docs/PaymentsConfigurationWePay.md
|
707
711
|
- docs/PaymentsConfigurationWireTransfer.md
|
708
712
|
- docs/PaymentsThemeTransactionType.md
|
@@ -1165,6 +1169,7 @@ files:
|
|
1165
1169
|
- lib/ultracart_api/models/email_verify_token_response.rb
|
1166
1170
|
- lib/ultracart_api/models/email_verify_token_validate_request.rb
|
1167
1171
|
- lib/ultracart_api/models/email_verify_token_validate_response.rb
|
1172
|
+
- lib/ultracart_api/models/email_webhook_editor_values_response.rb
|
1168
1173
|
- lib/ultracart_api/models/error.rb
|
1169
1174
|
- lib/ultracart_api/models/error_response.rb
|
1170
1175
|
- lib/ultracart_api/models/experiment.rb
|
@@ -1348,6 +1353,7 @@ files:
|
|
1348
1353
|
- lib/ultracart_api/models/payments_configuration_check.rb
|
1349
1354
|
- lib/ultracart_api/models/payments_configuration_cod.rb
|
1350
1355
|
- lib/ultracart_api/models/payments_configuration_credit_card.rb
|
1356
|
+
- lib/ultracart_api/models/payments_configuration_credit_card_type.rb
|
1351
1357
|
- lib/ultracart_api/models/payments_configuration_echeck.rb
|
1352
1358
|
- lib/ultracart_api/models/payments_configuration_loan_hero.rb
|
1353
1359
|
- lib/ultracart_api/models/payments_configuration_money_order.rb
|
@@ -1356,7 +1362,9 @@ files:
|
|
1356
1362
|
- lib/ultracart_api/models/payments_configuration_quote_request.rb
|
1357
1363
|
- lib/ultracart_api/models/payments_configuration_response.rb
|
1358
1364
|
- lib/ultracart_api/models/payments_configuration_restrictions.rb
|
1365
|
+
- lib/ultracart_api/models/payments_configuration_restrictions_theme.rb
|
1359
1366
|
- lib/ultracart_api/models/payments_configuration_sezzle.rb
|
1367
|
+
- lib/ultracart_api/models/payments_configuration_test_method.rb
|
1360
1368
|
- lib/ultracart_api/models/payments_configuration_we_pay.rb
|
1361
1369
|
- lib/ultracart_api/models/payments_configuration_wire_transfer.rb
|
1362
1370
|
- lib/ultracart_api/models/payments_theme_transaction_type.rb
|