Sha256: 2b26ed4804a221cbfc140e2a1d578abd1e4f0e862b51d116530ed774a43d8742

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

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

        # @return [BigDecimal,nil]
        define_property :number_of_loan_payments, as: "numberOfLoanPayments", types: [
          "Number",
          "null",
        ]

        # @return [OpenActive::Models::Schema::MonetaryAmount]
        define_property :loan_payment_amount, as: "loanPaymentAmount", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
        ]

        # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,nil]
        define_property :down_payment, as: "downPayment", types: [
          "Number",
          "OpenActive::Models::Schema::MonetaryAmount",
          "null",
        ]

        # @return [BigDecimal,nil]
        define_property :loan_payment_frequency, as: "loanPaymentFrequency", types: [
          "Number",
          "null",
        ]

        # @return [OpenActive::Models::Schema::MonetaryAmount]
        define_property :early_prepayment_penalty, as: "earlyPrepaymentPenalty", types: [
          "OpenActive::Models::Schema::MonetaryAmount",
        ]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

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