ultracart_api 3.6.7 → 3.6.8

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: 596b9994f6c76636c945538757c6cf15abc29dcadd930a7e19bb89dbed8e008e
4
- data.tar.gz: 76c3e8dfdea60bf4be28bac8f09158d9f7ff843aa0dfe068ae12537d677468b9
3
+ metadata.gz: 70e8d9ff7aaaa130bac8c2811cd111e80ae91d74a679105d098195497bc41055
4
+ data.tar.gz: f6dc9e8d459b524d534ce721824a3ebda619c7d79f1141627fd60c9c4e295fcd
5
5
  SHA512:
6
- metadata.gz: 75a0492dcb1b4a9bc4917d5697ed4332f55cbfb8ece6f32b0d3f074e205a573ead1cc34a46f51f70009cb9887ce1249bd8c0c50ea04cc10ada06d366976a1df2
7
- data.tar.gz: 25a0895dfedadf42144f1734a7d0f2c9b1e34d517a393ccb47049e4bfb4abe978a4c8f95b4f3c34955b2f48f009df296b512f035e7509c8379aa4e5dac90893b
6
+ metadata.gz: 7c3bc4f930eb753d77d9413a0e4cf83084d9c553b46e947099f09fb41dec3121ddefeaf197671bca2cc809e08193617a894f56144c3693cc7b037c3cee912374
7
+ data.tar.gz: 1cd287e7d2496768845a92f68f438bec9a4e2366b881a761f0cb7584274d6b98b09592c2d6ce35a7089e10478cf9bfda1aa8c192b1cad8dc2ef80e971675f587
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.6.7
10
+ - Package version: 3.6.8
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.6.7.gem
27
+ gem install ./ultracart_api-3.6.8.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.6.7.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.6.8.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.6.7'
35
+ gem 'ultracart_api', '~> 3.6.8'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1118,6 +1118,7 @@ Not every change is committed to every SDK.
1118
1118
 
1119
1119
  | Version | Date | Comments |
1120
1120
  | --: | :-: | --- |
1121
+ | 3.6.8 | 08/31/2021 | coupon query field to allow merchant code and description to be searched |
1121
1122
  | 3.6.7 | 08/27/2021 | customer profile affiliate information now contains affiliate first and last name |
1122
1123
  | 3.6.6 | 08/26/2021 | configuration api - more field changes for UI |
1123
1124
  | 3.6.5 | 08/25/2021 | configuration api - removed some internal fields from sdk |
data/docs/CouponApi.md CHANGED
@@ -508,6 +508,7 @@ opts = {
508
508
  expiration_date_end: 'expiration_date_end_example', # String | Expiration date end
509
509
  affiliate_oid: 56, # Integer | Affiliate oid
510
510
  exclude_expired: true, # BOOLEAN | Exclude expired
511
+ merchant_code_or_description: 'merchant_code_or_description_example', # String | Merchant code or description
511
512
  _limit: 100, # Integer | The maximum number of records to return on this one API call. (Max 200)
512
513
  _offset: 0, # Integer | Pagination of the record set. Offset is a zero based index.
513
514
  _sort: '_sort_example', # String | The sort order of the coupons. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -536,6 +537,7 @@ Name | Type | Description | Notes
536
537
  **expiration_date_end** | **String**| Expiration date end | [optional]
537
538
  **affiliate_oid** | **Integer**| Affiliate oid | [optional]
538
539
  **exclude_expired** | **BOOLEAN**| Exclude expired | [optional]
540
+ **merchant_code_or_description** | **String**| Merchant code or description | [optional]
539
541
  **_limit** | **Integer**| The maximum number of records to return on this one API call. (Max 200) | [optional] [default to 100]
540
542
  **_offset** | **Integer**| Pagination of the record set. Offset is a zero based index. | [optional] [default to 0]
541
543
  **_sort** | **String**| The sort order of the coupons. See Sorting documentation for examples of using multiple values and sorting by ascending and descending. | [optional]
data/docs/CouponQuery.md CHANGED
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
10
10
  **expiration_dts_begin** | **String** | Expiration date begin | [optional]
11
11
  **expiration_dts_end** | **String** | Expiration date begin | [optional]
12
12
  **merchant_code** | **String** | Merchant code is a unique character string for this coupon. | [optional]
13
+ **merchant_code_or_description** | **String** | Merchant code description used for searching | [optional]
13
14
  **start_dts_begin** | **String** | Start date begin | [optional]
14
15
  **start_dts_end** | **String** | Start date end | [optional]
15
16
 
@@ -548,6 +548,7 @@ module UltracartClient
548
548
  # @option opts [String] :expiration_date_end Expiration date end
549
549
  # @option opts [Integer] :affiliate_oid Affiliate oid
550
550
  # @option opts [BOOLEAN] :exclude_expired Exclude expired
551
+ # @option opts [String] :merchant_code_or_description Merchant code or description
551
552
  # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200) (default to 100)
552
553
  # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index. (default to 0)
553
554
  # @option opts [String] :_sort The sort order of the coupons. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -570,6 +571,7 @@ module UltracartClient
570
571
  # @option opts [String] :expiration_date_end Expiration date end
571
572
  # @option opts [Integer] :affiliate_oid Affiliate oid
572
573
  # @option opts [BOOLEAN] :exclude_expired Exclude expired
574
+ # @option opts [String] :merchant_code_or_description Merchant code or description
573
575
  # @option opts [Integer] :_limit The maximum number of records to return on this one API call. (Max 200)
574
576
  # @option opts [Integer] :_offset Pagination of the record set. Offset is a zero based index.
575
577
  # @option opts [String] :_sort The sort order of the coupons. See Sorting documentation for examples of using multiple values and sorting by ascending and descending.
@@ -593,6 +595,7 @@ module UltracartClient
593
595
  query_params[:'expiration_date_end'] = opts[:'expiration_date_end'] if !opts[:'expiration_date_end'].nil?
594
596
  query_params[:'affiliate_oid'] = opts[:'affiliate_oid'] if !opts[:'affiliate_oid'].nil?
595
597
  query_params[:'exclude_expired'] = opts[:'exclude_expired'] if !opts[:'exclude_expired'].nil?
598
+ query_params[:'merchant_code_or_description'] = opts[:'merchant_code_or_description'] if !opts[:'merchant_code_or_description'].nil?
596
599
  query_params[:'_limit'] = opts[:'_limit'] if !opts[:'_limit'].nil?
597
600
  query_params[:'_offset'] = opts[:'_offset'] if !opts[:'_offset'].nil?
598
601
  query_params[:'_sort'] = opts[:'_sort'] if !opts[:'_sort'].nil?
@@ -35,6 +35,9 @@ module UltracartClient
35
35
  # Merchant code is a unique character string for this coupon.
36
36
  attr_accessor :merchant_code
37
37
 
38
+ # Merchant code description used for searching
39
+ attr_accessor :merchant_code_or_description
40
+
38
41
  # Start date begin
39
42
  attr_accessor :start_dts_begin
40
43
 
@@ -51,6 +54,7 @@ module UltracartClient
51
54
  :'expiration_dts_begin' => :'expiration_dts_begin',
52
55
  :'expiration_dts_end' => :'expiration_dts_end',
53
56
  :'merchant_code' => :'merchant_code',
57
+ :'merchant_code_or_description' => :'merchant_code_or_description',
54
58
  :'start_dts_begin' => :'start_dts_begin',
55
59
  :'start_dts_end' => :'start_dts_end'
56
60
  }
@@ -66,6 +70,7 @@ module UltracartClient
66
70
  :'expiration_dts_begin' => :'String',
67
71
  :'expiration_dts_end' => :'String',
68
72
  :'merchant_code' => :'String',
73
+ :'merchant_code_or_description' => :'String',
69
74
  :'start_dts_begin' => :'String',
70
75
  :'start_dts_end' => :'String'
71
76
  }
@@ -107,6 +112,10 @@ module UltracartClient
107
112
  self.merchant_code = attributes[:'merchant_code']
108
113
  end
109
114
 
115
+ if attributes.has_key?(:'merchant_code_or_description')
116
+ self.merchant_code_or_description = attributes[:'merchant_code_or_description']
117
+ end
118
+
110
119
  if attributes.has_key?(:'start_dts_begin')
111
120
  self.start_dts_begin = attributes[:'start_dts_begin']
112
121
  end
@@ -141,6 +150,7 @@ module UltracartClient
141
150
  expiration_dts_begin == o.expiration_dts_begin &&
142
151
  expiration_dts_end == o.expiration_dts_end &&
143
152
  merchant_code == o.merchant_code &&
153
+ merchant_code_or_description == o.merchant_code_or_description &&
144
154
  start_dts_begin == o.start_dts_begin &&
145
155
  start_dts_end == o.start_dts_end
146
156
  end
@@ -154,7 +164,7 @@ module UltracartClient
154
164
  # Calculates hash code according to all attributes.
155
165
  # @return [Fixnum] Hash code
156
166
  def hash
157
- [affiliate_oid, coupon_type, description, exclude_expired, expiration_dts_begin, expiration_dts_end, merchant_code, start_dts_begin, start_dts_end].hash
167
+ [affiliate_oid, coupon_type, description, exclude_expired, expiration_dts_begin, expiration_dts_end, merchant_code, merchant_code_or_description, start_dts_begin, start_dts_end].hash
158
168
  end
159
169
 
160
170
  # 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.6.7'
14
+ VERSION = '3.6.8'
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.6.7
4
+ version: 3.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-27 00:00:00.000000000 Z
11
+ date: 2021-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus