Class: OpenActive::Models::Schema::Offer
Instance Attribute Summary collapse
-
#accepted_payment_method ⇒ OpenActive::Models::Schema::LoanOrCredit, ...
-
#add_on ⇒ OpenActive::Models::Schema::Offer
-
#advance_booking_requirement ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#aggregate_rating ⇒ OpenActive::Models::Schema::AggregateRating
-
#area_served ⇒ String, ...
-
#availability ⇒ OpenActive::Enums::Schema::ItemAvailability?
-
#availability_ends ⇒ DateTime, ...
-
#availability_starts ⇒ Date, ...
-
#available_at_or_from ⇒ OpenActive::Models::Schema::Place
-
#available_delivery_method ⇒ OpenActive::Enums::Schema::DeliveryMethod?
-
#business_function ⇒ OpenActive::Enums::Schema::BusinessFunction?
-
#category ⇒ String, OpenActive::Models::Schema::Thing
-
#delivery_lead_time ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#eligible_customer_type ⇒ OpenActive::Enums::Schema::BusinessEntityType?
-
#eligible_duration ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#eligible_quantity ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#eligible_region ⇒ OpenActive::Models::Schema::Place, ...
-
#eligible_transaction_volume ⇒ OpenActive::Models::Schema::PriceSpecification
-
#gtin ⇒ String
-
#gtin12 ⇒ String
-
#gtin13 ⇒ String
-
#gtin14 ⇒ String
-
#gtin8 ⇒ String
-
#includes_object ⇒ OpenActive::Models::Schema::TypeAndQuantityNode
-
#ineligible_region ⇒ OpenActive::Models::Schema::GeoShape, ...
-
#inventory_level ⇒ OpenActive::Models::Schema::QuantitativeValue
-
#item_condition ⇒ OpenActive::Enums::Schema::OfferItemCondition?
-
#item_offered ⇒ OpenActive::Models::Schema::Service, OpenActive::Models::Schema::Product
-
#mpn ⇒ String
-
#offered_by ⇒ OpenActive::Models::Schema::Organization, OpenActive::Models::Schema::Person
-
#price ⇒ String, ...
-
#price_currency ⇒ String
-
#price_specification ⇒ OpenActive::Models::Schema::PriceSpecification
-
#price_valid_until ⇒ Date?
-
#review ⇒ OpenActive::Models::Schema::Review
-
#reviews ⇒ OpenActive::Models::Schema::Review
-
#seller ⇒ OpenActive::Models::Schema::Person, OpenActive::Models::Schema::Organization
-
#serial_number ⇒ String
-
#sku ⇒ String
-
#type ⇒ String
-
#valid_from ⇒ DateTime, ...
-
#valid_through ⇒ Date, ...
-
#warranty ⇒ OpenActive::Models::Schema::WarrantyPromise
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
#check_types, included
included, #to_h, #values
Instance Attribute Details
180
181
182
|
# File 'lib/openactive/models/schema/offer.rb', line 180
def accepted_payment_method
@accepted_payment_method
end
|
119
120
121
|
# File 'lib/openactive/models/schema/offer.rb', line 119
def add_on
@add_on
end
|
205
206
207
|
# File 'lib/openactive/models/schema/offer.rb', line 205
def advance_booking_requirement
@advance_booking_requirement
end
|
243
244
245
|
# File 'lib/openactive/models/schema/offer.rb', line 243
def aggregate_rating
@aggregate_rating
end
|
#area_served ⇒ String, ...
217
218
219
|
# File 'lib/openactive/models/schema/offer.rb', line 217
def area_served
@area_served
end
|
63
64
65
|
# File 'lib/openactive/models/schema/offer.rb', line 63
def availability
@availability
end
|
#availability_ends ⇒ DateTime, ...
79
80
81
|
# File 'lib/openactive/models/schema/offer.rb', line 79
def availability_ends
@availability_ends
end
|
#availability_starts ⇒ Date, ...
225
226
227
|
# File 'lib/openactive/models/schema/offer.rb', line 225
def availability_starts
@availability_starts
end
|
175
176
177
|
# File 'lib/openactive/models/schema/offer.rb', line 175
def available_at_or_from
@available_at_or_from
end
|
41
42
43
|
# File 'lib/openactive/models/schema/offer.rb', line 41
def available_delivery_method
@available_delivery_method
end
|
113
114
115
|
# File 'lib/openactive/models/schema/offer.rb', line 113
def business_function
@business_function
end
|
107
108
109
|
# File 'lib/openactive/models/schema/offer.rb', line 107
def category
@category
end
|
69
70
71
|
# File 'lib/openactive/models/schema/offer.rb', line 69
def delivery_lead_time
@delivery_lead_time
end
|
124
125
126
|
# File 'lib/openactive/models/schema/offer.rb', line 124
def eligible_customer_type
@eligible_customer_type
end
|
170
171
172
|
# File 'lib/openactive/models/schema/offer.rb', line 170
def eligible_duration
@eligible_duration
end
|
130
131
132
|
# File 'lib/openactive/models/schema/offer.rb', line 130
def eligible_quantity
@eligible_quantity
end
|
210
211
212
|
# File 'lib/openactive/models/schema/offer.rb', line 210
def eligible_region
@eligible_region
end
|
87
88
89
|
# File 'lib/openactive/models/schema/offer.rb', line 87
def eligible_transaction_volume
@eligible_transaction_volume
end
|
#gtin ⇒ String
200
201
202
|
# File 'lib/openactive/models/schema/offer.rb', line 200
def gtin
@gtin
end
|
#gtin12 ⇒ String
47
48
49
|
# File 'lib/openactive/models/schema/offer.rb', line 47
def gtin12
@gtin12
end
|
#gtin13 ⇒ String
36
37
38
|
# File 'lib/openactive/models/schema/offer.rb', line 36
def gtin13
@gtin13
end
|
#gtin14 ⇒ String
26
27
28
|
# File 'lib/openactive/models/schema/offer.rb', line 26
def gtin14
@gtin14
end
|
#gtin8 ⇒ String
248
249
250
|
# File 'lib/openactive/models/schema/offer.rb', line 248
def gtin8
@gtin8
end
|
92
93
94
|
# File 'lib/openactive/models/schema/offer.rb', line 92
def includes_object
@includes_object
end
|
19
20
21
|
# File 'lib/openactive/models/schema/offer.rb', line 19
def ineligible_region
@ineligible_region
end
|
74
75
76
|
# File 'lib/openactive/models/schema/offer.rb', line 74
def inventory_level
@inventory_level
end
|
135
136
137
|
# File 'lib/openactive/models/schema/offer.rb', line 135
def item_condition
@item_condition
end
|
148
149
150
|
# File 'lib/openactive/models/schema/offer.rb', line 148
def item_offered
@item_offered
end
|
#mpn ⇒ String
154
155
156
|
# File 'lib/openactive/models/schema/offer.rb', line 154
def mpn
@mpn
end
|
159
160
161
|
# File 'lib/openactive/models/schema/offer.rb', line 159
def offered_by
@offered_by
end
|
#price ⇒ String, ...
12
13
14
|
# File 'lib/openactive/models/schema/offer.rb', line 12
def price
@price
end
|
#price_currency ⇒ String
238
239
240
|
# File 'lib/openactive/models/schema/offer.rb', line 238
def price_currency
@price_currency
end
|
165
166
167
|
# File 'lib/openactive/models/schema/offer.rb', line 165
def price_specification
@price_specification
end
|
#price_valid_until ⇒ Date?
187
188
189
|
# File 'lib/openactive/models/schema/offer.rb', line 187
def price_valid_until
@price_valid_until
end
|
102
103
104
|
# File 'lib/openactive/models/schema/offer.rb', line 102
def review
@review
end
|
97
98
99
|
# File 'lib/openactive/models/schema/offer.rb', line 97
def reviews
@reviews
end
|
57
58
59
|
# File 'lib/openactive/models/schema/offer.rb', line 57
def seller
@seller
end
|
#serial_number ⇒ String
52
53
54
|
# File 'lib/openactive/models/schema/offer.rb', line 52
def serial_number
@serial_number
end
|
#sku ⇒ String
31
32
33
|
# File 'lib/openactive/models/schema/offer.rb', line 31
def sku
@sku
end
|
#type ⇒ String
7
8
9
|
# File 'lib/openactive/models/schema/offer.rb', line 7
def type
"schema:Offer"
end
|
#valid_from ⇒ DateTime, ...
193
194
195
|
# File 'lib/openactive/models/schema/offer.rb', line 193
def valid_from
@valid_from
end
|
#valid_through ⇒ Date, ...
141
142
143
|
# File 'lib/openactive/models/schema/offer.rb', line 141
def valid_through
@valid_through
end
|
233
234
235
|
# File 'lib/openactive/models/schema/offer.rb', line 233
def warranty
@warranty
end
|