lib/openactive/models/schema/loan_or_credit.rb in openactive-0.1.2 vs lib/openactive/models/schema/loan_or_credit.rb in openactive-0.2.0
- old
+ new
@@ -6,59 +6,64 @@
# @return [String]
def type
"schema:LoanOrCredit"
end
- # @return [String,URI]
- define_property :loan_type, as: "loanType", types: [
- "string",
+ # @return [ActiveSupport::Duration,URI,nil]
+ define_property :grace_period, as: "gracePeriod", types: [
+ "DateInterval",
"URI",
+ "null",
]
- # @return [Boolean,nil]
- define_property :recourse_loan, as: "recourseLoan", types: [
- "bool",
+ # @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]
- define_property :loan_repayment_form, as: "loanRepaymentForm", types: [
- "OpenActive::Models::Schema::RepaymentSpecification",
+ # @return [URI,String]
+ define_property :loan_type, as: "loanType", types: [
+ "URI",
+ "string",
]
- # @return [ActiveSupport::Duration,nil]
- define_property :grace_period, as: "gracePeriod", types: [
- "DateInterval",
+ # @return [Boolean,nil]
+ define_property :renegotiable_loan, as: "renegotiableLoan", types: [
+ "bool",
"null",
]
# @return [Boolean,nil]
- define_property :renegotiable_loan, as: "renegotiableLoan", types: [
+ define_property :recourse_loan, as: "recourseLoan", types: [
"bool",
"null",
]
- # @return [OpenActive::Models::Schema::Thing,String]
+ # @return [String,OpenActive::Models::Schema::Thing,URI]
define_property :required_collateral, as: "requiredCollateral", types: [
- "OpenActive::Models::Schema::Thing",
"string",
+ "OpenActive::Models::Schema::Thing",
+ "URI",
]
- # @return [BigDecimal,OpenActive::Models::Schema::MonetaryAmount,nil]
- define_property :amount, as: "amount", types: [
- "Number",
- "OpenActive::Models::Schema::MonetaryAmount",
- "null",
+ # @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]
+ # @return [OpenActive::Models::Schema::QuantitativeValue,URI]
define_property :loan_term, as: "loanTerm", types: [
"OpenActive::Models::Schema::QuantitativeValue",
+ "URI",
]
end
end
end
end