zippendo 1.2.6 → 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
@@ -11,5 +11,5 @@ Generator version: 7.24.0
11
11
  =end
12
12
 
13
13
  module Zippendo
14
- VERSION = '1.2.6'
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.6
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