smplkit 3.0.41 → 3.0.42

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: cd558656fe0a740c9f566e9479b97975472061e521b6e9a8137aadd583a4622c
4
- data.tar.gz: 9fbb986941c0af6506c438dacfc206d977d857c7fbf88db7e5f2f6b56560dd15
3
+ metadata.gz: cfcf436010e02d7da188275c65a92f7f33ac83619089d691039724d1706ffd3b
4
+ data.tar.gz: cd4b7791b4a23f252a8d74066a3b2564d04a84d3da5ecc68646e2f7182c5cfc3
5
5
  SHA512:
6
- metadata.gz: 418bdfa0629ce9b28f24c7f87ed3edac82cabdb01b5951340d8f82aae88af144315c46a0c97ddbed89f7dfd79f1629280f08a3e1697e7e57c3455649a701ac18
7
- data.tar.gz: 6156290e1a5f35fe4703e7ea3b7f65216d0c0318529edc136ad477efce3b95dbe9d2d8497bc91495140d58b8792c8540bbc3be3ec2f7230387d5cd5df1748caa
6
+ metadata.gz: 5b2a35b18aa5fff841d1807a8d104f9d9ba5c71901a0fbfaa23f4605d76fe295dcfcd69fc745950dd05920e1a0bdb94d56d69be5a5bd2d4dfcabab26a13f1a2a
7
+ data.tar.gz: 5daf601fefb271b4d2aea012791455404c0ed8ecca79532edb63b1d2ca9cb258520f43cef0fb436f02b929d428204ec24402bd92150e849b24db8c9bec2276df
@@ -43,18 +43,9 @@ module SmplkitGeneratedClient::App
43
43
  # Whether the account is currently configured to display the sample dataset alongside the customer's own resources.
44
44
  attr_accessor :show_sample_data
45
45
 
46
- # Custom discount percentage applied to the account in place of the volume-based discount schedule. `null` means the volume schedule applies.
46
+ # Custom discount percentage applied to the account in place of the volume-based discount schedule. `null` means the volume schedule applies. Who set it, when, and why are captured in the audit-event stream rather than on the subscription row.
47
47
  attr_accessor :discount_override_pct
48
48
 
49
- # Free-form note explaining why the override was set.
50
- attr_accessor :discount_override_reason
51
-
52
- # UUID of the user who set the override.
53
- attr_accessor :discount_override_set_by_user_id
54
-
55
- # When the override was last changed.
56
- attr_accessor :discount_override_set_at
57
-
58
49
  # Attribute mapping from ruby-style variable name to JSON key.
59
50
  def self.attribute_map
60
51
  {
@@ -67,10 +58,7 @@ module SmplkitGeneratedClient::App
67
58
  :'product_subscriptions' => :'product_subscriptions',
68
59
  :'entry_point' => :'entry_point',
69
60
  :'show_sample_data' => :'show_sample_data',
70
- :'discount_override_pct' => :'discount_override_pct',
71
- :'discount_override_reason' => :'discount_override_reason',
72
- :'discount_override_set_by_user_id' => :'discount_override_set_by_user_id',
73
- :'discount_override_set_at' => :'discount_override_set_at'
61
+ :'discount_override_pct' => :'discount_override_pct'
74
62
  }
75
63
  end
76
64
 
@@ -96,10 +84,7 @@ module SmplkitGeneratedClient::App
96
84
  :'product_subscriptions' => :'Hash<String, Object>',
97
85
  :'entry_point' => :'String',
98
86
  :'show_sample_data' => :'Boolean',
99
- :'discount_override_pct' => :'Integer',
100
- :'discount_override_reason' => :'String',
101
- :'discount_override_set_by_user_id' => :'String',
102
- :'discount_override_set_at' => :'Time'
87
+ :'discount_override_pct' => :'Integer'
103
88
  }
104
89
  end
105
90
 
@@ -113,10 +98,7 @@ module SmplkitGeneratedClient::App
113
98
  :'product_subscriptions',
114
99
  :'entry_point',
115
100
  :'show_sample_data',
116
- :'discount_override_pct',
117
- :'discount_override_reason',
118
- :'discount_override_set_by_user_id',
119
- :'discount_override_set_at'
101
+ :'discount_override_pct'
120
102
  ])
121
103
  end
122
104
 
@@ -181,18 +163,6 @@ module SmplkitGeneratedClient::App
181
163
  if attributes.key?(:'discount_override_pct')
182
164
  self.discount_override_pct = attributes[:'discount_override_pct']
183
165
  end
184
-
185
- if attributes.key?(:'discount_override_reason')
186
- self.discount_override_reason = attributes[:'discount_override_reason']
187
- end
188
-
189
- if attributes.key?(:'discount_override_set_by_user_id')
190
- self.discount_override_set_by_user_id = attributes[:'discount_override_set_by_user_id']
191
- end
192
-
193
- if attributes.key?(:'discount_override_set_at')
194
- self.discount_override_set_at = attributes[:'discount_override_set_at']
195
- end
196
166
  end
197
167
 
198
168
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -248,10 +218,7 @@ module SmplkitGeneratedClient::App
248
218
  product_subscriptions == o.product_subscriptions &&
249
219
  entry_point == o.entry_point &&
250
220
  show_sample_data == o.show_sample_data &&
251
- discount_override_pct == o.discount_override_pct &&
252
- discount_override_reason == o.discount_override_reason &&
253
- discount_override_set_by_user_id == o.discount_override_set_by_user_id &&
254
- discount_override_set_at == o.discount_override_set_at
221
+ discount_override_pct == o.discount_override_pct
255
222
  end
256
223
 
257
224
  # @see the `==` method
@@ -263,7 +230,7 @@ module SmplkitGeneratedClient::App
263
230
  # Calculates hash code according to all attributes.
264
231
  # @return [Integer] Hash code
265
232
  def hash
266
- [name, key, has_stripe_customer, expires_at, created_at, deleted_at, product_subscriptions, entry_point, show_sample_data, discount_override_pct, discount_override_reason, discount_override_set_by_user_id, discount_override_set_at].hash
233
+ [name, key, has_stripe_customer, expires_at, created_at, deleted_at, product_subscriptions, entry_point, show_sample_data, discount_override_pct].hash
267
234
  end
268
235
 
269
236
  # Builds the object from hash
@@ -87,22 +87,4 @@ describe SmplkitGeneratedClient::App::Account do
87
87
  end
88
88
  end
89
89
 
90
- describe 'test attribute "discount_override_reason"' do
91
- it 'should work' do
92
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
- end
94
- end
95
-
96
- describe 'test attribute "discount_override_set_by_user_id"' do
97
- it 'should work' do
98
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
- end
100
- end
101
-
102
- describe 'test attribute "discount_override_set_at"' do
103
- it 'should work' do
104
- # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
105
- end
106
- end
107
-
108
90
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smplkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.41
4
+ version: 3.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Smpl Solutions LLC