zippendo 1.2.5 → 1.2.7

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.
@@ -47,6 +47,9 @@ module Zippendo
47
47
  # ID of the shipping rule to apply.
48
48
  attr_accessor :shipping_rule_id
49
49
 
50
+ # Service point (parcel shop) ID to apply to unsent outbound shipments.
51
+ attr_accessor :service_point_id
52
+
50
53
  class EnumAttributeValidator
51
54
  attr_reader :datatype
52
55
  attr_reader :allowable_values
@@ -82,7 +85,8 @@ module Zippendo
82
85
  :'currency' => :'currency',
83
86
  :'notes' => :'notes',
84
87
  :'status' => :'status',
85
- :'shipping_rule_id' => :'shippingRuleId'
88
+ :'shipping_rule_id' => :'shippingRuleId',
89
+ :'service_point_id' => :'servicePointId'
86
90
  }
87
91
  end
88
92
 
@@ -109,7 +113,8 @@ module Zippendo
109
113
  :'currency' => :'String',
110
114
  :'notes' => :'String',
111
115
  :'status' => :'String',
112
- :'shipping_rule_id' => :'String'
116
+ :'shipping_rule_id' => :'String',
117
+ :'service_point_id' => :'String'
113
118
  }
114
119
  end
115
120
 
@@ -123,7 +128,8 @@ module Zippendo
123
128
  :'total_amount',
124
129
  :'currency',
125
130
  :'notes',
126
- :'shipping_rule_id'
131
+ :'shipping_rule_id',
132
+ :'service_point_id'
127
133
  ])
128
134
  end
129
135
 
@@ -188,6 +194,10 @@ module Zippendo
188
194
  if attributes.key?(:'shipping_rule_id')
189
195
  self.shipping_rule_id = attributes[:'shipping_rule_id']
190
196
  end
197
+
198
+ if attributes.key?(:'service_point_id')
199
+ self.service_point_id = attributes[:'service_point_id']
200
+ end
191
201
  end
192
202
 
193
203
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -341,7 +351,8 @@ module Zippendo
341
351
  currency == o.currency &&
342
352
  notes == o.notes &&
343
353
  status == o.status &&
344
- shipping_rule_id == o.shipping_rule_id
354
+ shipping_rule_id == o.shipping_rule_id &&
355
+ service_point_id == o.service_point_id
345
356
  end
346
357
 
347
358
  # @see the `==` method
@@ -353,7 +364,7 @@ module Zippendo
353
364
  # Calculates hash code according to all attributes.
354
365
  # @return [Integer] Hash code
355
366
  def hash
356
- [order_number, customer_name, customer_email, shipping_address, order_lines, subtotal_amount, total_amount, currency, notes, status, shipping_rule_id].hash
367
+ [order_number, customer_name, customer_email, shipping_address, order_lines, subtotal_amount, total_amount, currency, notes, status, shipping_rule_id, service_point_id].hash
357
368
  end
358
369
 
359
370
  # Builds the object from hash
@@ -30,9 +30,6 @@ module Zippendo
30
30
  # Company VAT/tax ID for invoices
31
31
  attr_accessor :vat_number
32
32
 
33
- # Allow shipments beyond plan limit (overage charges apply)
34
- attr_accessor :overage_enabled
35
-
36
33
  # Billing/contact phone number
37
34
  attr_accessor :phone
38
35
 
@@ -90,7 +87,6 @@ module Zippendo
90
87
  :'description' => :'description',
91
88
  :'currency' => :'currency',
92
89
  :'vat_number' => :'vatNumber',
93
- :'overage_enabled' => :'overageEnabled',
94
90
  :'phone' => :'phone',
95
91
  :'billing_email' => :'billingEmail',
96
92
  :'company_name' => :'companyName',
@@ -121,7 +117,6 @@ module Zippendo
121
117
  :'description' => :'String',
122
118
  :'currency' => :'String',
123
119
  :'vat_number' => :'String',
124
- :'overage_enabled' => :'Boolean',
125
120
  :'phone' => :'String',
126
121
  :'billing_email' => :'String',
127
122
  :'company_name' => :'String',
@@ -186,10 +181,6 @@ module Zippendo
186
181
  self.vat_number = attributes[:'vat_number']
