lib/openactive/models/payment.rb in openactive-0.1.2 vs lib/openactive/models/payment.rb in openactive-0.2.0

- old
+ new

@@ -1,21 +1,18 @@ module OpenActive module Models + # This type is derived from https://schema.org/Thing, which means that any of this type's properties within schema.org may also be used. class Payment < ::OpenActive::Models::Schema::Thing # @!attribute type # @return [String] def type "Payment" end - # @return [int,String,OpenActive::Models::PropertyValue,Array<OpenActive::Models::PropertyValue>,nil] + # @return [String] define_property :identifier, as: "identifier", types: [ - "int", "string", - "OpenActive::Models::PropertyValue", - "OpenActive::Models::PropertyValue[]", - "null", ] # @return [String] define_property :name, as: "name", types: [ "string", @@ -24,12 +21,17 @@ # @return [String] define_property :account_id, as: "accountId", types: [ "string", ] - # @return [OpenActive::Enums::Schema::PaymentMethod,nil] + # @return [Array<OpenActive::Models::PropertyValue>] + define_property :additional_property, as: "additionalProperty", types: [ + "OpenActive::Models::PropertyValue[]", + ] + + # @return [OpenActive::Enums::PaymentMethod,nil] define_property :payment_method, as: "paymentMethod", types: [ - "OpenActive::Enums::Schema::PaymentMethod", + "OpenActive::Enums::PaymentMethod", "null", ] # @return [String] define_property :payment_provider_id, as: "paymentProviderId", types: [