ultracart_api 3.5.2 → 3.5.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b6857c15baad34b698457d6431038f60544cfe4be78fd613e10bf74533d5c38
|
4
|
+
data.tar.gz: f2958544eaba078ead5d189afa5ea71936764bc3331f33289bb95825abbe67c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c6a9166172316b29477aad32025142222063b9adf8f3c99fc326b6322b99d4611fe3420fc99bc28dcc9d9f021e9c7ca31fa6a3417a6adc7bdc3e6da7a8ea62
|
7
|
+
data.tar.gz: 03b9da4648e5ed9de2a9b5e50b1513cc6d6d2500f3295836c24d5de602e9b8d350c189ba274d3689289744640ae372f5eb43ae3dd32ab0a4d1d5ee04c332e7ce
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
7
7
|
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 3.5.
|
10
|
+
- Package version: 3.5.3
|
11
11
|
- Build package: io.swagger.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
13
13
|
|
@@ -24,15 +24,15 @@ gem build ultracart_api.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./ultracart_api-3.5.
|
27
|
+
gem install ./ultracart_api-3.5.3.gem
|
28
28
|
```
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.5.
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.5.3.gem` to install the development dependencies)
|
30
30
|
|
31
31
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
32
32
|
|
33
33
|
Finally add this to the Gemfile:
|
34
34
|
|
35
|
-
gem 'ultracart_api', '~> 3.5.
|
35
|
+
gem 'ultracart_api', '~> 3.5.3'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1116,6 +1116,7 @@ Not every change is committed to every SDK.
|
|
1116
1116
|
|
1117
1117
|
| Version | Date | Comments |
|
1118
1118
|
| --: | :-: | --- |
|
1119
|
+
| 3.5.3 | 08/18/2021 | configuration api - added credit card rate to UltraCart Payments object |
|
1119
1120
|
| 3.5.1 | 08/11/2021 | email webhook test method |
|
1120
1121
|
| 3.5.0 | 08/11/2021 | RestOrderChannelPartner.store_completed was incorrectly defaulting to true |
|
1121
1122
|
| 3.4.13 | 08/10/2021 | configuration api - changed some field types form string to number |
|
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**company_description** | **String** | Company description | [optional]
|
14
14
|
**console_hostname** | **String** | Console hostname | [optional]
|
15
15
|
**country** | **String** | Country | [optional]
|
16
|
+
**credit_card_rate** | **String** | WePay credit card rate | [optional]
|
16
17
|
**currency** | **String** | Base currency for transactions | [optional]
|
17
18
|
**expected_revenue** | **String** | Expected Revenue | [optional]
|
18
19
|
**hide_credit_card_non_ultracart_payments** | **BOOLEAN** | Internal flag to aid UI | [optional]
|
@@ -44,6 +44,9 @@ module UltracartClient
|
|
44
44
|
# Country
|
45
45
|
attr_accessor :country
|
46
46
|
|
47
|
+
# WePay credit card rate
|
48
|
+
attr_accessor :credit_card_rate
|
49
|
+
|
47
50
|
# Base currency for transactions
|
48
51
|
attr_accessor :currency
|
49
52
|
|
@@ -109,6 +112,7 @@ module UltracartClient
|
|
109
112
|
:'company_description' => :'company_description',
|
110
113
|
:'console_hostname' => :'console_hostname',
|
111
114
|
:'country' => :'country',
|
115
|
+
:'credit_card_rate' => :'credit_card_rate',
|
112
116
|
:'currency' => :'currency',
|
113
117
|
:'expected_revenue' => :'expected_revenue',
|
114
118
|
:'hide_credit_card_non_ultracart_payments' => :'hide_credit_card_non_ultracart_payments',
|
@@ -143,6 +147,7 @@ module UltracartClient
|
|
143
147
|
:'company_description' => :'String',
|
144
148
|
:'console_hostname' => :'String',
|
145
149
|
:'country' => :'String',
|
150
|
+
:'credit_card_rate' => :'String',
|
146
151
|
:'currency' => :'String',
|
147
152
|
:'expected_revenue' => :'String',
|
148
153
|
:'hide_credit_card_non_ultracart_payments' => :'BOOLEAN',
|
@@ -212,6 +217,10 @@ module UltracartClient
|
|
212
217
|
self.country = attributes[:'country']
|
213
218
|
end
|
214
219
|
|
220
|
+
if attributes.has_key?(:'credit_card_rate')
|
221
|
+
self.credit_card_rate = attributes[:'credit_card_rate']
|
222
|
+
end
|
223
|
+
|
215
224
|
if attributes.has_key?(:'currency')
|
216
225
|
self.currency = attributes[:'currency']
|
217
226
|
end
|
@@ -313,6 +322,7 @@ module UltracartClient
|
|
313
322
|
company_description == o.company_description &&
|
314
323
|
console_hostname == o.console_hostname &&
|
315
324
|
country == o.country &&
|
325
|
+
credit_card_rate == o.credit_card_rate &&
|
316
326
|
currency == o.currency &&
|
317
327
|
expected_revenue == o.expected_revenue &&
|
318
328
|
hide_credit_card_non_ultracart_payments == o.hide_credit_card_non_ultracart_payments &&
|
@@ -342,7 +352,7 @@ module UltracartClient
|
|
342
352
|
# Calculates hash code according to all attributes.
|
343
353
|
# @return [Fixnum] Hash code
|
344
354
|
def hash
|
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
|
355
|
+
[accept_wepay, account_update_uri, address1, address2, canada_accept_debit_cards, city, company, company_description, console_hostname, country, credit_card_rate, 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
|
346
356
|
end
|
347
357
|
|
348
358
|
# 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.5.
|
4
|
+
version: 3.5.3
|
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-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|