ultracart_api 3.4.7 → 3.4.11

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -4
  3. data/docs/PaymentsConfiguration.md +5 -3
  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 -17
  9. data/docs/PaymentsConfigurationCreditCard.md +11 -8
  10. data/docs/PaymentsConfigurationCreditCardType.md +17 -0
  11. data/docs/PaymentsConfigurationEcheck.md +11 -0
  12. data/docs/PaymentsConfigurationLoanHero.md +4 -4
  13. data/docs/PaymentsConfigurationMoneyOrder.md +11 -0
  14. data/docs/PaymentsConfigurationPayPal.md +28 -28
  15. data/docs/PaymentsConfigurationPurchaseOrder.md +3 -3
  16. data/docs/PaymentsConfigurationQuoteRequest.md +2 -2
  17. data/docs/PaymentsConfigurationRestrictions.md +14 -12
  18. data/docs/PaymentsConfigurationRestrictionsTheme.md +10 -0
  19. data/docs/PaymentsConfigurationSezzle.md +8 -7
  20. data/docs/PaymentsConfigurationTestMethod.md +18 -0
  21. data/docs/PaymentsConfigurationWePay.md +26 -26
  22. data/docs/PaymentsConfigurationWireTransfer.md +10 -10
  23. data/lib/ultracart_api.rb +5 -0
  24. data/lib/ultracart_api/models/payments_configuration.rb +50 -31
  25. data/lib/ultracart_api/models/payments_configuration_affirm.rb +81 -40
  26. data/lib/ultracart_api/models/payments_configuration_amazon.rb +51 -44
  27. data/lib/ultracart_api/models/payments_configuration_cash.rb +4 -3
  28. data/lib/ultracart_api/models/payments_configuration_check.rb +72 -103
  29. data/lib/ultracart_api/models/payments_configuration_cod.rb +39 -34
  30. data/lib/ultracart_api/models/payments_configuration_credit_card.rb +78 -34
  31. data/lib/ultracart_api/models/payments_configuration_credit_card_type.rb +309 -0
  32. data/lib/ultracart_api/models/payments_configuration_echeck.rb +214 -0
  33. data/lib/ultracart_api/models/payments_configuration_loan_hero.rb +23 -19
  34. data/lib/ultracart_api/models/payments_configuration_money_order.rb +214 -0
  35. data/lib/ultracart_api/models/payments_configuration_pay_pal.rb +270 -172
  36. data/lib/ultracart_api/models/payments_configuration_purchase_order.rb +19 -16
  37. data/lib/ultracart_api/models/payments_configuration_quote_request.rb +12 -10
  38. data/lib/ultracart_api/models/payments_configuration_restrictions.rb +75 -41
  39. data/lib/ultracart_api/models/payments_configuration_restrictions_theme.rb +202 -0
  40. data/lib/ultracart_api/models/payments_configuration_sezzle.rb +99 -46
  41. data/lib/ultracart_api/models/payments_configuration_test_method.rb +319 -0
  42. data/lib/ultracart_api/models/payments_configuration_we_pay.rb +186 -160
  43. data/lib/ultracart_api/models/payments_configuration_wire_transfer.rb +71 -61
  44. data/lib/ultracart_api/version.rb +1 -1
  45. metadata +12 -2
@@ -14,33 +14,40 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class PaymentsConfigurationAmazon
17
+ # Master flag to determine if this merchant accepts Pay by Amazon
17
18
  attr_accessor :accept_amazon
18
19
 
19
- attr_accessor :amazon_access_key_id
20
+ # Amazon access key ID
21
+ attr_accessor :access_key_id
20
22
 
21
- attr_accessor :amazon_accounting_code
22
-
23
- attr_accessor :amazon_deposit_to_account
23
+ # Optional accounting code for use with Quickbooks integrations
24
+ attr_accessor :accounting_code
24
25
 
26
+ # Amazon merchant ID
25
27
  attr_accessor :amazon_merchant_id
26
28
 
27
- attr_accessor :amazon_sandbox
28
-
29
- attr_accessor :amazon_secret_access_key
29
+ # Optional deposit to account field for use with Quickbooks integrations
30
+ attr_accessor :deposit_to_account
30
31
 
