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

- old
+ new

@@ -6,63 +6,63 @@ # @return [String] def type "schema:LoanOrCredit" end - # @return [ActiveSupport::Duration,URI,nil] - define_property :grace_period, as: "gracePeriod", types: [ - "DateInterval", - "URI", + # @return [Boolean,nil] + define_property :renegotiable_loan, as: "renegotiableLoan", types: [ + "bool", "null", ] - # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil] - define_property :amount, as: "amount", types: [ - "Number", - "OpenActive::Models::Schema::MonetaryAmount", - "URI", - "null", - ] - # @return [URI,String] define_property :loan_type, as: "loanType", types: [ "URI", "string", ] # @return [Boolean,nil] - define_property :renegotiable_loan, as: "renegotiableLoan", types: [ + define_property :recourse_loan, as: "recourseLoan", types: [ "bool", "null", ] - # @return [Boolean,nil] - define_property :recourse_loan, as: "recourseLoan", types: [ - "bool", + # @return [OpenActive::Models::Schema::QuantitativeValue,URI] + define_property :loan_term, as: "loanTerm", types: [ + "OpenActive::Models::Schema::QuantitativeValue", + "URI", + ] + + # @return [ActiveSupport::Duration,URI,nil] + define_property :grace_period, as: "gracePeriod", types: [ + "DateInterval", + "URI", "null", ] # @return [String,OpenActive::Models::Schema::Thing,URI] define_property :required_collateral, as: "requiredCollateral", types: [ "string", "OpenActive::Models::Schema::Thing", "URI", ] - # @return [OpenActive::Models::Schema::RepaymentSpecification,URI] - define_property :loan_repayment_form, as: "loanRepaymentForm", types: [ - "OpenActive::Models::Schema::RepaymentSpecification", - "URI", - ] - # @return [String] define_property :currency, as: "currency", types: [ "string", ] - # @return [OpenActive::Models::Schema::QuantitativeValue,URI] - define_property :loan_term, as: "loanTerm", types: [ - "OpenActive::Models::Schema::QuantitativeValue", + # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil] + define_property :amount, as: "amount", types: [ + "Number", + "OpenActive::Models::Schema::MonetaryAmount", + "URI", + "null", + ] + + # @return [OpenActive::Models::Schema::RepaymentSpecification,URI] + define_property :loan_repayment_form, as: "loanRepaymentForm", types: [ + "OpenActive::Models::Schema::RepaymentSpecification", "URI", ] end end end