ultracart_api 3.6.13 → 3.6.17
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 +7 -4
- data/docs/ItemContent.md +1 -0
- data/docs/OrderPaymentCreditCard.md +1 -1
- data/docs/OrderPaymentInsurance.md +1 -0
- data/docs/PaymentsConfigurationCheck.md +0 -1
- data/docs/PaymentsConfigurationEcheck.md +1 -0
- data/lib/ultracart_api/models/item_content.rb +11 -1
- data/lib/ultracart_api/models/order_payment_credit_card.rb +1 -1
- data/lib/ultracart_api/models/order_payment_insurance.rb +14 -4
- data/lib/ultracart_api/models/payments_configuration_check.rb +4 -16
- data/lib/ultracart_api/models/payments_configuration_echeck.rb +16 -4
- data/lib/ultracart_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a50eb9cbdfcd73fce3e9d38d6b5a6d2d720884141b05933c019c344b4c458952
|
|
4
|
+
data.tar.gz: 59f4e274e6512d8d2eccc05e731864d4c33caa7a5f33185bbebb18f98c5d8f43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa6a14a68fd9102c8dd8dc75e9644466e0664dffffcd873c5a1ff164d77548b654d7c7cbd1155f9b90aa126c68c14a2f72c5132cd5f780f6355bdf108f91073a
|
|
7
|
+
data.tar.gz: 27a60bce35f24dbb988246b2ac34746386241792e3b2ca01d27f6bb1701ff23ef0fc78e58f7c9c0f06e2c49dc3540e52c40a1c527eeba4cf22aaa5379cd27055
|
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.6.
|
|
10
|
+
- Package version: 3.6.17
|
|
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.6.
|
|
27
|
+
gem install ./ultracart_api-3.6.17.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.6.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.6.17.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.6.
|
|
35
|
+
gem 'ultracart_api', '~> 3.6.17'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1118,6 +1118,9 @@ Not every change is committed to every SDK.
|
|
|
1118
1118
|
|
|
1119
1119
|
| Version | Date | Comments |
|
|
1120
1120
|
| --: | :-: | --- |
|
|
1121
|
+
| 3.6.16 | 09/30/2021 | item exclude from sitemap field |
|
|
1122
|
+
| 3.6.15 | 09/28/2021 | added refund_claim_id to insurance object |
|
|
1123
|
+
| 3.6.14 | 09/21/2021 | configuration api fix. the echeck test methods were attached to the paper check object |
|
|
1121
1124
|
| 3.6.13 | 09/20/2021 | expose EasyPost tracker id if available on shipment tracking details |
|
|
1122
1125
|
| 3.6.12 | 09/20/2021 | fix method for getCouponsByQuery to be POST instead of GET since it uses a JSON body |
|
|
1123
1126
|
| 3.6.11 | 09/13/2021 | fix for CouponApi, broke due to inadvertent parameter inclusion |
|
data/docs/ItemContent.md
CHANGED
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**attributes** | [**Array<ItemContentAttribute>**](ItemContentAttribute.md) | StoreFront attributes | [optional]
|
|
8
8
|
**custom_thank_you_url** | **String** | Custom Thank You URL | [optional]
|
|
9
9
|
**exclude_from_search** | **BOOLEAN** | Exclude from search | [optional]
|
|
10
|
+
**exclude_from_sitemap** | **BOOLEAN** | Exclude from the sitemap for the StoreFront | [optional]
|
|
10
11
|
**exclude_from_top_sellers** | **BOOLEAN** | Exclude from the top sellers list in the StoreFront | [optional]
|
|
11
12
|
**extended_description** | **String** | Extended description (max 10000 characters) | [optional]
|
|
12
13
|
**extended_description_translated_text_instance_oid** | **Integer** | Extneded description text translation instance identifier | [optional]
|
|
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**card_expiration_month** | **Integer** | Card expiration month (1-12) | [optional]
|
|
11
11
|
**card_expiration_year** | **Integer** | Card expiration year (Four digit year) | [optional]
|
|
12
12
|
**card_number** | **String** | Card number (masked to last 4) | [optional]
|
|
13
|
-
**card_number_token** | **String** | Card number token from hosted fields used to update the
|
|
13
|
+
**card_number_token** | **String** | Card number token from hosted fields used to update the card number | [optional]
|
|
14
14
|
**card_number_truncated** | **BOOLEAN** | True if the card has been truncated | [optional]
|
|
15
15
|
**card_type** | **String** | Card type | [optional]
|
|
16
16
|
**card_verification_number_token** | **String** | Card verification number token from hosted fields, only for import/insert of new orders, completely ignored for updates, and always null/empty for queries | [optional]
|
|
@@ -5,5 +5,6 @@ Name | Type | Description | Notes
|
|
|
5
5
|
------------ | ------------- | ------------- | -------------
|
|
6
6
|
**application_id** | **String** | application id | [optional]
|
|
7
7
|
**claim_id** | **String** | claim id | [optional]
|
|
8
|
+
**refund_claim_id** | **String** | refund claim id | [optional]
|
|
8
9
|
|
|
9
10
|
|
|
@@ -15,6 +15,5 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**mail_to_postal_code** | **String** | MailTo postal code | [optional]
|
|
16
16
|
**mail_to_store** | **String** | MailTo store | [optional]
|
|
17
17
|
**restrictions** | [**PaymentsConfigurationRestrictions**](PaymentsConfigurationRestrictions.md) | | [optional]
|
|
18
|
-
**test_methods** | [**Array<PaymentsConfigurationTestMethod>**](PaymentsConfigurationTestMethod.md) | Test methods for this payment method | [optional]
|
|
19
18
|
|
|
20
19
|
|
|
@@ -7,5 +7,6 @@ Name | Type | Description | Notes
|
|
|
7
7
|
**accounting_code** | **String** | Optional Quickbooks accounting code | [optional]
|
|
8
8
|
**deposit_to_account** | **String** | Optional Quickbooks deposit to account | [optional]
|
|
9
9
|
**restrictions** | [**PaymentsConfigurationRestrictions**](PaymentsConfigurationRestrictions.md) | | [optional]
|
|
10
|
+
**test_methods** | [**Array<PaymentsConfigurationTestMethod>**](PaymentsConfigurationTestMethod.md) | Test methods for this payment method | [optional]
|
|
10
11
|
|
|
11
12
|
|
|
@@ -26,6 +26,9 @@ module UltracartClient
|
|
|
26
26
|
# Exclude from search
|
|
27
27
|
attr_accessor :exclude_from_search
|
|
28
28
|
|
|
29
|
+
# Exclude from the sitemap for the StoreFront
|
|
30
|
+
attr_accessor :exclude_from_sitemap
|
|
31
|
+
|
|
29
32
|
# Exclude from the top sellers list in the StoreFront
|
|
30
33
|
attr_accessor :exclude_from_top_sellers
|
|
31
34
|
|
|
@@ -57,6 +60,7 @@ module UltracartClient
|
|
|
57
60
|
:'attributes' => :'attributes',
|
|
58
61
|
:'custom_thank_you_url' => :'custom_thank_you_url',
|
|
59
62
|
:'exclude_from_search' => :'exclude_from_search',
|
|
63
|
+
:'exclude_from_sitemap' => :'exclude_from_sitemap',
|
|
60
64
|
:'exclude_from_top_sellers' => :'exclude_from_top_sellers',
|
|
61
65
|
:'extended_description' => :'extended_description',
|
|
62
66
|
:'extended_description_translated_text_instance_oid' => :'extended_description_translated_text_instance_oid',
|
|
@@ -75,6 +79,7 @@ module UltracartClient
|
|
|
75
79
|
:'attributes' => :'Array<ItemContentAttribute>',
|
|
76
80
|
:'custom_thank_you_url' => :'String',
|
|
77
81
|
:'exclude_from_search' => :'BOOLEAN',
|
|
82
|
+
:'exclude_from_sitemap' => :'BOOLEAN',
|
|
78
83
|
:'exclude_from_top_sellers' => :'BOOLEAN',
|
|
79
84
|
:'extended_description' => :'String',
|
|
80
85
|
:'extended_description_translated_text_instance_oid' => :'Integer',
|
|
@@ -114,6 +119,10 @@ module UltracartClient
|
|
|
114
119
|
self.exclude_from_search = attributes[:'exclude_from_search']
|
|
115
120
|
end
|
|
116
121
|
|
|
122
|
+
if attributes.has_key?(:'exclude_from_sitemap')
|
|
123
|
+
self.exclude_from_sitemap = attributes[:'exclude_from_sitemap']
|
|
124
|
+
end
|
|
125
|
+
|
|
117
126
|
if attributes.has_key?(:'exclude_from_top_sellers')
|
|
118
127
|
self.exclude_from_top_sellers = attributes[:'exclude_from_top_sellers']
|
|
119
128
|
end
|
|
@@ -186,6 +195,7 @@ module UltracartClient
|
|
|
186
195
|
attributes == o.attributes &&
|
|
187
196
|
custom_thank_you_url == o.custom_thank_you_url &&
|
|
188
197
|
exclude_from_search == o.exclude_from_search &&
|
|
198
|
+
exclude_from_sitemap == o.exclude_from_sitemap &&
|
|
189
199
|
exclude_from_top_sellers == o.exclude_from_top_sellers &&
|
|
190
200
|
extended_description == o.extended_description &&
|
|
191
201
|
extended_description_translated_text_instance_oid == o.extended_description_translated_text_instance_oid &&
|
|
@@ -205,7 +215,7 @@ module UltracartClient
|
|
|
205
215
|
# Calculates hash code according to all attributes.
|
|
206
216
|
# @return [Fixnum] Hash code
|
|
207
217
|
def hash
|
|
208
|
-
[assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, multimedia, new_item, new_item_end, new_item_start, view_url].hash
|
|
218
|
+
[assignments, attributes, custom_thank_you_url, exclude_from_search, exclude_from_sitemap, exclude_from_top_sellers, extended_description, extended_description_translated_text_instance_oid, multimedia, new_item, new_item_end, new_item_start, view_url].hash
|
|
209
219
|
end
|
|
210
220
|
|
|
211
221
|
# Builds the object from hash
|
|
@@ -35,7 +35,7 @@ module UltracartClient
|
|
|
35
35
|
# Card number (masked to last 4)
|
|
36
36
|
attr_accessor :card_number
|
|
37
37
|
|
|
38
|
-
# Card number token from hosted fields used to update the
|
|
38
|
+
# Card number token from hosted fields used to update the card number
|
|
39
39
|
attr_accessor :card_number_token
|
|
40
40
|
|
|
41
41
|
# True if the card has been truncated
|
|
@@ -20,11 +20,15 @@ module UltracartClient
|
|
|
20
20
|
# claim id
|
|
21
21
|
attr_accessor :claim_id
|
|
22
22
|
|
|
23
|
+
# refund claim id
|
|
24
|
+
attr_accessor :refund_claim_id
|
|
25
|
+
|
|
23
26
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
24
27
|
def self.attribute_map
|
|
25
28
|
{
|
|
26
29
|
:'application_id' => :'application_id',
|
|
27
|
-
:'claim_id' => :'claim_id'
|
|
30
|
+
:'claim_id' => :'claim_id',
|
|
31
|
+
:'refund_claim_id' => :'refund_claim_id'
|
|
28
32
|
}
|
|
29
33
|
end
|
|
30
34
|
|
|
@@ -32,7 +36,8 @@ module UltracartClient
|
|
|
32
36
|
def self.swagger_types
|
|
33
37
|
{
|
|
34
38
|
:'application_id' => :'String',
|
|
35
|
-
:'claim_id' => :'String'
|
|
39
|
+
:'claim_id' => :'String',
|
|
40
|
+
:'refund_claim_id' => :'String'
|
|
36
41
|
}
|
|
37
42
|
end
|
|
38
43
|
|
|
@@ -51,6 +56,10 @@ module UltracartClient
|
|
|
51
56
|
if attributes.has_key?(:'claim_id')
|
|
52
57
|
self.claim_id = attributes[:'claim_id']
|
|
53
58
|
end
|
|
59
|
+
|
|
60
|
+
if attributes.has_key?(:'refund_claim_id')
|
|
61
|
+
self.refund_claim_id = attributes[:'refund_claim_id']
|
|
62
|
+
end
|
|
54
63
|
end
|
|
55
64
|
|
|
56
65
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -72,7 +81,8 @@ module UltracartClient
|
|
|
72
81
|
return true if self.equal?(o)
|
|
73
82
|
self.class == o.class &&
|
|
74
83
|
application_id == o.application_id &&
|
|
75
|
-
claim_id == o.claim_id
|
|
84
|
+
claim_id == o.claim_id &&
|
|
85
|
+
refund_claim_id == o.refund_claim_id
|
|
76
86
|
end
|
|
77
87
|
|
|
78
88
|
# @see the `==` method
|
|
@@ -84,7 +94,7 @@ module UltracartClient
|
|
|
84
94
|
# Calculates hash code according to all attributes.
|
|
85
95
|
# @return [Fixnum] Hash code
|
|
86
96
|
def hash
|
|
87
|
-
[application_id, claim_id].hash
|
|
97
|
+
[application_id, claim_id, refund_claim_id].hash
|
|
88
98
|
end
|
|
89
99
|
|
|
90
100
|
# Builds the object from hash
|
|
@@ -49,9 +49,6 @@ module UltracartClient
|
|
|
49
49
|
|
|
50
50
|
attr_accessor :restrictions
|
|
51
51
|
|
|
52
|
-
# Test methods for this payment method
|
|
53
|
-
attr_accessor :test_methods
|
|
54
|
-
|
|
55
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
53
|
def self.attribute_map
|
|
57
54
|
{
|
|
@@ -66,8 +63,7 @@ module UltracartClient
|
|
|
66
63
|
:'mail_to_name' => :'mail_to_name',
|
|
67
64
|
:'mail_to_postal_code' => :'mail_to_postal_code',
|
|
68
65
|
:'mail_to_store' => :'mail_to_store',
|
|
69
|
-
:'restrictions' => :'restrictions'
|
|
70
|
-
:'test_methods' => :'test_methods'
|
|
66
|
+
:'restrictions' => :'restrictions'
|
|
71
67
|
}
|
|
72
68
|
end
|
|
73
69
|
|
|
@@ -85,8 +81,7 @@ module UltracartClient
|
|
|
85
81
|
:'mail_to_name' => :'String',
|
|
86
82
|
:'mail_to_postal_code' => :'String',
|
|
87
83
|
:'mail_to_store' => :'String',
|
|
88
|
-
:'restrictions' => :'PaymentsConfigurationRestrictions'
|
|
89
|
-
:'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
|
|
84
|
+
:'restrictions' => :'PaymentsConfigurationRestrictions'
|
|
90
85
|
}
|
|
91
86
|
end
|
|
92
87
|
|
|
@@ -145,12 +140,6 @@ module UltracartClient
|
|
|
145
140
|
if attributes.has_key?(:'restrictions')
|
|
146
141
|
self.restrictions = attributes[:'restrictions']
|
|
147
142
|
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
|
|
154
143
|
end
|
|
155
144
|
|
|
156
145
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -182,8 +171,7 @@ module UltracartClient
|
|
|
182
171
|
mail_to_name == o.mail_to_name &&
|
|
183
172
|
mail_to_postal_code == o.mail_to_postal_code &&
|
|
184
173
|
mail_to_store == o.mail_to_store &&
|
|
185
|
-
restrictions == o.restrictions
|
|
186
|
-
test_methods == o.test_methods
|
|
174
|
+
restrictions == o.restrictions
|
|
187
175
|
end
|
|
188
176
|
|
|
189
177
|
# @see the `==` method
|
|
@@ -195,7 +183,7 @@ module UltracartClient
|
|
|
195
183
|
# Calculates hash code according to all attributes.
|
|
196
184
|
# @return [Fixnum] Hash code
|
|
197
185
|
def 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
|
|
186
|
+
[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].hash
|
|
199
187
|
end
|
|
200
188
|
|
|
201
189
|
# Builds the object from hash
|
|
@@ -25,13 +25,17 @@ module UltracartClient
|
|
|
25
25
|
|
|
26
26
|
attr_accessor :restrictions
|
|
27
27
|
|
|
28
|
+
# Test methods for this payment method
|
|
29
|
+
attr_accessor :test_methods
|
|
30
|
+
|
|
28
31
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
32
|
def self.attribute_map
|
|
30
33
|
{
|
|
31
34
|
:'accept_echeck' => :'accept_echeck',
|
|
32
35
|
:'accounting_code' => :'accounting_code',
|
|
33
36
|
:'deposit_to_account' => :'deposit_to_account',
|
|
34
|
-
:'restrictions' => :'restrictions'
|
|
37
|
+
:'restrictions' => :'restrictions',
|
|
38
|
+
:'test_methods' => :'test_methods'
|
|
35
39
|
}
|
|
36
40
|
end
|
|
37
41
|
|
|
@@ -41,7 +45,8 @@ module UltracartClient
|
|
|
41
45
|
:'accept_echeck' => :'BOOLEAN',
|
|
42
46
|
:'accounting_code' => :'String',
|
|
43
47
|
:'deposit_to_account' => :'String',
|
|
44
|
-
:'restrictions' => :'PaymentsConfigurationRestrictions'
|
|
48
|
+
:'restrictions' => :'PaymentsConfigurationRestrictions',
|
|
49
|
+
:'test_methods' => :'Array<PaymentsConfigurationTestMethod>'
|
|
45
50
|
}
|
|
46
51
|
end
|
|
47
52
|
|
|
@@ -68,6 +73,12 @@ module UltracartClient
|
|
|
68
73
|
if attributes.has_key?(:'restrictions')
|
|
69
74
|
self.restrictions = attributes[:'restrictions']
|
|
70
75
|
end
|
|
76
|
+
|
|
77
|
+
if attributes.has_key?(:'test_methods')
|
|
78
|
+
if (value = attributes[:'test_methods']).is_a?(Array)
|
|
79
|
+
self.test_methods = value
|
|
80
|
+
end
|
|
81
|
+
end
|
|
71
82
|
end
|
|
72
83
|
|
|
73
84
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -91,7 +102,8 @@ module UltracartClient
|
|
|
91
102
|
accept_echeck == o.accept_echeck &&
|
|
92
103
|
accounting_code == o.accounting_code &&
|
|
93
104
|
deposit_to_account == o.deposit_to_account &&
|
|
94
|
-
restrictions == o.restrictions
|
|
105
|
+
restrictions == o.restrictions &&
|
|
106
|
+
test_methods == o.test_methods
|
|
95
107
|
end
|
|
96
108
|
|
|
97
109
|
# @see the `==` method
|
|
@@ -103,7 +115,7 @@ module UltracartClient
|
|
|
103
115
|
# Calculates hash code according to all attributes.
|
|
104
116
|
# @return [Fixnum] Hash code
|
|
105
117
|
def hash
|
|
106
|
-
[accept_echeck, accounting_code, deposit_to_account, restrictions].hash
|
|
118
|
+
[accept_echeck, accounting_code, deposit_to_account, restrictions, test_methods].hash
|
|
107
119
|
end
|
|
108
120
|
|
|
109
121
|
# 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.6.
|
|
4
|
+
version: 3.6.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-09-
|
|
11
|
+
date: 2021-09-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|