Schema/Demand.pm untested

filter: Statementstmt 0.0% 0 / 55 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod n/a totaltotal 0.0% 0 / 61 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 use utf8;
2  
3 package SemanticWeb::Schema::Demand;
4  
5 # ABSTRACT: A demand entity represents the public
6  
7 use v5.14;
8 use Moo;
9  
10 extends qw/ SemanticWeb::Schema::Intangible /;
11  
12  
13 use MooX::JSON_LD 'Demand';
14 use Ref::Util qw/ is_plain_hashref /;
15 # RECOMMEND PREREQ: Ref::Util::XS
16  
17 use namespace::autoclean;
18  
19 our $VERSION = 'v23.0.0';
20  
21  
22 has accepted_payment_method => (
23 is => 'rw',
24 predicate => '_has_accepted_payment_method',
25 json_ld => 'acceptedPaymentMethod',
26 );
27  
28  
29  
30 has advance_booking_requirement => (
31 is => 'rw',
32 predicate => '_has_advance_booking_requirement',
33 json_ld => 'advanceBookingRequirement',
34 );
35  
36  
37  
38 has area_served => (
39 is => 'rw',
40 predicate => '_has_area_served',
41 json_ld => 'areaServed',
42 );
43  
44  
45  
46 has asin => (
47 is => 'rw',
48 predicate => '_has_asin',
49 json_ld => 'asin',
50 );
51  
52  
53  
54 has availability => (
55 is => 'rw',
56 predicate => '_has_availability',
57 json_ld => 'availability',
58 );
59  
60  
61  
62 has availability_ends => (
63 is => 'rw',
64 predicate => '_has_availability_ends',
65 json_ld => 'availabilityEnds',
66 );
67  
68  
69  
70 has availability_starts => (
71 is => 'rw',
72 predicate => '_has_availability_starts',
73 json_ld => 'availabilityStarts',
74 );
75  
76  
77  
78 has available_at_or_from => (
79 is => 'rw',
80 predicate => '_has_available_at_or_from',
81 json_ld => 'availableAtOrFrom',
82 );
83  
84  
85  
86 has available_delivery_method => (
87 is => 'rw',
88 predicate => '_has_available_delivery_method',
89 json_ld => 'availableDeliveryMethod',
90 );
91  
92  
93  
94 has business_function => (
95 is => 'rw',
96 predicate => '_has_business_function',
97 json_ld => 'businessFunction',
98 );
99  
100  
101  
102 has delivery_lead_time => (
103 is => 'rw',
104 predicate => '_has_delivery_lead_time',
105 json_ld => 'deliveryLeadTime',
106 );
107  
108  
109  
110 has eligible_customer_type => (
111 is => 'rw',
112 predicate => '_has_eligible_customer_type',
113 json_ld => 'eligibleCustomerType',
114 );
115  
116  
117  
118 has eligible_duration => (
119 is => 'rw',
120 predicate => '_has_eligible_duration',
121 json_ld => 'eligibleDuration',
122 );
123  
124  
125  
126 has eligible_quantity => (
127 is => 'rw',
128 predicate => '_has_eligible_quantity',
129 json_ld => 'eligibleQuantity',
130 );
131  
132  
133  
134 has eligible_region => (
135 is => 'rw',
136 predicate => '_has_eligible_region',
137 json_ld => 'eligibleRegion',
138 );
139  
140  
141  
142 has eligible_transaction_volume => (
143 is => 'rw',
144 predicate => '_has_eligible_transaction_volume',
145 json_ld => 'eligibleTransactionVolume',
146 );
147  
148  
149  
150 has gtin => (
151 is => 'rw',
152 predicate => '_has_gtin',
153 json_ld => 'gtin',
154 );
155  
156  
157  
158 has gtin12 => (
159 is => 'rw',
160 predicate => '_has_gtin12',
161 json_ld => 'gtin12',
162 );
163  
164  
165  
166 has gtin13 => (
167 is => 'rw',
168 predicate => '_has_gtin13',
169 json_ld => 'gtin13',
170 );
171  
172  
173  
174 has gtin14 => (
175 is => 'rw',
176 predicate => '_has_gtin14',
177 json_ld => 'gtin14',
178 );
179  
180  
181  
182 has gtin8 => (
183 is => 'rw',
184 predicate => '_has_gtin8',
185 json_ld => 'gtin8',
186 );
187  
188  
189  
190 has includes_object => (
191 is => 'rw',
192 predicate => '_has_includes_object',
193 json_ld => 'includesObject',
194 );
195  
196  
197  
198 has ineligible_region => (
199 is => 'rw',
200 predicate => '_has_ineligible_region',
201 json_ld => 'ineligibleRegion',
202 );
203  
204  
205  
206 has inventory_level => (
207 is => 'rw',
208 predicate => '_has_inventory_level',
209 json_ld => 'inventoryLevel',
210 );
211  
212  
213  
214 has item_condition => (
215 is => 'rw',
216 predicate => '_has_item_condition',
217 json_ld => 'itemCondition',
218 );
219  
220  
221  
222 has item_offered => (
223 is => 'rw',
224 predicate => '_has_item_offered',
225 json_ld => 'itemOffered',
226 );
227  
228  
229  
230 has mpn => (
231 is => 'rw',
232 predicate => '_has_mpn',
233 json_ld => 'mpn',
234 );
235  
236  
237  
238 has price_specification => (
239 is => 'rw',
240 predicate => '_has_price_specification',
241 json_ld => 'priceSpecification',
242 );
243  
244  
245  
246 has seller => (
247 is => 'rw',
248 predicate => '_has_seller',
249 json_ld => 'seller',
250 );
251  
252  
253  
254 has serial_number => (
255 is => 'rw',
256 predicate => '_has_serial_number',
257 json_ld => 'serialNumber',
258 );
259  
260  
261  
262 has sku => (
263 is => 'rw',
264 predicate => '_has_sku',
265 json_ld => 'sku',
266 );
267  
268  
269  
270 has valid_from => (
271 is => 'rw',
272 predicate => '_has_valid_from',
273 json_ld => 'validFrom',
274 );
275  
276  
277  
278 has valid_through => (
279 is => 'rw',
280 predicate => '_has_valid_through',
281 json_ld => 'validThrough',
282 );
283  
284  
285  
286 has warranty => (
287 is => 'rw',
288 predicate => '_has_warranty',
289 json_ld => 'warranty',
290 );
291  
292  
293  
294  
295  
296 1;
297  
298 __END__