Sha256: d04872764e45b4492b800a0fe050d49e78851244efb1e73cec6abe8a03e824a6

Contents?: true

Size: 1.1 KB

Versions: 2

Compression:

Stored size: 1.1 KB

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,URI]
        define_property :floor_limit, as: "floorLimit", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
          "URI",
        ]

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

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

        # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
        define_property :monthly_minimum_repayment_amount, as: "monthlyMinimumRepaymentAmount", types: [
          "Number",
          "OpenActive::Models::Schema::MonetaryAmount",
          "URI",
          "null",
        ]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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