31
32
  attr_accessor :restrictions
32
33
 
34
+ # True if transactions should run against the Amazon sandbox. Useful for testing not configurations
35
+ attr_accessor :sandbox
36
+
37
+ # Amazon secret access key
38
+ attr_accessor :secret_access_key
39
+
33
40
  # Attribute mapping from ruby-style variable name to JSON key.
34
41
  def self.attribute_map
35
42
  {
36
- :'accept_amazon' => :'acceptAmazon',
37
- :'amazon_access_key_id' => :'amazonAccessKeyId',
38
- :'amazon_accounting_code' => :'amazonAccountingCode',
39
- :'amazon_deposit_to_account' => :'amazonDepositToAccount',
40
- :'amazon_merchant_id' => :'amazonMerchantId',
41
- :'amazon_sandbox' => :'amazonSandbox',
42
- :'amazon_secret_access_key' => :'amazonSecretAccessKey',
43
- :'restrictions' => :'restrictions'
43
+ :'accept_amazon' => :'accept_amazon',
44
+ :'access_key_id' => :'access_key_id',
45
+ :'accounting_code' => :'accounting_code',
46
+ :'amazon_merchant_id' => :'amazon_merchant_id',
47
+ :'deposit_to_account' => :'deposit_to_account',
48
+ :'restrictions' => :'restrictions',
49
+ :'sandbox' => :'sandbox',
50
+ :'secret_access_key' => :'secret_access_key'
44
51
  }
45
52
  end
46
53
 
@@ -48,13 +55,13 @@ module UltracartClient
48
55
  def self.swagger_types
49
56
  {
50
57
  :'accept_amazon' => :'BOOLEAN',
51
- :'amazon_access_key_id' => :'String',
52
- :'amazon_accounting_code' => :'String',
53
- :'amazon_deposit_to_account' => :'String',
58
+ :'access_key_id' => :'String',
59
+ :'accounting_code' => :'String',
54
60
  :'amazon_merchant_id' => :'String',
55
- :'amazon_sandbox' => :'BOOLEAN',
56
- :'amazon_secret_access_key' => :'String',
57
- :'restrictions' => :'PaymentsConfigurationRestrictions'
61
+ :'deposit_to_account' => :'String',
62
+ :'restrictions' => :'PaymentsConfigurationRestrictions',
63
+ :'sandbox' => :'BOOLEAN',
64
+ :'secret_access_key' => :'String'
58
65
  }
59
66
  end
60
67
 
@@ -66,36 +73,36 @@ module UltracartClient
66
73
  # convert string to symbol for hash key
67
74
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
68
75
 
69
- if attributes.has_key?(:'acceptAmazon')
70
- self.accept_amazon = attributes[:'acceptAmazon']
76
+ if attributes.has_key?(:'accept_amazon')
77
+ self.accept_amazon = attributes[:'accept_amazon']
71
78
  end
72
79
 
73
- if attributes.has_key?(:'amazonAccessKeyId')
74
- self.amazon_access_key_id = attributes[:'amazonAccessKeyId']
80
+ if attributes.has_key?(:'access_key_id')
81
+ self.access_key_id = attributes[:'access_key_id']
75
82
  end
76
83
 
77
- if attributes.has_key?(:'amazonAccountingCode')
78
- self.amazon_accounting_code = attributes[:'amazonAccountingCode']
84
+ if attributes.has_key?(:'accounting_code')
85
+ self.accounting_code = attributes[:'accounting_code']
79
86
  end
80
87
 
81
- if attributes.has_key?(:'amazonDepositToAccount')
82
- self.amazon_deposit_to_account = attributes[:'amazonDepositToAccount']
88
+ if attributes.has_key?(:'amazon_merchant_id')
89
+ self.amazon_merchant_id = attributes[:'amazon_merchant_id']
83
90
  end
84
91
 
85
- if attributes.has_key?(:'amazonMerchantId')
86
- self.amazon_merchant_id = attributes[:'amazonMerchantId']
92
+ if attributes.has_key?(:'deposit_to_account')
93
+ self.deposit_to_account = attributes[:'deposit_to_account']
87
94
  end
