Sha256: ceb35e3d41bf7d95d07aec6db9ee82d13828d490c2688fcefd19f7a349b71fdb
Contents?: true
Size: 1.31 KB
Versions: 2
Compression:
Stored size: 1.31 KB
Contents
module OpenActive module Models module Schema class MonetaryAmount < ::OpenActive::Models::Schema::StructuredValue # @!attribute type # @return [String] def type "schema:MonetaryAmount" end # @return [Date,DateTime,nil] define_property :valid_from, as: "validFrom", types: [ "Date", "DateTime", "null", ] # @return [String] define_property :currency, as: "currency", types: [ "string", ] # @return [BigDecimal,Boolean,String,OpenActive::Models::Schema::StructuredValue,URI,nil] define_property :value, as: "value", types: [ "Number", "bool", "string", "OpenActive::Models::Schema::StructuredValue", "URI", "null", ] # @return [Date,DateTime,nil] define_property :valid_through, as: "validThrough", types: [ "Date", "DateTime", "null", ] # @return [BigDecimal,nil] define_property :max_value, as: "maxValue", types: [ "Number", "null", ] # @return [BigDecimal,nil] define_property :min_value, as: "minValue", types: [ "Number", "null", ] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
openactive-0.5.0 | lib/openactive/models/schema/monetary_amount.rb |
openactive-0.4.0 | lib/openactive/models/schema/monetary_amount.rb |