Sha256: 3d7cd7d0eade3d158e97f314214051627fd51079995deb6157e6340584908f4f

Contents?: true

Size: 781 Bytes

Versions: 7

Compression:

Stored size: 781 Bytes

Contents

module OpenActive
  module Models
    module Schema
      class PaymentChargeSpecification < ::OpenActive::Models::Schema::PriceSpecification
        # @!attribute type
        # @return [String]
        def type
          "schema:PaymentChargeSpecification"
        end

        # @return [OpenActive::Enums::Schema::DeliveryMethod,nil]
        define_property :applies_to_delivery_method, as: "appliesToDeliveryMethod", types: [
          "OpenActive::Enums::Schema::DeliveryMethod",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::PaymentMethod,nil]
        define_property :applies_to_payment_method, as: "appliesToPaymentMethod", types: [
          "OpenActive::Enums::Schema::PaymentMethod",
          "null",
        ]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.2.1 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.2.0 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.1.2 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.1.1 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.1.0 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.1.0.rc1 lib/openactive/models/schema/payment_charge_specification.rb