ultracart_api 3.10.129 → 3.10.130
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 +1 -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: 6083f97ccfd87bde6aacaf848812f01772679a2c7b9341737bee46fcc99b8a3d
|
|
4
|
+
data.tar.gz: 63146d73eed2f4e5ae052d9cb48c04da5642ddb104966797bb55013128d4e647
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 95cc64fc4bf72aa8b7ea59c1278272e1eeb101195a4ce685dc822619ed4e7d72158c7979c46e08d959f4727491feb00f5aa34f573058bfba5e5fec5c8dfc3f6f
|
|
7
|
+
data.tar.gz: 1071dabc57dfc005c1538ed9bb7146b77ec13c869b43dd9c97675feabeedba1fbbf5ebc352db93fcad9ceeee329b519ec37c4e8546c55d44db420114da4f2ef2
|
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.10.
|
|
10
|
+
- Package version: 3.10.130
|
|
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.10.
|
|
27
|
+
gem install ./ultracart_api-3.10.130.gem
|
|
28
28
|
```
|
|
29
|
-
(for development, run `gem install --dev ./ultracart_api-3.10.
|
|
29
|
+
(for development, run `gem install --dev ./ultracart_api-3.10.130.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.10.
|
|
35
|
+
gem 'ultracart_api', '~> 3.10.130'
|
|
36
36
|
|
|
37
37
|
### Install from Git
|
|
38
38
|
|
|
@@ -1344,6 +1344,7 @@ Not every change is committed to every SDK.
|
|
|
1344
1344
|
|
|
1345
1345
|
| Version | Date | Comments |
|
|
1346
1346
|
| --: | :-: | --- |
|
|
1347
|
+
| 3.10.130 | 04/17/2023 | OrderPaymentTransaction - expose the transaction id |
|
|
1347
1348
|
| 3.10.129 | 04/11/2023 | missing sezzle payment constant |
|
|
1348
1349
|
| 3.10.128 | 04/10/2023 | data warehouse internal dev |
|
|
1349
1350
|
| 3.10.127 | 03/29/2023 | internal development |
|
|
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
|
6
6
|
**details** | [**Array<OrderPaymentTransactionDetail>**](OrderPaymentTransactionDetail.md) | Details | [optional]
|
|
7
7
|
**successful** | **BOOLEAN** | True if the transaction was successful | [optional]
|
|
8
8
|
**transaction_gateway** | **String** | Transaction gateway | [optional]
|
|
9
|
+
**transaction_id** | **Integer** | Transaction ID | [optional]
|
|
9
10
|
**transaction_timestamp** | **String** | Transaction date/time | [optional]
|
|
10
11
|
|
|
11
12
|
|
|
@@ -23,6 +23,9 @@ module UltracartClient
|
|
|
23
23
|
# Transaction gateway
|
|
24
24
|
attr_accessor :transaction_gateway
|
|
25
25
|
|
|
26
|
+
# Transaction ID
|
|
27
|
+
attr_accessor :transaction_id
|
|
28
|
+
|
|
26
29
|
# Transaction date/time
|
|
27
30
|
attr_accessor :transaction_timestamp
|
|
28
31
|
|
|
@@ -32,6 +35,7 @@ module UltracartClient
|
|
|
32
35
|
:'details' => :'details',
|
|
33
36
|
:'successful' => :'successful',
|
|
34
37
|
:'transaction_gateway' => :'transaction_gateway',
|
|
38
|
+
:'transaction_id' => :'transaction_id',
|
|
35
39
|
:'transaction_timestamp' => :'transaction_timestamp'
|
|
36
40
|
}
|
|
37
41
|
end
|
|
@@ -42,6 +46,7 @@ module UltracartClient
|
|
|
42
46
|
:'details' => :'Array<OrderPaymentTransactionDetail>',
|
|
43
47
|
:'successful' => :'BOOLEAN',
|
|
44
48
|
:'transaction_gateway' => :'String',
|
|
49
|
+
:'transaction_id' => :'Integer',
|
|
45
50
|
:'transaction_timestamp' => :'String'
|
|
46
51
|
}
|
|
47
52
|
end
|
|
@@ -68,6 +73,10 @@ module UltracartClient
|
|
|
68
73
|
self.transaction_gateway = attributes[:'transaction_gateway']
|
|
69
74
|
end
|
|
70
75
|
|
|
76
|
+
if attributes.has_key?(:'transaction_id')
|
|
77
|
+
self.transaction_id = attributes[:'transaction_id']
|
|
78
|
+
end
|
|
79
|
+
|
|
71
80
|
if attributes.has_key?(:'transaction_timestamp')
|
|
72
81
|
self.transaction_timestamp = attributes[:'transaction_timestamp']
|
|
73
82
|
end
|
|
@@ -94,6 +103,7 @@ module UltracartClient
|
|
|
94
103
|
details == o.details &&
|
|
95
104
|
successful == o.successful &&
|
|
96
105
|
transaction_gateway == o.transaction_gateway &&
|
|
106
|
+
transaction_id == o.transaction_id &&
|
|
97
107
|
transaction_timestamp == o.transaction_timestamp
|
|
98
108
|
end
|
|
99
109
|
|
|
@@ -106,7 +116,7 @@ module UltracartClient
|
|
|
106
116
|
# Calculates hash code according to all attributes.
|
|
107
117
|
# @return [Fixnum] Hash code
|
|
108
118
|
def hash
|
|
109
|
-
[details, successful, transaction_gateway, transaction_timestamp].hash
|
|
119
|
+
[details, successful, transaction_gateway, transaction_id, transaction_timestamp].hash
|
|
110
120
|
end
|
|
111
121
|
|
|
112
122
|
# 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.10.
|
|
4
|
+
version: 3.10.130
|
|
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
|