Sha256: ab162011b0de9dc598b0eff1c39b09b49c9d0f49765475ed19aea0357e63668d

Contents?: true

Size: 781 Bytes

Versions: 3

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::PaymentMethod,nil]
        define_property :applies_to_payment_method, as: "appliesToPaymentMethod", types: [
          "OpenActive::Enums::Schema::PaymentMethod",
          "null",
        ]

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.5.0 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.4.0 lib/openactive/models/schema/payment_charge_specification.rb
openactive-0.3.0 lib/openactive/models/schema/payment_charge_specification.rb