88
95
 
89
- if attributes.has_key?(:'amazonSandbox')
90
- self.amazon_sandbox = attributes[:'amazonSandbox']
96
+ if attributes.has_key?(:'restrictions')
97
+ self.restrictions = attributes[:'restrictions']
91
98
  end
92
99
 
93
- if attributes.has_key?(:'amazonSecretAccessKey')
94
- self.amazon_secret_access_key = attributes[:'amazonSecretAccessKey']
100
+ if attributes.has_key?(:'sandbox')
101
+ self.sandbox = attributes[:'sandbox']
95
102
  end
96
103
 
97
- if attributes.has_key?(:'restrictions')
98
- self.restrictions = attributes[:'restrictions']
104
+ if attributes.has_key?(:'secret_access_key')
105
+ self.secret_access_key = attributes[:'secret_access_key']
99
106
  end
100
107
  end
101
108
 
@@ -118,13 +125,13 @@ module UltracartClient
118
125
  return true if self.equal?(o)
119
126
  self.class == o.class &&
120
127
  accept_amazon == o.accept_amazon &&
121
- amazon_access_key_id == o.amazon_access_key_id &&
122
- amazon_accounting_code == o.amazon_accounting_code &&
123
- amazon_deposit_to_account == o.amazon_deposit_to_account &&
128
+ access_key_id == o.access_key_id &&
129
+ accounting_code == o.accounting_code &&
124
130
  amazon_merchant_id == o.amazon_merchant_id &&
125
- amazon_sandbox == o.amazon_sandbox &&
126
- amazon_secret_access_key == o.amazon_secret_access_key &&
127
- restrictions == o.restrictions
131
+ deposit_to_account == o.deposit_to_account &&
132
+ restrictions == o.restrictions &&
133
+ sandbox == o.sandbox &&
134
+ secret_access_key == o.secret_access_key
128
135
  end
129
136
 
130
137
  # @see the `==` method
@@ -136,7 +143,7 @@ module UltracartClient
136
143
  # Calculates hash code according to all attributes.
137
144
  # @return [Fixnum] Hash code
138
145
  def hash
139
- [accept_amazon, amazon_access_key_id, amazon_accounting_code, amazon_deposit_to_account, amazon_merchant_id, amazon_sandbox, amazon_secret_access_key, restrictions].hash
146
+ [accept_amazon, access_key_id, accounting_code, amazon_merchant_id, deposit_to_account, restrictions, sandbox, secret_access_key].hash
140
147
  end
141
148
 
142
149
  # Builds the object from hash
@@ -14,6 +14,7 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class PaymentsConfigurationCash
17
+ # Master flag indicating this merchant accepts cash
17
18
  attr_accessor :accept_cash
18
19
 
19
20
  attr_accessor :restrictions
@@ -21,7 +22,7 @@ module UltracartClient
21
22
  # Attribute mapping from ruby-style variable name to JSON key.
22
23
  def self.attribute_map
23
24
  {
24
- :'accept_cash' => :'acceptCash',
25
+ :'accept_cash' => :'accept_cash',
25
26
  :'restrictions' => :'restrictions'
26
27
  }
27
28
  end
@@ -42,8 +43,8 @@ module UltracartClient
42
43
  # convert string to symbol for hash key
43
44
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
44
45
 
45
- if attributes.has_key?(:'acceptCash')
46
- self.accept_cash = attributes[:'acceptCash']
46
+ if attributes.has_key?(:'accept_cash')
47
+ self.accept_cash = attributes[:'accept_cash']
47
48
  end
48
49
 
49
50
  if attributes.has_key?(:'restrictions')
@@ -14,63 +14,60 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class PaymentsConfigurationCheck
17
+ # Master flag indicating this merchant accepts paper checks
17
18
  attr_accessor :accept_check_orders
18
19
 
19
- attr_accessor :accept_e_check
20
-
21
- attr_accessor :accept_money_orders
22
-
23
- attr_accessor :check_accounting_code
24
-
25
- attr_accessor :check_deposit_to_account
20
+ # Optional Quickbooks accounting code
21
+ attr_accessor :accounting_code
26
22
 
