lib/openactive/models/schema/loan_or_credit.rb in openactive-0.3.0 vs lib/openactive/models/schema/loan_or_credit.rb in openactive-0.4.0
- old
+ new
@@ -12,10 +12,28 @@
define_property :renegotiable_loan, as: "renegotiableLoan", types: [
"bool",
"null",
]
+ # @return [String]
+ define_property :currency, as: "currency", types: [
+ "string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Thing,String,URI]
+ define_property :required_collateral, as: "requiredCollateral", types: [
+ "OpenActive::Models::Schema::Thing",
+ "string",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
+ define_property :loan_term, as: "loanTerm", types: [
+ "OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
+ ]
+
# @return [URI,String]
define_property :loan_type, as: "loanType", types: [
"URI",
"string",
]
@@ -24,46 +42,28 @@
define_property :recourse_loan, as: "recourseLoan", types: [
"bool",
"null",
]
- # @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",
+ # @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 [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,URI,nil]
+ # @return [OpenActive::Models::Schema::MonetaryAmount,BigDecimal,URI,nil]
define_property :amount, as: "amount", types: [
- "Number",
"OpenActive::Models::Schema::MonetaryAmount",
+ "Number",
"URI",
"null",
- ]
-
- # @return [OpenActive::Models::Schema::RepaymentSpecification,URI]
- define_property :loan_repayment_form, as: "loanRepaymentForm", types: [
- "OpenActive::Models::Schema::RepaymentSpecification",
- "URI",
]
end
end
end
end