Sha256: ac377420591c150e8ef2cc6171498a3c8eca94c657d33b20fdd5c99ae7fe7ad2

Contents?: true

Size: 1.42 KB

Versions: 3

Compression:

Stored size: 1.42 KB

Contents

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

        # @return [OpenActive::Enums::Schema::MerchantReturnEnumeration,nil]
        define_property :return_policy_category, as: "returnPolicyCategory", types: [
          "OpenActive::Enums::Schema::MerchantReturnEnumeration",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::RefundTypeEnumeration,nil]
        define_property :refund_type, as: "refundType", types: [
          "OpenActive::Enums::Schema::RefundTypeEnumeration",
          "null",
        ]

        # @return [OpenActive::Enums::Schema::ReturnFeesEnumeration,nil]
        define_property :return_fees, as: "returnFees", types: [
          "OpenActive::Enums::Schema::ReturnFeesEnumeration",
          "null",
        ]

        # @return [URI]
        define_property :merchant_return_link, as: "merchantReturnLink", types: [
          "URI",
        ]

        # @return [int,nil]
        define_property :merchant_return_days, as: "merchantReturnDays", types: [
          "int",
          "null",
        ]

        # @return [Boolean,nil]
        define_property :in_store_returns_offered, as: "inStoreReturnsOffered", types: [
          "bool",
          "null",
        ]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
openactive-0.2.2 lib/openactive/models/schema/merchant_return_policy.rb
openactive-0.2.1 lib/openactive/models/schema/merchant_return_policy.rb
openactive-0.2.0 lib/openactive/models/schema/merchant_return_policy.rb