ultracart_api 3.4.8 → 3.4.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/docs/EmailWebhookEditorValuesResponse.md +14 -0
  4. data/docs/PaymentsConfiguration.md +4 -4
  5. data/docs/PaymentsConfigurationAffirm.md +7 -7
  6. data/docs/PaymentsConfigurationAmazon.md +7 -7
  7. data/docs/PaymentsConfigurationCOD.md +5 -5
  8. data/docs/PaymentsConfigurationCash.md +1 -1
  9. data/docs/PaymentsConfigurationCheck.md +12 -13
  10. data/docs/PaymentsConfigurationCreditCard.md +11 -8
  11. data/docs/PaymentsConfigurationCreditCardType.md +17 -0
  12. data/docs/PaymentsConfigurationEcheck.md +3 -3
  13. data/docs/PaymentsConfigurationLoanHero.md +4 -4
  14. data/docs/PaymentsConfigurationMoneyOrder.md +3 -1
  15. data/docs/PaymentsConfigurationPayPal.md +28 -28
  16. data/docs/PaymentsConfigurationPurchaseOrder.md +3 -3
  17. data/docs/PaymentsConfigurationQuoteRequest.md +2 -2
  18. data/docs/PaymentsConfigurationRestrictions.md +14 -12
  19. data/docs/PaymentsConfigurationRestrictionsTheme.md +10 -0
  20. data/docs/PaymentsConfigurationSezzle.md +8 -7
  21. data/docs/PaymentsConfigurationTestMethod.md +18 -0
  22. data/docs/PaymentsConfigurationWePay.md +26 -26
  23. data/docs/PaymentsConfigurationWireTransfer.md +10 -10
  24. data/docs/StorefrontApi.md +52 -0
  25. data/lib/ultracart_api.rb +4 -0
  26. data/lib/ultracart_api/api/storefront_api.rb +59 -0
  27. data/lib/ultracart_api/models/email_webhook_editor_values_response.rb +243 -0
  28. data/lib/ultracart_api/models/payments_configuration.rb +41 -40
  29. data/lib/ultracart_api/models/payments_configuration_affirm.rb +81 -40
  30. data/lib/ultracart_api/models/payments_configuration_amazon.rb +51 -44
  31. data/lib/ultracart_api/models/payments_configuration_cash.rb +4 -3
  32. data/lib/ultracart_api/models/payments_configuration_check.rb +73 -68
  33. data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
  34. data/lib/ultracart_api/models/payments_configuration_credit_card.rb +78 -34
  35. data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +309 -0
  36. data/lib/ultracart_api/models/payments_configuration_echeck.rb +22 -19
  37. data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +23 -19
  38. data/lib/ultracart_api/models/payments_configuration_money_order.rb +25 -4
  39. data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +270 -172
  40. data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +19 -16
  41. data/lib/ultracart_api/models/payments_configuration_quote_request.rb +12 -10
  42. data/lib/ultracart_api/models/payments_configuration_restrictions.rb +75 -41
  43. data/lib/ultracart_api/models/payments_configuration_restrictions_theme.rb +202 -0
  44. data/lib/ultracart_api/models/payments_configuration_sezzle.rb +99 -46
  45. data/lib/ultracart_api/models/payments_configuration_test_method.rb +319 -0
  46. data/lib/ultracart_api/models/payments_configuration_we_pay.rb +186 -160
  47. data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +71 -61
  48. data/lib/ultracart_api/version.rb +1 -1
  49. 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
- attr_accessor :restrictions
20
+ # account_number
21
+ attr_accessor :account_number
20
22
 
21
- attr_accessor :wire_transfer_accounting_code
23
+ # Optional Quickbooks accounting code
24
+ attr_accessor :accounting_code
22
25
 
23
- attr_accessor :wire_transfer_account_number
26
+ # Bank address
27
+ attr_accessor :bank_address
24
28
 
25
- attr_accessor :wire_transfer_bank_address
29
+ # Optional Quickbooks deposit to account
30
+ attr_accessor :deposit_to_account
26
31
 
27
- attr_accessor :wire_transfer_deposit_to_account
32
+ # Intermediate routing number
33
+ attr_accessor :intermediate_routing_number
28
34
 
29
- attr_accessor :wire_transfer_intermediate_routing_number
35
+ attr_accessor :restrictions
30
36
 
