lib/openactive/models/offer_override.rb in openactive-0.2.2 vs lib/openactive/models/offer_override.rb in openactive-0.3.0
- old
+ new
@@ -22,10 +22,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",
]
@@ -42,9 +47,15 @@
"null",
]
# @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",
]
end
end