lib/openactive/models/schema/repayment_specification.rb in openactive-0.2.2 vs lib/openactive/models/schema/repayment_specification.rb in openactive-0.3.0

- old
+ new

@@ -6,20 +6,26 @@ # @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,URI] - define_property :loan_payment_amount, as: "loanPaymentAmount", types: [ + define_property :early_prepayment_penalty, as: "earlyPrepaymentPenalty", types: [ "OpenActive::Models::Schema::MonetaryAmount", "URI", ] - # @return [BigDecimal,nil] - define_property :number_of_loan_payments, as: "numberOfLoanPayments", types: [ - "Number", - "null", + # @return [OpenActive::Models::Schema::MonetaryAmount,URI] + define_property :loan_payment_amount, as: "loanPaymentAmount", types: [ + "OpenActive::Models::Schema::MonetaryAmount", + "URI", ] # @return [BigDecimal,nil] define_property :loan_payment_frequency, as: "loanPaymentFrequency", types: [ "Number", @@ -30,15 +36,9 @@ define_property :down_payment, as: "downPayment", types: [ "Number", "OpenActive::Models::Schema::MonetaryAmount", "URI", "null", - ] - - # @return [OpenActive::Models::Schema::MonetaryAmount,URI] - define_property :early_prepayment_penalty, as: "earlyPrepaymentPenalty", types: [ - "OpenActive::Models::Schema::MonetaryAmount", - "URI", ] end end end end