V1beta/StandardOffer/Types.pm untested

filter: Statementstmt 0.0% 0 / 94 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 99 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Google::Cloud::Commerceproducer::V1beta::StandardOffer::Types;
2  
3 use strict;
4 use warnings;
5  
6 use Type::Library -base;
7 use Type::Utils -all;
8 use Types::Standard -types;
9  
10 declare 'StandardOffer',
11 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer'];
12  
13 coerce 'StandardOffer',
14 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer'->new($_) };
15  
16 declare 'RepeatedStandardOffer',
17 as ArrayRef[StandardOffer()];
18  
19 coerce 'RepeatedStandardOffer',
20 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer'->new($_) } @$_ ] };
21  
22 declare 'MapStringStandardOffer',
23 as HashRef[StandardOffer()];
24  
25 declare 'PriceModel',
26 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel'];
27  
28 coerce 'PriceModel',
29 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel'->new($_) };
30  
31 declare 'RepeatedPriceModel',
32 as ArrayRef[PriceModel()];
33  
34 coerce 'RepeatedPriceModel',
35 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel'->new($_) } @$_ ] };
36  
37 declare 'MapStringPriceModel',
38 as HashRef[PriceModel()];
39  
40 declare 'SkuList',
41 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuList'];
42  
43 coerce 'SkuList',
44 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuList'->new($_) };
45  
46 declare 'RepeatedSkuList',
47 as ArrayRef[SkuList()];
48  
49 coerce 'RepeatedSkuList',
50 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuList'->new($_) } @$_ ] };
51  
52 declare 'MapStringSkuList',
53 as HashRef[SkuList()];
54  
55 declare 'SkuGroupList',
56 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuGroupList'];
57  
58 coerce 'SkuGroupList',
59 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuGroupList'->new($_) };
60  
61 declare 'RepeatedSkuGroupList',
62 as ArrayRef[SkuGroupList()];
63  
64 coerce 'RepeatedSkuGroupList',
65 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::SkuGroupList'->new($_) } @$_ ] };
66  
67 declare 'MapStringSkuGroupList',
68 as HashRef[SkuGroupList()];
69  
70 declare 'Usage',
71 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::Usage'];
72  
73 coerce 'Usage',
74 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::Usage'->new($_) };
75  
76 declare 'RepeatedUsage',
77 as ArrayRef[Usage()];
78  
79 coerce 'RepeatedUsage',
80 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::Usage'->new($_) } @$_ ] };
81  
82 declare 'MapStringUsage',
83 as HashRef[Usage()];
84  
85 declare 'FlatFeeSubscription',
86 as InstanceOf['Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::FlatFeeSubscription'];
87  
88 coerce 'FlatFeeSubscription',
89 from HashRef, via { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::FlatFeeSubscription'->new($_) };
90  
91 declare 'RepeatedFlatFeeSubscription',
92 as ArrayRef[FlatFeeSubscription()];
93  
94 coerce 'RepeatedFlatFeeSubscription',
95 from ArrayRef[HashRef], via { [ map { 'Google::Cloud::Commerceproducer::V1beta::StandardOffer::StandardOffer::PriceModel::FlatFeeSubscription'->new($_) } @$_ ] };
96  
97 declare 'MapStringFlatFeeSubscription',
98 as HashRef[FlatFeeSubscription()];
99  
100 1;
101  
102 __END__