31
- attr_accessor :wire_transfer_routing_number
37
+ # Routing number
38
+ attr_accessor :routing_number
32
39
 
33
- attr_accessor :wire_transfer_surcharge_accounting_code
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
- attr_accessor :wire_transfer_surcharge_fee
43
+ # surcharge_fee
44
+ attr_accessor :surcharge_fee
36
45
 
37
- attr_accessor :wire_transfer_surcharge_perc
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' => :'acceptWireTransfer',
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
- :'wire_transfer_accounting_code' => :'wireTransferAccountingCode',
45
- :'wire_transfer_account_number' => :'wireTransferAccountNumber',
46
- :'wire_transfer_bank_address' => :'wireTransferBankAddress',
47
- :'wire_transfer_deposit_to_account' => :'wireTransferDepositToAccount',
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
- :'wire_transfer_accounting_code' => :'String',
62
- :'wire_transfer_account_number' => :'String',
63
- :'wire_transfer_bank_address' => :'String',
64
- :'wire_transfer_deposit_to_account' => :'String',
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?(:'acceptWireTransfer')
82
- self.accept_wire_transfer = attributes[:'acceptWireTransfer']
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?(:'restrictions')
86
- self.restrictions = attributes[:'restrictions']
95
+ if attributes.has_key?(:'account_number')
96
+ self.account_number = attributes[:'account_number']
87
97
  end
88
98
 
89
- if attributes.has_key?(:'wireTransferAccountingCode')
90
- self.wire_transfer_accounting_code = attributes[:'wireTransferAccountingCode']
99
+ if attributes.has_key?(:'accounting_code')
100
+ self.accounting_code = attributes[:'accounting_code']
91
101
  end
92
102
 
93
- if attributes.has_key?(:'wireTransferAccountNumber')
94
- self.wire_transfer_account_number = attributes[:'wireTransferAccountNumber']
103
+ if attributes.has_key?(:'bank_address')
104
+ self.bank_address = attributes[:'bank_address']
95
105
  end
96
106
 
97
- if attributes.has_key?(:'wireTransferBankAddress')
98
- self.wire_transfer_bank_address = attributes[:'wireTransferBankAddress']
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?(:'wireTransferDepositToAccount')
102
- self.wire_transfer_deposit_to_account = attributes[:'wireTransferDepositToAccount']
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?(:'wireTransferIntermediateRoutingNumber')
106
- self.wire_transfer_intermediate_routing_number = attributes[:'wireTransferIntermediateRoutingNumber']
115
+ if attributes.has_key?(:'restrictions')
116
+ self.restrictions = attributes[:'restrictions']
107
117
  end
108
118
 
109
- if attributes.has_key?(:'wireTransferRoutingNumber')
110
- self.wire_transfer_routing_number = attributes[:'wireTransferRoutingNumber']
119
+ if attributes.has_key?(:'routing_number')
120
+ self.routing_number = attributes[:'routing_number']
111
121
  end
112
122
 
113
- if attributes.has_key?(:'wireTransferSurchargeAccountingCode')
114
- self.wire_transfer_surcharge_accounting_code = attributes[:'wireTransferSurchargeAccountingCode']
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?(:'wireTransferSurchargeFee')
118
- self.wire_transfer_surcharge_fee = attributes[:'wireTransferSurchargeFee']
127
+ if attributes.has_key?(:'surcharge_fee')
128
+ self.surcharge_fee = attributes[:'surcharge_fee']
119
129
  end
120
130
 
121
- if attributes.has_key?(:'wireTransferSurchargePerc')
122
- self.wire_transfer_surcharge_perc = attributes[:'wireTransferSurchargePerc']
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
- wire_transfer_accounting_code == o.wire_transfer_accounting_code &&
147
- wire_transfer_account_number == o.wire_transfer_account_number &&
148
- wire_transfer_bank_address == o.wire_transfer_bank_address &&
149
- wire_transfer_deposit_to_account == o.wire_transfer_deposit_to_account &&
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, restrictions, wire_transfer_accounting_code, wire_transfer_account_number, wire_transfer_bank_address, wire_transfer_deposit_to_account, wire_transfer_intermediate_routing_number, wire_transfer_routing_number, wire_transfer_surcharge_accounting_code, wire_transfer_surcharge_fee, wire_transfer_surcharge_perc].hash
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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.4.8'
14
+ VERSION = '3.4.12'
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.8
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-04 00:00:00.000000000 Z
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