Sha256: 392b0404fff1c649a84801a46f62761456335529e84dd3cdc1937bf18d3271f3

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

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

        # @return [OpenActive::Models::Schema::MonetaryAmount]
        define_property :floor_limit, as: "floorLimit", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
        ]

        # @return [Boolean,nil]
        define_property :contactless_payment, as: "contactlessPayment", types: [
          "bool",
          "null",
        ]

        # @return [Boolean,BigDecimal,nil]
        define_property :cash_back, as: "cashBack", types: [
          "bool",
          "Number",
          "null",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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