Sha256: bce32157e650d2554e0d879ecdefea35cdc68eff35e2e45dc55addcfff4e1dd7
Contents?: true
Size: 1.29 KB
Versions: 4
Compression:
Stored size: 1.29 KB
Contents
module OpenActive module Models module Schema class MonetaryAmount < ::OpenActive::Models::Schema::StructuredValue # @!attribute type # @return [String] def type "schema:MonetaryAmount" end # @return [BigDecimal,nil] define_property :max_value, as: "maxValue", types: [ "Number", "null", ] # @return [Date,DateTime,nil] define_property :valid_through, as: "validThrough", types: [ "Date", "DateTime", "null", ] # @return [DateTime,Date,nil] define_property :valid_from, as: "validFrom", types: [ "DateTime", "Date", "null", ] # @return [String] define_property :currency, as: "currency", types: [ "string", ] # @return [OpenActive::Models::Schema::StructuredValue,String,BigDecimal,Boolean,nil] define_property :value, as: "value", types: [ "OpenActive::Models::Schema::StructuredValue", "string", "Number", "bool", "null", ] # @return [BigDecimal,nil] define_property :min_value, as: "minValue", types: [ "Number", "null", ] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems