ultracart_api 3.10.162 → 3.10.163

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: 15a92eeadd215cd61f73543cb2440dc019fc7dd502a9b88306de70ce088735e1
4
- data.tar.gz: 452891dd2a9138f415c91b5fa42ec01abcbe25a7092bbc777b2c4fb7370550a6
3
+ metadata.gz: e25b0792112f96978faedf62ee6db9a1c38259244aedcc33418ab5c5f3b57978
4
+ data.tar.gz: 464c8403be01a3dacf3af4f5124c204f1e371eb271b6e4e53df76bd1792070b6
5
5
  SHA512:
6
- metadata.gz: 93aa36eb13c5a3efcc374887b4ef4f90cae9605d2d42b54df95a65bd82fc7fd6646b54ea700429812a7769c9f21f611c57046a933ee4b0992152e59eb88c6ad1
7
- data.tar.gz: 747633d56140975fd0542cdfb8c11e71bed3569accf3353b36126a407d122eb30ed5d7d0498de69e64b5cb09184acd600a55b1050338a92c8329ccc8886adf9f
6
+ metadata.gz: 275dd1a4eea1e7775896859417a0d7b723912df172a753cdb407bfcc3bf3bc9e64499e5d6a03db50365788bde5b78147f3e211ed13a7311165aae8e396746263
7
+ data.tar.gz: fbc819a4195f6676ea5f8efea9486eb1d536ce14cc170a5cacd2a54f766662ea5709b648a9d8f8a5a16b9dd194de7397ae560ef15c062e0881968c8f22601131
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.162
10
+ - Package version: 3.10.163
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.162.gem
27
+ gem install ./ultracart_api-3.10.163.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.162.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.163.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.162'
35
+ gem 'ultracart_api', '~> 3.10.163'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1363,6 +1363,7 @@ Not every change is committed to every SDK.
1363
1363
 
1364
1364
  | Version | Date | Comments |
1365
1365
  | --: | :-: | --- |
1366
+ | 3.10.163 | 10/16/2023 | CartSettingsPaymentCreditCard - add collect_credit_card_verification_number_minimum |
1366
1367
  | 3.10.162 | 09/28/2023 | dw bi - add aggregation constant of none |
1367
1368
  | 3.10.161 | 09/22/2023 | dwbi - new option to control order-by of result set |
1368
1369
  | 3.10.160 | 09/15/2023 | new item fields for additional barcodes |
@@ -4,6 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **collect_credit_card_verification_number** | **BOOLEAN** | True if the credit card verification number should be collected | [optional]
7
+ **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]
7
8
  **credit_card_types** | **Array<String>** | Available credit card types | [optional]
8
9
  **hosted_fields_shopping_cart_token** | **String** | The shoppingCartToken needed for proper initialization of hosted fields collection | [optional]
9
10
 
@@ -17,6 +17,9 @@ module UltracartClient
17
17
  # True if the credit card verification number should be collected
18
18
  attr_accessor :collect_credit_card_verification_number
19
19
 
20
+ # If this field is null or the total is greater than or equal to this value then collect the CVV2.
21
+ attr_accessor :collect_credit_card_verification_number_minimum
22
+
20
23
  # Available credit card types
21
24
  attr_accessor :credit_card_types
22
25
 
@@ -27,6 +30,7 @@ module UltracartClient
27
30
  def self.attribute_map
28
31
  {
29
32
  :'collect_credit_card_verification_number' => :'collect_credit_card_verification_number',
33
+ :'collect_credit_card_verification_number_minimum' => :'collect_credit_card_verification_number_minimum',
30
34
  :'credit_card_types' => :'credit_card_types',
31
35
  :'hosted_fields_shopping_cart_token' => :'hosted_fields_shopping_cart_token'
32
36
  }
@@ -36,6 +40,7 @@ module UltracartClient
36
40
  def self.swagger_types
37
41
  {
38
42
  :'collect_credit_card_verification_number' => :'BOOLEAN',
43
+ :'collect_credit_card_verification_number_minimum' => :'Float',
39
44
  :'credit_card_types' => :'Array<String>',
40
45
  :'hosted_fields_shopping_cart_token' => :'String'
41
46
  }
@@ -53,6 +58,10 @@ module UltracartClient
53
58
  self.collect_credit_card_verification_number = attributes[:'collect_credit_card_verification_number']
54
59
  end
55
60
 
61
+ if attributes.has_key?(:'collect_credit_card_verification_number_minimum')
62
+ self.collect_credit_card_verification_number_minimum = attributes[:'collect_credit_card_verification_number_minimum']
63
+ end
64
+
56
65
  if attributes.has_key?(:'credit_card_types')
57
66
  if (value = attributes[:'credit_card_types']).is_a?(Array)
58
67
  self.credit_card_types = value
@@ -83,6 +92,7 @@ module UltracartClient
83
92
  return true if self.equal?(o)
84
93
  self.class == o.class &&
85
94
  collect_credit_card_verification_number == o.collect_credit_card_verification_number &&
95
+ collect_credit_card_verification_number_minimum == o.collect_credit_card_verification_number_minimum &&
86
96
  credit_card_types == o.credit_card_types &&
87
97
  hosted_fields_shopping_cart_token == o.hosted_fields_shopping_cart_token
88
98
  end
@@ -96,7 +106,7 @@ module UltracartClient
96
106
  # Calculates hash code according to all attributes.
97
107
  # @return [Fixnum] Hash code
98
108
  def hash
99
- [collect_credit_card_verification_number, credit_card_types, hosted_fields_shopping_cart_token].hash
109
+ [collect_credit_card_verification_number, collect_credit_card_verification_number_minimum, credit_card_types, hosted_fields_shopping_cart_token].hash
100
110
  end
101
111
 
102
112
  # Builds the object from hash
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.162'
14
+ VERSION = '3.10.163'
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: 3.10.162
4
+ version: 3.10.163
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