lib/openactive/models/tax_charge_specification.rb in openactive-0.1.2 vs lib/openactive/models/tax_charge_specification.rb in openactive-0.2.0
- old
+ new
@@ -1,8 +1,8 @@
module OpenActive
module Models
- # This type is derived from [PriceSpecification](https://schema.org/PriceSpecification), which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.
+ # This type is derived from https://schema.org/PriceSpecification, which means that any of this type's properties within schema.org may also be used.
class TaxChargeSpecification < ::OpenActive::Models::PriceSpecification
# @!attribute type
# @return [String]
def type
"TaxChargeSpecification"
@@ -18,9 +18,15 @@
]
# @return [String]
define_property :name, as: "name", types: [
"string",
+ ]
+
+ # @return [OpenActive::Enums::RequiredStatusType,nil]
+ define_property :open_booking_prepayment, as: "openBookingPrepayment", types: [
+ "OpenActive::Enums::RequiredStatusType",
+ "null",
]
# @return [BigDecimal,nil]
define_property :price, as: "price", types: [
"Number",