Sha256: 14dbc8dd62293e721fe68869f2f779009c3180468233da67979de5ada48235f3

Contents?: true

Size: 1.05 KB

Versions: 4

Compression:

Stored size: 1.05 KB

Contents

module OpenActive
  module Models
    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]
      define_property :identifier, as: "identifier", types: [
        "int",
        "string",
        "OpenActive::Models::PropertyValue",
        "OpenActive::Models::PropertyValue[]",
        "null",
      ]

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

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

      # @return [OpenActive::Enums::Schema::PaymentMethod,nil]
      define_property :payment_method, as: "paymentMethod", types: [
        "OpenActive::Enums::Schema::PaymentMethod",
        "null",
      ]

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openactive-0.1.2 lib/openactive/models/payment.rb
openactive-0.1.1 lib/openactive/models/payment.rb
openactive-0.1.0 lib/openactive/models/payment.rb
openactive-0.1.0.rc1 lib/openactive/models/payment.rb