lib/openactive/models/offer.rb in openactive-0.2.2 vs lib/openactive/models/offer.rb in openactive-0.3.0
- old
+ new
@@ -47,10 +47,15 @@
define_property :allow_customer_cancellation_full_refund, as: "allowCustomerCancellationFullRefund", types: [
"bool",
"null",
]
+ # @return [Array<OpenActive::Models::Concept>]
+ define_property :eligible_entitlement_type, as: "eligibleEntitlementType", types: [
+ "OpenActive::Models::Concept[]",
+ ]
+
# @return [ActiveSupport::Duration,nil]
define_property :latest_cancellation_before_start_date, as: "latestCancellationBeforeStartDate", types: [
"DateInterval",
"null",
]
@@ -89,9 +94,15 @@
"URI",
]
# @return [ActiveSupport::Duration,nil]
define_property :valid_from_before_start_date, as: "validFromBeforeStartDate", types: [
+ "DateInterval",
+ "null",
+ ]
+
+ # @return [ActiveSupport::Duration,nil]
+ define_property :valid_through_before_start_date, as: "validThroughBeforeStartDate", types: [
"DateInterval",
"null",
]
# @return [OpenActive::Models::QuantitativeValue]