23
+ # This is who the customer makes the check out to
27
24
  attr_accessor :checks_payable_to
28
25
 
29
- attr_accessor :e_check_accounting_code
30
-
31
- attr_accessor :e_check_deposit_to_account
26
+ # Optional Quickbooks deposit to account
27
+ attr_accessor :deposit_to_account
32
28
 
29
+ # MailTo address line 1
33
30
  attr_accessor :mail_to_address1
34
31
 
32
+ # MailTo address line 2
35
33
  attr_accessor :mail_to_address2
36
34
 
35
+ # MailTo city
37
36
  attr_accessor :mail_to_city
38
37
 
38
+ # MailTo country
39
39
  attr_accessor :mail_to_country
40
40
 
41
+ # MailTo name
41
42
  attr_accessor :mail_to_name
42
43
 
43
- attr_accessor :mail_to_state
44
-
45
- attr_accessor :mail_to_zip
46
-
47
- attr_accessor :money_order_accounting_code
44
+ # MailTo postal code
45
+ attr_accessor :mail_to_postal_code
48
46
 
49
- attr_accessor :money_order_deposit_to_account
47
+ # MailTo store
48
+ attr_accessor :mail_to_store
50
49
 
51
50
  attr_accessor :restrictions
52
51
 
52
+ # Test methods for this payment method
53
+ attr_accessor :test_methods
54
+
53
55
  # Attribute mapping from ruby-style variable name to JSON key.
54
56
  def self.attribute_map
55
57
  {
56
- :'accept_check_orders' => :'acceptCheckOrders',
57
- :'accept_e_check' => :'acceptECheck',
58
- :'accept_money_orders' => :'acceptMoneyOrders',
59
- :'check_accounting_code' => :'checkAccountingCode',
60
- :'check_deposit_to_account' => :'checkDepositToAccount',
61
- :'checks_payable_to' => :'checksPayableTo',
62
- :'e_check_accounting_code' => :'eCheckAccountingCode',
63
- :'e_check_deposit_to_account' => :'eCheckDepositToAccount',
64
- :'mail_to_address1' => :'mailToAddress1',
65
- :'mail_to_address2' => :'mailToAddress2',
66
- :'mail_to_city' => :'mailToCity',
67
- :'mail_to_country' => :'mailToCountry',
68
- :'mail_to_name' => :'mailToName',
69
- :'mail_to_state' => :'mailToState',
70
- :'mail_to_zip' => :'mailToZip',
71
- :'money_order_accounting_code' => :'moneyOrderAccountingCode',
72
- :'money_order_deposit_to_account' => :'moneyOrderDepositToAccount',
73
- :'restrictions' => :'restrictions'
58
+ :'accept_check_orders' => :'accept_check_orders',
59
+ :'accounting_code' => :'accounting_code',
60
+ :'checks_payable_to' => :'checks_payable_to',
61
+ :'deposit_to_account' => :'deposit_to_account',
62
+ :'mail_to_address1' => :'mail_to_address1',
63
+ :'mail_to_address2' => :'mail_to_address2',
64
+ :'mail_to_city' => :'mail_to_city',
65
+ :'mail_to_country' => :'mail_to_country',
66
+ :'mail_to_name' => :'mail_to_name',
67
+ :'mail_to_postal_code' => :'mail_to_postal_code',
68
+ :'mail_to_store' => :'mail_to_store',
69
+ :'restrictions' => :'restrictions',
70
+ :'test_methods' => :'test_methods'
74
71
  }
75
72
  end
76
73
 
@@ -78,23 +75,18 @@ module UltracartClient
78
75
  def self.swagger_types
