lib/openactive/models/schema/shipping_rate_settings.rb in openactive-0.2.2 vs lib/openactive/models/schema/shipping_rate_settings.rb in openactive-0.3.0
- old
+ new
@@ -6,22 +6,10 @@
# @return [String]
def type
"schema:ShippingRateSettings"
end
- # @return [Boolean,nil]
- define_property :is_unlabelled_fallback, as: "isUnlabelledFallback", types: [
- "bool",
- "null",
- ]
-
- # @return [OpenActive::Models::Schema::MonetaryAmount,URI]
- define_property :shipping_rate, as: "shippingRate", types: [
- "OpenActive::Models::Schema::MonetaryAmount",
- "URI",
- ]
-
# @return [OpenActive::Models::Schema::DefinedRegion,URI]
define_property :shipping_destination, as: "shippingDestination", types: [
"OpenActive::Models::Schema::DefinedRegion",
"URI",
]
@@ -35,13 +23,25 @@
# @return [String]
define_property :shipping_label, as: "shippingLabel", types: [
"string",
]
- # @return [OpenActive::Models::Schema::DeliveryChargeSpecification,OpenActive::Models::Schema::MonetaryAmount,URI]
+ # @return [Boolean,nil]
+ define_property :is_unlabelled_fallback, as: "isUnlabelledFallback", types: [
+ "bool",
+ "null",
+ ]
+
+ # @return [OpenActive::Models::Schema::MonetaryAmount,URI]
+ define_property :shipping_rate, as: "shippingRate", types: [
+ "OpenActive::Models::Schema::MonetaryAmount",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::MonetaryAmount,OpenActive::Models::Schema::DeliveryChargeSpecification,URI]
define_property :free_shipping_threshold, as: "freeShippingThreshold", types: [
- "OpenActive::Models::Schema::DeliveryChargeSpecification",
"OpenActive::Models::Schema::MonetaryAmount",
+ "OpenActive::Models::Schema::DeliveryChargeSpecification",
"URI",
]
end
end
end