ultracart_api 3.6.14 → 3.6.15
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 +5 -4
- data/docs/OrderPaymentCreditCard.md +1 -1
- data/docs/OrderPaymentInsurance.md +1 -0
- 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/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: c562604c03168f86ea87d16d70ff125606e8ad846a694c79bf489266a6f28e42
|
4
|
+
data.tar.gz: e7b67afa7111f1521b4a87ecfeeb3262557393647a5dfda86afbfd1bd5742cc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7970cf9d2f7b23fe6b32123d0613433011b7138a48f654d2d4f92e02183cee57355d2758a1eff85e1d82f7627c5023a7a7c134143838a4d41a6f4735e0f0b7d6
|
7
|
+
data.tar.gz: b44ac7ed2098075cba6ffe64b80aff199e7371967b9019d9967c22c8712aec1d985257a0b34a593e3fcd4e25e64eff0f62fc630fae08d8254b0a9192256eb031
|
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.15
|
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.15.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.15.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.15'
|
36
36
|
|
37
37
|
### Install from Git
|
38
38
|
|
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
|
|
1118
1118
|
|
1119
1119
|
| Version | Date | Comments |
|
1120
1120
|
| --: | :-: | --- |
|
1121
|
+
| 3.6.15 | 09/28/2021 | added refund_claim_id to insurance object |
|
1121
1122
|
| 3.6.14 | 09/21/2021 | configuration api fix. the echeck test methods were attached to the paper check object |
|
1122
1123
|
| 3.6.13 | 09/20/2021 | expose EasyPost tracker id if available on shipment tracking details |
|
1123
1124
|
| 3.6.12 | 09/20/2021 | fix method for getCouponsByQuery to be POST instead of GET since it uses a JSON body |
|
@@ -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
|
|
@@ -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
|
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.15
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|