Sha256: babec9db5f213598f6c80a9cf8696bec168deae42ce12422538b24e6345961de

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

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 [String]
      define_property :identifier, as: "identifier", types: [
        "string",
      ]

      # @return [String]
      define_property :name, as: "name", types: [
        "string",
      ]

      # @return [String]
      define_property :account_id, as: "accountId", types: [
        "string",
      ]

      # @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::PaymentMethod",
        "null",
      ]

      # @return [String]
      define_property :payment_provider_id, as: "paymentProviderId", types: [
        "string",
      ]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/payment.rb
openactive-0.4.0 lib/openactive/models/payment.rb
openactive-0.3.0 lib/openactive/models/payment.rb
openactive-0.2.2 lib/openactive/models/payment.rb
openactive-0.2.1 lib/openactive/models/payment.rb
openactive-0.2.0 lib/openactive/models/payment.rb