187
182
  end
188
183
 
189
- if attributes.key?(:'overage_enabled')
190
- self.overage_enabled = attributes[:'overage_enabled']
191
- end
192
-
193
184
  if attributes.key?(:'phone')
194
185
  self.phone = attributes[:'phone']
195
186
  end
@@ -358,7 +349,6 @@ module Zippendo
358
349
  description == o.description &&
359
350
  currency == o.currency &&
360
351
  vat_number == o.vat_number &&
361
- overage_enabled == o.overage_enabled &&
362
352
  phone == o.phone &&
363
353
  billing_email == o.billing_email &&
364
354
  company_name == o.company_name &&
@@ -379,7 +369,7 @@ module Zippendo
379
369
  # Calculates hash code according to all attributes.
380
370
  # @return [Integer] Hash code
381
371
  def hash
382
- [name, slug, description, currency, vat_number, overage_enabled, phone, billing_email, company_name, address_line1, address_line2, city, postal_code, country, customs].hash
372
+ [name, slug, description, currency, vat_number, phone, billing_email, company_name, address_line1, address_line2, city, postal_code, country, customs].hash
383
373
  end
384
374
 
385
375
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.24.0
11
11
  =end
12
12
 
13
13
  module Zippendo
14
- VERSION = '1.2.5'
14
+ VERSION = '1.2.7'
15
15
  end
data/lib/zippendo.rb CHANGED
@@ -93,7 +93,10 @@ require 'zippendo/models/get_billing_usage200_response_limits_team_members'
93
93
  require 'zippendo/models/get_billing_usage200_response_shipments'
94
94
  require 'zippendo/models/get_billing_usage200_response_zippy_messages'
95
95
  require 'zippendo/models/get_order200_response'
96
+ require 'zippendo/models/get_order200_response_order_lines_inner'
96
97
  require 'zippendo/models/get_order200_response_shipments_inner'
98
+ require 'zippendo/models/get_order200_response_shipments_inner_parcels_inner'
99
+ require 'zippendo/models/get_order200_response_shipments_inner_parcels_inner_order_lines_inner'
97
100
  require 'zippendo/models/get_order200_response_shipping_rule'
98
101
  require 'zippendo/models/get_order_channel_webhook_status200_response'
99
102
  require 'zippendo/models/get_order_channel_webhook_status200_response_webhooks_inner'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zippendo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -169,7 +169,10 @@ files:
169
169
  - docs/GetBillingUsage200ResponseShipments.md
170
170
  - docs/GetBillingUsage200ResponseZippyMessages.md
171
171
  - docs/GetOrder200Response.md
172
+ - docs/GetOrder200ResponseOrderLinesInner.md
172
173
  - docs/GetOrder200ResponseShipmentsInner.md
174
+ - docs/GetOrder200ResponseShipmentsInnerParcelsInner.md
175
+ - docs/GetOrder200ResponseShipmentsInnerParcelsInnerOrderLinesInner.md
173
176
  - docs/GetOrder200ResponseShippingRule.md
174
177
  - docs/GetOrderChannelWebhookStatus200Response.md
175
178
  - docs/GetOrderChannelWebhookStatus200ResponseWebhooksInner.md
@@ -360,7 +363,10 @@ files:
360
363
  - lib/zippendo/models/get_billing_usage200_response_shipments.rb
361
364
  - lib/zippendo/models/get_billing_usage200_response_zippy_messages.rb
362
365
  - lib/zippendo/models/get_order200_response.rb
366
+ - lib/zippendo/models/get_order200_response_order_lines_inner.rb
363
367
  - lib/zippendo/models/get_order200_response_shipments_inner.rb
368
+ - lib/zippendo/models/get_order200_response_shipments_inner_parcels_inner.rb
369
+ - lib/zippendo/models/get_order200_response_shipments_inner_parcels_inner_order_lines_inner.rb
364
370
  - lib/zippendo/models/get_order200_response_shipping_rule.rb
365
371
  - lib/zippendo/models/get_order_channel_webhook_status200_response.rb
366
372
  - lib/zippendo/models/get_order_channel_webhook_status200_response_webhooks_inner.rb