Class: OpenActive::Models::Schema::LoanOrCredit

Inherits:
FinancialProduct show all
Defined in:
lib/openactive/models/schema/loan_or_credit.rb

Direct Known Subclasses

CreditCard, MortgageLoan

Instance Attribute Summary collapse

Attributes inherited from FinancialProduct

#annual_percentage_rate, #fees_and_commissions_specification, #interest_rate

Attributes inherited from Service

#aggregate_rating, #area_served, #audience, #available_channel, #award, #brand, #broker, #category, #has_offer_catalog, #hours_available, #is_related_to, #is_similar_to, #logo, #offers, #produces, #provider, #provider_mobility, #review, #service_area, #service_audience, #service_output, #service_type, #slogan, #terms_of_service

Attributes inherited from Thing

#additional_type, #alternate_name, #description, #disambiguating_description, #identifier, #image, #main_entity_of_page, #name, #potential_action, #same_as, #subject_of, #url

Attributes inherited from JsonLdModel

#context, #id

Method Summary

Methods inherited from BaseModel

#assign_attributes, define_property, deserialize, #deserialize, deserialize_class, #initialize, #serialize, serialize, #set_property, #to_json

Methods included from Concerns::TypeChecker

#check_types, included

Methods included from Concerns::JsonLdSerializable

included, #to_h, #values

Constructor Details

This class inherits a constructor from OpenActive::BaseModel

Instance Attribute Details

#amountBigDecimal, ...

Returns:



47
48
49
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 47

def amount
  @amount
end

#currencyString

Returns:

  • (String)


54
55
56
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 54

def currency
  @currency
end

#grace_periodActiveSupport::Duration?

Returns:

  • (ActiveSupport::Duration, nil)


29
30
31
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 29

def grace_period
  @grace_period
end

#loan_repayment_formOpenActive::Models::Schema::RepaymentSpecification



24
25
26
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 24

def loan_repayment_form
  @loan_repayment_form
end

#loan_termOpenActive::Models::Schema::QuantitativeValue



59
60
61
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 59

def loan_term
  @loan_term
end

#loan_typeString, URI

Returns:

  • (String, URI)


12
13
14
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 12

def loan_type
  @loan_type
end

#recourse_loanBoolean?

Returns:

  • (Boolean, nil)


18
19
20
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 18

def recourse_loan
  @recourse_loan
end

#renegotiable_loanBoolean?

Returns:

  • (Boolean, nil)


35
36
37
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 35

def renegotiable_loan
  @renegotiable_loan
end

#required_collateralOpenActive::Models::Schema::Thing, String



41
42
43
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 41

def required_collateral
  @required_collateral
end

#typeString

Returns:

  • (String)


7
8
9
# File 'lib/openactive/models/schema/loan_or_credit.rb', line 7

def type
  "schema:LoanOrCredit"
end