ultracart_api 3.4.8 → 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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/PaymentsConfiguration.md +4 -4
  4. data/docs/PaymentsConfigurationAffirm.md +7 -7
  5. data/docs/PaymentsConfigurationAmazon.md +7 -7
  6. data/docs/PaymentsConfigurationCOD.md +5 -5
  7. data/docs/PaymentsConfigurationCash.md +1 -1
  8. data/docs/PaymentsConfigurationCheck.md +12 -13
  9. data/docs/PaymentsConfigurationCreditCard.md +11 -8
  10. data/docs/PaymentsConfigurationEcheck.md +3 -3
  11. data/docs/PaymentsConfigurationLoanHero.md +4 -4
  12. data/docs/PaymentsConfigurationMoneyOrder.md +3 -1
  13. data/docs/PaymentsConfigurationPayPal.md +28 -28
  14. data/docs/PaymentsConfigurationPurchaseOrder.md +3 -3
  15. data/docs/PaymentsConfigurationQuoteRequest.md +2 -2
  16. data/docs/PaymentsConfigurationRestrictions.md +12 -12
  17. data/docs/PaymentsConfigurationSezzle.md +8 -7
  18. data/docs/PaymentsConfigurationWePay.md +26 -26
  19. data/docs/PaymentsConfigurationWireTransfer.md +10 -10
  20. data/lib/ultracart_api/models/payments_configuration.rb +41 -40
  21. data/lib/ultracart_api/models/payments_configuration_affirm.rb +81 -40
  22. data/lib/ultracart_api/models/payments_configuration_amazon.rb +51 -44
  23. data/lib/ultracart_api/models/payments_configuration_cash.rb +4 -3
  24. data/lib/ultracart_api/models/payments_configuration_check.rb +71 -68
  25. data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
  26. data/lib/ultracart_api/models/payments_configuration_credit_card.rb +71 -33
  27. data/lib/ultracart_api/models/payments_configuration_echeck.rb +22 -19
  28. data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +23 -19
  29. data/lib/ultracart_api/models/payments_configuration_money_order.rb +25 -4
  30. data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +270 -172
  31. data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +19 -16
  32. data/lib/ultracart_api/models/payments_configuration_quote_request.rb +12 -10
  33. data/lib/ultracart_api/models/payments_configuration_restrictions.rb +48 -36
  34. data/lib/ultracart_api/models/payments_configuration_sezzle.rb +97 -46
  35. data/lib/ultracart_api/models/payments_configuration_we_pay.rb +186 -160
  36. data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +71 -61
  37. data/lib/ultracart_api/version.rb +1 -1
  38. metadata +2 -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.9'
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.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-04 00:00:00.000000000 Z
11
+ date: 2021-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus