lib/openactive/models/schema/unit_price_specification.rb in openactive-0.2.2 vs lib/openactive/models/schema/unit_price_specification.rb in openactive-0.3.0
- old
+ new
@@ -6,57 +6,57 @@
# @return [String]
def type
"schema:UnitPriceSpecification"
end
- # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
- define_property :reference_quantity, as: "referenceQuantity", types: [
- "OpenActive::Models::Schema::QuantitativeValue",
- "URI",
- ]
-
- # @return [BigDecimal,nil]
- define_property :billing_start, as: "billingStart", types: [
- "Number",
+ # @return [OpenActive::Enums::Schema::PriceTypeEnumeration,String,nil]
+ define_property :price_type, as: "priceType", types: [
+ "OpenActive::Enums::Schema::PriceTypeEnumeration",
+ "string",
"null",
]
# @return [String]
define_property :unit_text, as: "unitText", types: [
"string",
]
+ # @return [BigDecimal,nil]
+ define_property :billing_increment, as: "billingIncrement", types: [
+ "Number",
+ "null",
+ ]
+
# @return [String,URI]
define_property :unit_code, as: "unitCode", types: [
"string",
"URI",
]
- # @return [OpenActive::Enums::Schema::PriceComponentTypeEnumeration,nil]
- define_property :price_component_type, as: "priceComponentType", types: [
- "OpenActive::Enums::Schema::PriceComponentTypeEnumeration",
- "null",
- ]
-
- # @return [BigDecimal,nil]
- define_property :billing_increment, as: "billingIncrement", types: [
+ # @return [ActiveSupport::Duration,OpenActive::Models::Schema::QuantitativeValue,BigDecimal,URI,nil]
+ define_property :billing_duration, as: "billingDuration", types: [
+ "DateInterval",
+ "OpenActive::Models::Schema::QuantitativeValue",
"Number",
+ "URI",
"null",
]
- # @return [BigDecimal,ActiveSupport::Duration,OpenActive::Models::Schema::QuantitativeValue,URI,nil]
- define_property :billing_duration, as: "billingDuration", types: [
- "Number",
- "DateInterval",
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :reference_quantity, as: "referenceQuantity", types: [
"OpenActive::Models::Schema::QuantitativeValue",
"URI",
+ ]
+
+ # @return [OpenActive::Enums::Schema::PriceComponentTypeEnumeration,nil]
+ define_property :price_component_type, as: "priceComponentType", types: [
+ "OpenActive::Enums::Schema::PriceComponentTypeEnumeration",
"null",
]
- # @return [OpenActive::Enums::Schema::PriceTypeEnumeration,String,nil]
- define_property :price_type, as: "priceType", types: [
- "OpenActive::Enums::Schema::PriceTypeEnumeration",
- "string",
+ # @return [BigDecimal,nil]
+ define_property :billing_start, as: "billingStart", types: [
+ "Number",
"null",
]
end
end
end