79
76
  {
80
77
  :'accept_check_orders' => :'BOOLEAN',
81
- :'accept_e_check' => :'BOOLEAN',
82
- :'accept_money_orders' => :'BOOLEAN',
83
- :'check_accounting_code' => :'String',
84
- :'check_deposit_to_account' => :'String',
78
+ :'accounting_code' => :'String',
85
79
  :'checks_payable_to' => :'String',
86
- :'e_check_accounting_code' => :'String',
87
- :'e_check_deposit_to_account' => :'String',
80
+ :'deposit_to_account' => :'String',
88
81
  :'mail_to_address1' => :'String',
89
82
  :'mail_to_address2' => :'String',
90
83
  :'mail_to_city' => :'String',
91
84
  :'mail_to_country' => :'String',
92
85
  :'mail_to_name' => :'String',
93
- :'mail_to_state' => :'String',
94
- :'mail_to_zip' => :'String',
95
- :'money_order_accounting_code' => :'String',
96
- :'money_order_deposit_to_account' => :'String',
97
- :'restrictions' => :'PaymentsConfigurationRestrictions'
86
+ :'mail_to_postal_code' => :'String',
87
+ :'mail_to_store' => :'String',
88
+ :'restrictions' => :'PaymentsConfigurationRestrictions',
89
+ :'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
98
90
  }
99
91
  end
100
92
 
@@ -106,77 +98,59 @@ module UltracartClient
106
98
  # convert string to symbol for hash key
107
99
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
108
100
 
109
- if attributes.has_key?(:'acceptCheckOrders')
110
- self.accept_check_orders = attributes[:'acceptCheckOrders']
111
- end
112
-
113
- if attributes.has_key?(:'acceptECheck')
114
- self.accept_e_check = attributes[:'acceptECheck']
115
- end
116
-
117
- if attributes.has_key?(:'acceptMoneyOrders')
118
- self.accept_money_orders = attributes[:'acceptMoneyOrders']
101
+ if attributes.has_key?(:'accept_check_orders')
102
+ self.accept_check_orders = attributes[:'accept_check_orders']
119
103
  end
120
104
 
121
- if attributes.has_key?(:'checkAccountingCode')
122
- self.check_accounting_code = attributes[:'checkAccountingCode']
105
+ if attributes.has_key?(:'accounting_code')
106
+ self.accounting_code = attributes[:'accounting_code']
123
107
  end
124
108
 
125
- if attributes.has_key?(:'checkDepositToAccount')
126
- self.check_deposit_to_account = attributes[:'checkDepositToAccount']
109
+ if attributes.has_key?(:'checks_payable_to')
110
+ self.checks_payable_to = attributes[:'checks_payable_to']
127
111
  end
128
112
 
129
- if attributes.has_key?(:'checksPayableTo')
130
- self.checks_payable_to = attributes[:'checksPayableTo']
113
+ if attributes.has_key?(:'deposit_to_account')
114
+ self.deposit_to_account = attributes[:'deposit_to_account']
131
115
  end
132
116
 
133
- if attributes.has_key?(:'eCheckAccountingCode')
134
- self.e_check_accounting_code = attributes[:'eCheckAccountingCode']
117
+ if attributes.has_key?(:'mail_to_address1')
118
+ self.mail_to_address1 = attributes[:'mail_to_address1']
135
119
  end
136
120
 
137
- if attributes.has_key?(:'eCheckDepositToAccount')
138
- self.e_check_deposit_to_account = attributes[:'eCheckDepositToAccount']
121
+ if attributes.has_key?(:'mail_to_address2')
122
+ self.mail_to_address2 = attributes[:'mail_to_address2']
139
123
  end
140
124
 
141
- if attributes.has_key?(:'mailToAddress1')
142
- self.mail_to_address1 = attributes[:'mailToAddress1']
125
+ if attributes.has_key?(:'mail_to_city')
126
+ self.mail_to_city = attributes[:'mail_to_city']
143
127
  end
144
128
 
145
- if attributes.has_key?(:'mailToAddress2')
146
- self.mail_to_address2 = attributes[:'mailToAddress2']
129
+ if attributes.has_key?(:'mail_to_country')
130
+ self.mail_to_country = attributes[:'mail_to_country']
147
131
  end
148
132
 
149
- if attributes.has_key?(:'mailToCity')
150
- self.mail_to_city = attributes[:'mailToCity']
133
+ if attributes.has_key?(:'mail_to_name')
134
+ self.mail_to_name = attributes[:'mail_to_name']
151
135
  end
152
136
 
153
- if attributes.has_key?(:'mailToCountry')
154
- self.mail_to_country = attributes[:'mailToCountry']
137
+ if attributes.has_key?(:'mail_to_postal_code')
138
+ self.mail_to_postal_code = attributes[:'mail_to_postal_code']
155
139
  end
156
140
 
157
- if attributes.has_key?(:'mailToName')
158
- self.mail_to_name = attributes[:'mailToName']
159
- end
160
-
161
- if attributes.has_key?(:'mailToState')
162
- self.mail_to_state = attributes[:'mailToState']
163
- end
164
-
165
- if attributes.has_key?(:'mailToZip')
166
- self.mail_to_zip = attributes[:'mailToZip']
167
- end
168
-
169
- if attributes.has_key?(:'moneyOrderAccountingCode')
170
- self.money_order_accounting_code = attributes[:'moneyOrderAccountingCode']
171
- end
172
-
173
- if attributes.has_key?(:'moneyOrderDepositToAccount')
174
- self.money_order_deposit_to_account = attributes[:'moneyOrderDepositToAccount']
141
+ if attributes.has_key?(:'mail_to_store')
142
+ self.mail_to_store = attributes[:'mail_to_store']
175
143
  end
176
144
 
177
145
  if attributes.has_key?(:'restrictions')
178
146
  self.restrictions = attributes[:'restrictions']
179
147
  end
148
+
149
+ if attributes.has_key?(:'test_methods')
150
+ if (value = attributes[:'test_methods']).is_a?(Array)
151
+ self.test_methods = value
152
+ end
153
+ end
180
154
  end
181
155
 
182
156
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -198,23 +172,18 @@ module UltracartClient
198
172
  return true if self.equal?(o)
199
173
  self.class == o.class &&
200
174
  accept_check_orders == o.accept_check_orders &&
201
- accept_e_check == o.accept_e_check &&
202
- accept_money_orders == o.accept_money_orders &&
203
- check_accounting_code == o.check_accounting_code &&
204
- check_deposit_to_account == o.check_deposit_to_account &&
175
+ accounting_code == o.accounting_code &&
205
176
  checks_payable_to == o.checks_payable_to &&
206
- e_check_accounting_code == o.e_check_accounting_code &&
207
- e_check_deposit_to_account == o.e_check_deposit_to_account &&
177
+ deposit_to_account == o.deposit_to_account &&
208
178
  mail_to_address1 == o.mail_to_address1 &&
209
179
  mail_to_address2 == o.mail_to_address2 &&
210
180
  mail_to_city == o.mail_to_city &&
211
181
  mail_to_country == o.mail_to_country &&
212
182
  mail_to_name == o.mail_to_name &&
213
- mail_to_state == o.mail_to_state &&
214
- mail_to_zip == o.mail_to_zip &&
215
- money_order_accounting_code == o.money_order_accounting_code &&
216
- money_order_deposit_to_account == o.money_order_deposit_to_account &&
217
- restrictions == o.restrictions
183
+ mail_to_postal_code == o.mail_to_postal_code &&
184
+ mail_to_store == o.mail_to_store &&
185
+ restrictions == o.restrictions &&
186
+ test_methods == o.test_methods
218
187
  end
219
188
 
220
189
  # @see the `==` method
@@ -226,7 +195,7 @@ module UltracartClient
226
195
  # Calculates hash code according to all attributes.
227
196
  # @return [Fixnum] Hash code
228
197
  def hash
229
- [accept_check_orders, accept_e_check, accept_money_orders, check_accounting_code, check_deposit_to_account, checks_payable_to, e_check_accounting_code, e_check_deposit_to_account, mail_to_address1, mail_to_address2, mail_to_city, mail_to_country, mail_to_name, mail_to_state, mail_to_zip, money_order_accounting_code, money_order_deposit_to_account, restrictions].hash
198
+ [accept_check_orders, accounting_code, checks_payable_to, deposit_to_account, mail_to_address1, mail_to_address2, mail_to_city, mail_to_country, mail_to_name, mail_to_postal_code, mail_to_store, restrictions, test_methods].hash
230
199
  end
231
200
 
232
201
  # Builds the object from hash