ultracart_api 4.0.179 → 4.0.180

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: f80e8de2c88ee01bb218ec4928e5690aeaf7c4a32af53a3c032a0ba8f9b39773
4
- data.tar.gz: d51fc77b2e8ea5ea1e133c4072c7eb2109f0c4996fe56d6ef66b85a308bc1dce
3
+ metadata.gz: 39c4cbaacb99003a56d90f6737e6426864fc58425a2d73d4fe21d5ae1d1ea862
4
+ data.tar.gz: '09b01607d00a1c5b5c73f3807c9b7c0d7567050e8016a07a74a2f917b306a813'
5
5
  SHA512:
6
- metadata.gz: 034bc41397cc73571239724ef761a766808ae4681e43d86d4eb27a1c89407057eb2043c94b33f401db840d454754c3e5b45727da23112fa026151f83345571b6
7
- data.tar.gz: 340c0700c997123780d33d2b9d71998f8957959d7d11ad6ffb241cfd4fa67f071d16297a654bec904dd166fc9efb1cd75b8c52688f3779a34835fac61bf44501
6
+ metadata.gz: 6134c3492a3fab18ee243ebe4528b07abee4d1f96d0443fdd72ecf464190f36f38c7979495219eb4c75afe1423521b009b48db74caf7f0ced7a1b444b0ca626a
7
+ data.tar.gz: 9dd33939d18ed9d5e67138d9c2f3898b23164b1b9b4f6a222279574d61459a8ca92d28b467f7d32a9f98737c0f3d02f97faf2d673c8beadccba473843e8fe6af
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.179
10
+ - Package version: 4.0.180
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.179.gem
27
+ gem install ./ultracart_api-4.0.180.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.179.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.180.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.179'
36
+ gem 'ultracart_api', '~> 4.0.180'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1371,6 +1371,7 @@ Not every change is committed to every SDK.
1371
1371
 
1372
1372
  | Version | Date | Comments |
1373
1373
  | --: | :-: | --- |
1374
+ | 4.0.180 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
1374
1375
  | 4.0.179 | 09/28/2023 | dw bi - add aggregation constant of none |
1375
1376
  | 4.0.178 | 09/22/2023 | dwbi - new option to control order-by of result set |
1376
1377
  | 4.0.177 | 09/15/2023 | new item fields for additional barcodes |
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **collect_credit_card_verification_number** | **Boolean** | True if the credit card verification number should be collected | [optional] |
8
+ | **collect_credit_card_verification_number_minimum** | **Float** | If this field is null or the total is greater than or equal to this value then collect the CVV2. | [optional] |
8
9
  | **credit_card_types** | **Array<String>** | Available credit card types | [optional] |
9
10
  | **hosted_fields_shopping_cart_token** | **String** | The shoppingCartToken needed for proper initialization of hosted fields collection | [optional] |
10
11
 
@@ -15,6 +16,7 @@ require 'ultracart_api'
15
16
 
16
17
  instance = UltracartClient::CartSettingsPaymentCreditCard.new(
17
18
  collect_credit_card_verification_number: null,
19
+ collect_credit_card_verification_number_minimum: null,
18
20
  credit_card_types: null,
19
21
  hosted_fields_shopping_cart_token: null
20
22
  )
@@ -18,6 +18,9 @@ module UltracartClient
18
18
  # True if the credit card verification number should be collected
19
19
  attr_accessor :collect_credit_card_verification_number
20
20
 
21
+ # If this field is null or the total is greater than or equal to this value then collect the CVV2.
22
+ attr_accessor :collect_credit_card_verification_number_minimum
23
+
21
24
  # Available credit card types
22
25
  attr_accessor :credit_card_types
23
26
 
@@ -28,6 +31,7 @@ module UltracartClient
28
31
  def self.attribute_map
29
32
  {
30
33
  :'collect_credit_card_verification_number' => :'collect_credit_card_verification_number',
34
+ :'collect_credit_card_verification_number_minimum' => :'collect_credit_card_verification_number_minimum',
31
35
  :'credit_card_types' => :'credit_card_types',
32
36
  :'hosted_fields_shopping_cart_token' => :'hosted_fields_shopping_cart_token'
33
37
  }
@@ -42,6 +46,7 @@ module UltracartClient
42
46
  def self.openapi_types
43
47
  {
44
48
  :'collect_credit_card_verification_number' => :'Boolean',
49
+ :'collect_credit_card_verification_number_minimum' => :'Float',
45
50
  :'credit_card_types' => :'Array<String>',
46
51
  :'hosted_fields_shopping_cart_token' => :'String'
47
52
  }
@@ -72,6 +77,10 @@ module UltracartClient
72
77
  self.collect_credit_card_verification_number = attributes[:'collect_credit_card_verification_number']
73
78
  end
74
79
 
80
+ if attributes.key?(:'collect_credit_card_verification_number_minimum')
81
+ self.collect_credit_card_verification_number_minimum = attributes[:'collect_credit_card_verification_number_minimum']
82
+ end
83
+
75
84
  if attributes.key?(:'credit_card_types')
76
85
  if (value = attributes[:'credit_card_types']).is_a?(Array)
77
86
  self.credit_card_types = value
@@ -102,6 +111,7 @@ module UltracartClient
102
111
  return true if self.equal?(o)
103
112
  self.class == o.class &&
104
113
  collect_credit_card_verification_number == o.collect_credit_card_verification_number &&
114
+ collect_credit_card_verification_number_minimum == o.collect_credit_card_verification_number_minimum &&
105
115
  credit_card_types == o.credit_card_types &&
106
116
  hosted_fields_shopping_cart_token == o.hosted_fields_shopping_cart_token
107
117
  end
@@ -115,7 +125,7 @@ module UltracartClient
115
125
  # Calculates hash code according to all attributes.
116
126
  # @return [Integer] Hash code
117
127
  def hash
118
- [collect_credit_card_verification_number, credit_card_types, hosted_fields_shopping_cart_token].hash
128
+ [collect_credit_card_verification_number, collect_credit_card_verification_number_minimum, credit_card_types, hosted_fields_shopping_cart_token].hash
119
129
  end
120
130
 
121
131
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 6.0.1-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '4.0.179'
14
+ VERSION = '4.0.180'
15
15
  end
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.179
4
+ version: 4.0.180
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-28 00:00:00.000000000 Z
11
+ date: 2023-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus