ultracart_api 3.10.8 → 3.10.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e24468024bc0a064d4ac6a7be482b00b99185f525e073446b45db8aab2be2294
4
- data.tar.gz: fe8393e1c2e1c0f74701075d457bad6e8b9192cec8014c924bb52fedc9c915b9
3
+ metadata.gz: 603d657321ce8078894aaba843870897fef00eea8a8ce19cb69d17f1e246c275
4
+ data.tar.gz: d40ca2ed553e256be20343ffe8043a3de8d080404203dffab1861342a0ab0ddd
5
5
  SHA512:
6
- metadata.gz: 7fa00e0ae02f75340f5f28bc0ef30660a3528da6154a288c7f3006c7f55a91ab0279e6471108f7c635866be958f398d9554e192e0d785c5a042edff35d508333
7
- data.tar.gz: b7984cec0f373a3960ab81ef574e41be088a4f1e163cfd9b86dbc43773872877d9042bd06bbbda029b0b30ede7674fafc6cfc32bfedcc465994e73894b60b8c2
6
+ metadata.gz: 6c35877369e5979ba2e3988641fae8f764b157eab9f8a3b86c542f94bcc24ee1236fbe0d17c85289c5665693323de83815e94ea208d3e185e8e73c7c255b3814
7
+ data.tar.gz: afe3c28adb1bd2aeb6df8357438a6b8d18030646ce81eb35850d9ba80204720ab4222dfba277a76ac59425b071b2524366004df5a648d766614c2bc37413c8c8
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.8
10
+ - Package version: 3.10.9
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.8.gem
27
+ gem install ./ultracart_api-3.10.9.gem
28
28
  ```
29
- (for development, run `gem install --dev ./ultracart_api-3.10.8.gem` to install the development dependencies)
29
+ (for development, run `gem install --dev ./ultracart_api-3.10.9.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.8'
35
+ gem 'ultracart_api', '~> 3.10.9'
36
36
 
37
37
  ### Install from Git
38
38
 
@@ -1179,6 +1179,7 @@ Not every change is committed to every SDK.
1179
1179
 
1180
1180
  | Version | Date | Comments |
1181
1181
  | --: | :-: | --- |
1182
+ | 3.10.9 | 06/01/2022 | bug fixes for customer profile store credit |
1182
1183
  | 3.10.8 | 05/27/2022 | customer store credit |
1183
1184
  | 3.10.7 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
1184
1185
  | 3.10.6 | 05/23/2022 | add internal gift cert to order summary, addl provider info for storefront comm |
@@ -3,11 +3,11 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **available** | **Float** | | [optional]
7
- **expiring** | **Float** | | [optional]
8
- **future_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | | [optional]
9
- **past_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | | [optional]
10
- **total** | **Float** | | [optional]
11
- **vesting** | **Float** | | [optional]
6
+ **available** | **Float** | Available store credit which is defined as unused and vested | [optional]
7
+ **expiring** | **Float** | Amount of store credit expiring within 30 days | [optional]
8
+ **future_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | Array of future ledger entries including expiring entries | [optional]
9
+ **past_ledgers** | [**Array<CustomerStoreCreditLedgerEntry>**](CustomerStoreCreditLedgerEntry.md) | Array of past ledger entries including accrual, usage, and expiring entries | [optional]
10
+ **total** | **Float** | Total lifetime store credit for this customer. | [optional]
11
+ **vesting** | **Float** | Amount of store credit vesting | [optional]
12
12
 
13
13
 
@@ -14,16 +14,22 @@ require 'date'
14
14
 
15
15
  module UltracartClient
16
16
  class CustomerStoreCredit
17
+ # Available store credit which is defined as unused and vested
17
18
  attr_accessor :available
18
19
 
20
+ # Amount of store credit expiring within 30 days
19
21
  attr_accessor :expiring
20
22
 
23
+ # Array of future ledger entries including expiring entries
21
24
  attr_accessor :future_ledgers
22
25
 
26
+ # Array of past ledger entries including accrual, usage, and expiring entries
23
27
  attr_accessor :past_ledgers
24
28
 
29
+ # Total lifetime store credit for this customer.
25
30
  attr_accessor :total
26
31
 
32
+ # Amount of store credit vesting
27
33
  attr_accessor :vesting
28
34
 
29
35
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -31,8 +37,8 @@ module UltracartClient
31
37
  {
32
38
  :'available' => :'available',
33
39
  :'expiring' => :'expiring',
34
- :'future_ledgers' => :'futureLedgers',
35
- :'past_ledgers' => :'pastLedgers',
40
+ :'future_ledgers' => :'future_ledgers',
41
+ :'past_ledgers' => :'past_ledgers',
36
42
  :'total' => :'total',
37
43
  :'vesting' => :'vesting'
38
44
  }
@@ -66,14 +72,14 @@ module UltracartClient
66
72
  self.expiring = attributes[:'expiring']
67
73
  end
68
74
 
69
- if attributes.has_key?(:'futureLedgers')
70
- if (value = attributes[:'futureLedgers']).is_a?(Array)
75
+ if attributes.has_key?(:'future_ledgers')
76
+ if (value = attributes[:'future_ledgers']).is_a?(Array)
71
77
  self.future_ledgers = value
72
78
  end
73
79
  end
74
80
 
75
- if attributes.has_key?(:'pastLedgers')
76
- if (value = attributes[:'pastLedgers']).is_a?(Array)
81
+ if attributes.has_key?(:'past_ledgers')
82
+ if (value = attributes[:'past_ledgers']).is_a?(Array)
77
83
  self.past_ledgers = value
78
84
  end
79
85
  end
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.15-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module UltracartClient
14
- VERSION = '3.10.8'
14
+ VERSION = '3.10.9'
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.8
4
+ version: 3.10.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - UltraCart
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-27 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus