ultracart_api 4.0.146 → 4.0.147
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/OrderPaymentTransaction.md +2 -0
- data/lib/ultracart_api/models/order_payment_transaction.rb +11 -1
- 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: 4d1b6f4418ab6f3a3f6a5487e3b8af88708af05ff0f539d8c73d415a3d94d202
|
|
4
|
+
data.tar.gz: 1cbaaf2055b95cfb5efc58d7cb411eb3bea1c4244e31d7ae90533cc9499c1bab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '03127408f5fde40e1d3ca7a01b44a3f797ee4fe91fa4748a85cc3750a28d651b2374d775bb5bb99d2c9eb2920c7e91631403fa617c94fa34c52b1bf6e81a1380'
|
|
7
|
+
data.tar.gz: e6b020d7b16ad3a22f4a406901baefca593382ec580c75d77426db11686f2c73c480183d12ba85b4d336810c622ad502c41a3fe0c5c255cffe41d5fe54f50cb0
|
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ UltraCart REST API Version 2
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: 2.0.0
|
|
10
|
-
- Package version: 4.0.
|
|
10
|
+
- Package version: 4.0.147
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [http://www.ultracart.com](http://www.ultracart.com)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build ultracart_api.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./ultracart_api-4.0.
|
|
27
|
+
gem install ./ultracart_api-4.0.147.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./ultracart_api-4.0.
|
|
30
|
+
(for development, run `gem install --dev ./ultracart_api-4.0.147.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'ultracart_api', '~> 4.0.
|
|
36
|
+
gem 'ultracart_api', '~> 4.0.147'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
|
@@ -1352,6 +1352,7 @@ Not every change is committed to every SDK.
|
|
|
1352
1352
|
|
|
1353
1353
|
| Version | Date | Comments |
|
|
1354
1354
|
| --: | :-: | --- |
|
|
1355
|
+
| 4.0.147 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
|
1355
1356
|
| 4.0.146 | 04/11/2023 | missing sezzle payment constant |
|
|
1356
1357
|
| 4.0.145 | 04/10/2023 | data warehouse internal dev |
|
|
1357
1358
|
| 4.0.144 | 03/29/2023 | internal development |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional] |
|
|
8
8
|
| **successful** | **Boolean** | True if the transaction was successful | [optional] |
|
|
9
9
|
| **transaction_gateway** | **String** | Transaction gateway | [optional] |
|
|
10
|
+
| **transaction_id** | **Integer** | Transaction ID | [optional] |
|
|
10
11
|
| **transaction_timestamp** | **String** | Transaction date/time | [optional] |
|
|
11
12
|
|
|
12
13
|
## Example
|
|
@@ -18,6 +19,7 @@ instance = UltracartClient::OrderPaymentTransaction.new(
|
|
|
18
19
|
details: null,
|
|
19
20
|
successful: null,
|
|
20
21
|
transaction_gateway: null,
|
|
22
|
+
transaction_id: null,
|
|
21
23
|
transaction_timestamp: null
|
|
22
24
|
)
|
|
23
25
|
```
|
|
@@ -24,6 +24,9 @@ module UltracartClient
|
|
|
24
24
|
# Transaction gateway
|
|
25
25
|
attr_accessor :transaction_gateway
|
|
26
26
|
|
|
27
|
+
# Transaction ID
|
|
28
|
+
attr_accessor :transaction_id
|
|
29
|
+
|
|
27
30
|
# Transaction date/time
|
|
28
31
|
attr_accessor :transaction_timestamp
|
|
29
32
|
|
|
@@ -33,6 +36,7 @@ module UltracartClient
|
|
|
33
36
|
:'details' => :'details',
|
|
34
37
|
:'successful' => :'successful',
|
|
35
38
|
:'transaction_gateway' => :'transaction_gateway',
|
|
39
|
+
:'transaction_id' => :'transaction_id',
|
|
36
40
|
:'transaction_timestamp' => :'transaction_timestamp'
|
|
37
41
|
}
|
|
38
42
|
end
|
|
@@ -48,6 +52,7 @@ module UltracartClient
|
|
|
48
52
|
:'details' => :'Array<OrderPaymentTransactionDetail>',
|
|
49
53
|
:'successful' => :'Boolean',
|
|
50
54
|
:'transaction_gateway' => :'String',
|
|
55
|
+
:'transaction_id' => :'Integer',
|
|
51
56
|
:'transaction_timestamp' => :'String'
|
|
52
57
|
}
|
|
53
58
|
end
|
|
@@ -87,6 +92,10 @@ module UltracartClient
|
|
|
87
92
|
self.transaction_gateway = attributes[:'transaction_gateway']
|
|
88
93
|
end
|
|
89
94
|
|
|
95
|
+
if attributes.key?(:'transaction_id')
|
|
96
|
+
self.transaction_id = attributes[:'transaction_id']
|
|
97
|
+
end
|
|
98
|
+
|
|
90
99
|
if attributes.key?(:'transaction_timestamp')
|
|
91
100
|
self.transaction_timestamp = attributes[:'transaction_timestamp']
|
|
92
101
|
end
|
|
@@ -113,6 +122,7 @@ module UltracartClient
|
|
|
113
122
|
details == o.details &&
|
|
114
123
|
successful == o.successful &&
|
|
115
124
|
transaction_gateway == o.transaction_gateway &&
|
|
125
|
+
transaction_id == o.transaction_id &&
|
|
116
126
|
transaction_timestamp == o.transaction_timestamp
|
|
117
127
|
end
|
|
118
128
|
|
|
@@ -125,7 +135,7 @@ module UltracartClient
|
|
|
125
135
|
# Calculates hash code according to all attributes.
|
|
126
136
|
# @return [Integer] Hash code
|
|
127
137
|
def hash
|
|
128
|
-
[details, successful, transaction_gateway, transaction_timestamp].hash
|
|
138
|
+
[details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
|
|
129
139
|
end
|
|
130
140
|
|
|
131
141
|
# 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: 4.0.
|
|
4
|
+
version: 4.0.147
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- UltraCart
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-04-
|
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|