ultracart_api 4.0.86.rc → 4.0.87.rc

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: 2616012b176378834c3507a43f196c35dcb6bbcd99c31645e4d5a26912bd908b
4
- data.tar.gz: 708a2a56046daa1abc7883f683761dc6737f7a852d00b671f52919d13407e19f
3
+ metadata.gz: dc219066ac586692df1300754f45595fffa03ab2734801bd0950156d5b64d3ab
4
+ data.tar.gz: bea4eee612019ac116e992d5c68ecc4844ee051ce97ff6d7ec37150c1753f67a
5
5
  SHA512:
6
- metadata.gz: efb9efc5ad1a28fadbecbec39403dd2534b7843cf1e7311e05adb02d0a2f32bd5cd5356318b9d4ff4b2824fab69b5d732037ac848a6d33255ae8f936e4c8244d
7
- data.tar.gz: fe65f23e2eb6278eeab172d55123441465f16e814156bd584672909bf512033980075ebcc69c31b111b577bdd4ce61252d7a7821343dadec2064c23828e62615
6
+ metadata.gz: 3fb52576a7a509c0664f5b0c51db4679150841c357c003e35feeed6f1c4174f9ca32228c2ad97a7c51877ff550adf7526860682ec2e58ba2e27d68416420cebd
7
+ data.tar.gz: cc957623034627e837c4a660c9c52c349a82d22527f7aac85bc54cdb1187257119559dfbf1bcf81861562d8a9b7ae960986ca78d5c46cc55d0611f302d137c39
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.86.rc
10
+ - Package version: 4.0.87.rc
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.86.rc.gem
27
+ gem install ./ultracart_api-4.0.87.rc.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./ultracart_api-4.0.86.rc.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./ultracart_api-4.0.87.rc.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.86.rc'
36
+ gem 'ultracart_api', '~> 4.0.87.rc'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -1233,6 +1233,7 @@ Not every change is committed to every SDK.
1233
1233
 
1234
1234
  | Version | Date | Comments |
1235
1235
  | --: | :-: | --- |
1236
+ | 4.0.87-RC | 11/21/2022 | coupon - addl optional minimums for percent off msrp items coupon |
1236
1237
  | 4.0.86-RC | 11/21/2022 | conversation context method |
1237
1238
  | 4.0.85-RC | 11/21/2022 | adjusted conversation event model |
1238
1239
  | 4.0.84-RC | 11/15/2022 | conversation methods bug fix |
@@ -8,6 +8,8 @@
8
8
  | **excluded_items** | **Array<String>** | A list of items which cannot be discounted. | [optional] |
9
9
  | **items** | **Array<String>** | An list of items which will receive a discount. | [optional] |
10
10
  | **limit** | **Integer** | The (optional) maximum quantity of discounted items. | [optional] |
11
+ | **minimum_cumulative_msrp** | **Float** | The (optional) minimum cumulative msrp of qualifying items. | [optional] |
12
+ | **minimum_subtotal** | **Float** | The (optional) minimum subtotal of qualifying items. | [optional] |
11
13
 
12
14
  ## Example
13
15
 
@@ -18,7 +20,9 @@ instance = UltracartClient::CouponPercentOffMsrpItems.new(
18
20
  discount_percent: null,
19
21
  excluded_items: null,
20
22
  items: null,
21
- limit: null
23
+ limit: null,
24
+ minimum_cumulative_msrp: null,
25
+ minimum_subtotal: null
22
26
  )
23
27
  ```
24
28
 
@@ -27,13 +27,21 @@ module UltracartClient
27
27
  # The (optional) maximum quantity of discounted items.
28
28
  attr_accessor :limit
29
29
 
30
+ # The (optional) minimum cumulative msrp of qualifying items.
31
+ attr_accessor :minimum_cumulative_msrp
32
+
33
+ # The (optional) minimum subtotal of qualifying items.
34
+ attr_accessor :minimum_subtotal
35
+
30
36
  # Attribute mapping from ruby-style variable name to JSON key.
31
37
  def self.attribute_map
32
38
  {
33
39
  :'discount_percent' => :'discount_percent',
34
40
  :'excluded_items' => :'excluded_items',
35
41
  :'items' => :'items',
36
- :'limit' => :'limit'
42
+ :'limit' => :'limit',
43
+ :'minimum_cumulative_msrp' => :'minimum_cumulative_msrp',
44
+ :'minimum_subtotal' => :'minimum_subtotal'
37
45
  }
38
46
  end
39
47
 
@@ -48,7 +56,9 @@ module UltracartClient
48
56
  :'discount_percent' => :'Float',
49
57
  :'excluded_items' => :'Array<String>',
50
58
  :'items' => :'Array<String>',
51
- :'limit' => :'Integer'
59
+ :'limit' => :'Integer',
60
+ :'minimum_cumulative_msrp' => :'Float',
61
+ :'minimum_subtotal' => :'Float'
52
62
  }
53
63
  end
54
64
 
@@ -92,6 +102,14 @@ module UltracartClient
92
102
  if attributes.key?(:'limit')
93
103
  self.limit = attributes[:'limit']
94
104
  end
105
+
106
+ if attributes.key?(:'minimum_cumulative_msrp')
107
+ self.minimum_cumulative_msrp = attributes[:'minimum_cumulative_msrp']
108
+ end
109
+
110
+ if attributes.key?(:'minimum_subtotal')
111
+ self.minimum_subtotal = attributes[:'minimum_subtotal']
112
+ end
95
113
  end
96
114
 
97
115
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -115,7 +133,9 @@ module UltracartClient
115
133
  discount_percent == o.discount_percent &&
116
134
  excluded_items == o.excluded_items &&
117
135
  items == o.items &&
118
- limit == o.limit
136
+ limit == o.limit &&
137
+ minimum_cumulative_msrp == o.minimum_cumulative_msrp &&
138
+ minimum_subtotal == o.minimum_subtotal
119
139
  end
120
140
 
121
141
  # @see the `==` method
@@ -127,7 +147,7 @@ module UltracartClient
127
147
  # Calculates hash code according to all attributes.
128
148
  # @return [Integer] Hash code
129
149
  def hash
130
- [discount_percent, excluded_items, items, limit].hash
150
+ [discount_percent, excluded_items, items, limit, minimum_cumulative_msrp, minimum_subtotal].hash
131
151
  end
132
152
 
133
153
  # 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.86.rc'
14
+ VERSION = '4.0.87.rc'
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ultracart_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.86.rc
4
+ version: 4.0.87.rc
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart