zippendo 1.2.3 → 1.2.4

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: de745c53ec4af659f9d23f36e914f890ff4ba74ca44670b326a9f9bb64ec9bc7
4
- data.tar.gz: 0ba4ff70060821955278da40317a3eedd9a27b9bf76b2836a50fb53dad1e9e43
3
+ metadata.gz: 54a0193feed7732ed8b6fa3deb76a66fec604b1cbc0eec7255f725d31fd8961a
4
+ data.tar.gz: a144d85c5cac5187193835d1bc8a783c77c6e4fc859d1122297a8c6fdd8ec2f9
5
5
  SHA512:
6
- metadata.gz: 1acd8d38560fafd8c8c4d57ff46c7288eef738f2ce3cbca032e5b27b7d40a1077e5097e44d437c9afc366b34eae6dbba146fc5d7bceaf3c8dbe5743c43869bd6
7
- data.tar.gz: 5fe42362fa02d51dfbf602e49145fa73dd7e3466904f8c939d0942737e75c5e588b1fc5da4279c6beff11de3e8fc8f254053744e5916b6f972afec29a3edb8da
6
+ metadata.gz: 9b8b5b3b91edf4ab152533523da8be766eb5d9e3f855fd20d19182e4a0ca7398449db5d0be47e7297f2fb2febf357ce1496703f5e6e61eb4b53b08d7715acf9b
7
+ data.tar.gz: 4243c74c12fd3747c86f1fbcaf2bc836914b13e4e038f730fbc746e1b598887ec3f76064de9420ca607c20e71d846bbb273847b1b60153eec2d6eca21615cc46
@@ -15,6 +15,8 @@
15
15
  | **optional_fields** | [**Array<ListAvailableCarriers200ResponseInnerRequiredFieldsInner>**](ListAvailableCarriers200ResponseInnerRequiredFieldsInner.md) | Optional configuration fields for the carrier | [optional] |
16
16
  | **deprecated** | **Boolean** | Whether this integration is deprecated (still works, but discouraged) | [optional] |
17
17
  | **deprecation_message** | **String** | Guidance shown alongside the deprecated tag (e.g. what to migrate to) | [optional] |
18
+ | **generates_customs_documents** | **Boolean** | Whether the carrier produces the customs declaration (CN22/CN23) itself and returns it with the label. | [optional] |
19
+ | **generates_commercial_invoice** | **Boolean** | Whether the carrier produces the commercial invoice itself and returns it with the label, e.g. via electronic trade documents. | [optional] |
18
20
 
19
21
  ## Example
20
22
 
@@ -32,7 +34,9 @@ instance = Zippendo::ListAvailableCarriers200ResponseInner.new(
32
34
  required_fields: null,
33
35
  optional_fields: null,
34
36
  deprecated: true,
35
- deprecation_message: The standalone Instabox API is deprecated. Migrate to the Instabee-powered Instabox integration.
37
+ deprecation_message: The standalone Instabox API is deprecated. Migrate to the Instabee-powered Instabox integration.,
38
+ generates_customs_documents: true,
39
+ generates_commercial_invoice: true
36
40
  )
37
41
  ```
38
42
 
@@ -16,6 +16,8 @@
16
16
  | **brand_color** | **String** | Carrier brand color (hex) | [optional] |
17
17
  | **deprecated** | **Boolean** | Whether this carrier integration is deprecated (still works, but discouraged) | [optional] |
18
18
  | **deprecation_message** | **String** | Guidance shown alongside the deprecated tag (e.g. what to migrate to) | [optional] |
19
+ | **generates_customs_documents** | **Boolean** | Whether the carrier produces the customs declaration (CN22/CN23) itself and returns it with the label. | [optional] |
20
+ | **generates_commercial_invoice** | **Boolean** | Whether the carrier produces the commercial invoice itself and returns it with the label, e.g. via electronic trade documents. | [optional] |
19
21
 
20
22
  ## Example
21
23
 
@@ -34,7 +36,9 @@ instance = Zippendo::ListCarriers200ResponseDataInner.new(
34
36
  logo: https://cdn.zippendo.com/logos/postnord.svg,
35
37
  brand_color: #005BAA,
36
38
  deprecated: true,
37
- deprecation_message: The standalone Instabox API is deprecated. Migrate to the Instabee-powered Instabox integration.
39
+ deprecation_message: The standalone Instabox API is deprecated. Migrate to the Instabee-powered Instabox integration.,
40
+ generates_customs_documents: true,
41
+ generates_commercial_invoice: true
38
42
  )
39
43
  ```
40
44
 
@@ -48,6 +48,12 @@ module Zippendo
48
48
  # Guidance shown alongside the deprecated tag (e.g. what to migrate to)
49
49
  attr_accessor :deprecation_message
50
50
 
51
+ # Whether the carrier produces the customs declaration (CN22/CN23) itself and returns it with the label.
52
+ attr_accessor :generates_customs_documents
53
+
54
+ # Whether the carrier produces the commercial invoice itself and returns it with the label, e.g. via electronic trade documents.
55
+ attr_accessor :generates_commercial_invoice
56
+
51
57
  # Attribute mapping from ruby-style variable name to JSON key.
52
58
  def self.attribute_map
53
59
  {
@@ -61,7 +67,9 @@ module Zippendo
61
67
  :'required_fields' => :'requiredFields',
62
68
  :'optional_fields' => :'optionalFields',
63
69
  :'deprecated' => :'deprecated',
64
- :'deprecation_message' => :'deprecationMessage'
70
+ :'deprecation_message' => :'deprecationMessage',
71
+ :'generates_customs_documents' => :'generatesCustomsDocuments',
72
+ :'generates_commercial_invoice' => :'generatesCommercialInvoice'
65
73
  }
66
74
  end
67
75
 
@@ -88,7 +96,9 @@ module Zippendo
88
96
  :'required_fields' => :'Array<ListAvailableCarriers200ResponseInnerRequiredFieldsInner>',
89
97
  :'optional_fields' => :'Array<ListAvailableCarriers200ResponseInnerRequiredFieldsInner>',
90
98
  :'deprecated' => :'Boolean',
91
- :'deprecation_message' => :'String'
99
+ :'deprecation_message' => :'String',
100
+ :'generates_customs_documents' => :'Boolean',
101
+ :'generates_commercial_invoice' => :'Boolean'
92
102
  }
93
103
  end
94
104
 
@@ -165,6 +175,14 @@ module Zippendo
165
175
  if attributes.key?(:'deprecation_message')
166
176
  self.deprecation_message = attributes[:'deprecation_message']
167
177
  end
178
+
179
+ if attributes.key?(:'generates_customs_documents')
180
+ self.generates_customs_documents = attributes[:'generates_customs_documents']
181
+ end
182
+
183
+ if attributes.key?(:'generates_commercial_invoice')
184
+ self.generates_commercial_invoice = attributes[:'generates_commercial_invoice']
185
+ end
168
186
  end
169
187
 
170
188
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -227,7 +245,9 @@ module Zippendo
227
245
  required_fields == o.required_fields &&
228
246
  optional_fields == o.optional_fields &&
229
247
  deprecated == o.deprecated &&
230
- deprecation_message == o.deprecation_message
248
+ deprecation_message == o.deprecation_message &&
249
+ generates_customs_documents == o.generates_customs_documents &&
250
+ generates_commercial_invoice == o.generates_commercial_invoice
231
251
  end
232
252
 
233
253
  # @see the `==` method
@@ -239,7 +259,7 @@ module Zippendo
239
259
  # Calculates hash code according to all attributes.
240
260
  # @return [Integer] Hash code
241
261
  def hash
242
- [name, slug, group, description, logo, brand_color, learn_more_url, required_fields, optional_fields, deprecated, deprecation_message].hash
262
+ [name, slug, group, description, logo, brand_color, learn_more_url, required_fields, optional_fields, deprecated, deprecation_message, generates_customs_documents, generates_commercial_invoice].hash
243
263
  end
244
264
 
245
265
  # Builds the object from hash
@@ -51,6 +51,12 @@ module Zippendo
51
51
  # Guidance shown alongside the deprecated tag (e.g. what to migrate to)
52
52
  attr_accessor :deprecation_message
53
53
 
54
+ # Whether the carrier produces the customs declaration (CN22/CN23) itself and returns it with the label.
55
+ attr_accessor :generates_customs_documents
56
+
57
+ # Whether the carrier produces the commercial invoice itself and returns it with the label, e.g. via electronic trade documents.
58
+ attr_accessor :generates_commercial_invoice
59
+
54
60
  # Attribute mapping from ruby-style variable name to JSON key.
55
61
  def self.attribute_map
56
62
  {
@@ -65,7 +71,9 @@ module Zippendo
65
71
  :'logo' => :'logo',
66
72
  :'brand_color' => :'brandColor',
67
73
  :'deprecated' => :'deprecated',
68
- :'deprecation_message' => :'deprecationMessage'
74
+ :'deprecation_message' => :'deprecationMessage',
75
+ :'generates_customs_documents' => :'generatesCustomsDocuments',
76
+ :'generates_commercial_invoice' => :'generatesCommercialInvoice'
69
77
  }
70
78
  end
71
79
 
@@ -93,7 +101,9 @@ module Zippendo
93
101
  :'logo' => :'String',
94
102
  :'brand_color' => :'String',
95
103
  :'deprecated' => :'Boolean',
96
- :'deprecation_message' => :'String'
104
+ :'deprecation_message' => :'String',
105
+ :'generates_customs_documents' => :'Boolean',
106
+ :'generates_commercial_invoice' => :'Boolean'
97
107
  }
98
108
  end
99
109
 
@@ -185,6 +195,14 @@ module Zippendo
185
195
  if attributes.key?(:'deprecation_message')
186
196
  self.deprecation_message = attributes[:'deprecation_message']
187
197
  end
198
+
199
+ if attributes.key?(:'generates_customs_documents')
200
+ self.generates_customs_documents = attributes[:'generates_customs_documents']
201
+ end
202
+
203
+ if attributes.key?(:'generates_commercial_invoice')
204
+ self.generates_commercial_invoice = attributes[:'generates_commercial_invoice']
205
+ end
188
206
  end
189
207
 
190
208
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -323,7 +341,9 @@ module Zippendo
323
341
  logo == o.logo &&
324
342
  brand_color == o.brand_color &&
325
343
  deprecated == o.deprecated &&
326
- deprecation_message == o.deprecation_message
344
+ deprecation_message == o.deprecation_message &&
345
+ generates_customs_documents == o.generates_customs_documents &&
346
+ generates_commercial_invoice == o.generates_commercial_invoice
327
347
  end
328
348
 
329
349
  # @see the `==` method
@@ -335,7 +355,7 @@ module Zippendo
335
355
  # Calculates hash code according to all attributes.
336
356
  # @return [Integer] Hash code
337
357
  def hash
338
- [id, name, carrier_slug, config, org_id, brand_id, created_at, updated_at, logo, brand_color, deprecated, deprecation_message].hash
358
+ [id, name, carrier_slug, config, org_id, brand_id, created_at, updated_at, logo, brand_color, deprecated, deprecation_message, generates_customs_documents, generates_commercial_invoice].hash
339
359
  end
340
360
 
341
361
  # 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.3'
14
+ VERSION = '1.2.4'
15
15
  end
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.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator