blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Shop.pm

filter: Statementstmt 96.7% 60 / 62 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 91.3% 63 / 69 CC 1 SCAR 3.4
CC
1
Cov
97%
represents
2.0
parent_variable
2.0
BEGIN
1.0
CRAP 1.4
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Order.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema.pm »
1  
2 #!/usr/bin/perl
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 # This class is generated from DBIx.pm. Do not modify.
6 package WWW::Shopify::Model::DBIx::Schema::Result::Model::Shop;
7 1 ▶use base qw/DBIx::Class::Core/;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 __PACKAGE__->load_components(qw/InflateColumn::DateTime/);
10  
11 1 __PACKAGE__->table('shopify_shops');
12 1 __PACKAGE__->add_columns(
13 "taxes_included", { data_type => 'VARCHAR(255)', is_nullable => '1' },
14 "money_format", { is_nullable => '1', data_type => 'VARCHAR(255)' },
15 "country", { data_type => 'VARCHAR(255)', is_nullable => '1' },
16 "money_with_currency_format", { data_type => 'VARCHAR(255)', is_nullable => '1' },
17 "province_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
18 "myshopify_domain", { data_type => 'VARCHAR(255)', is_nullable => '1' },
19 "province", { data_type => 'TEXT', is_nullable => '1' },
20 "customer_email", { is_nullable => '1', data_type => 'VARCHAR(255)' },
21 "currency", { data_type => 'VARCHAR(255)', is_nullable => '1' },
22 "google_apps_login_enabled", { data_type => 'BOOL', is_nullable => '1' },
23 "email", { is_nullable => '1', data_type => 'VARCHAR(255)' },
24 "tax_shipping", { data_type => 'VARCHAR(255)', is_nullable => '1' },
25 "created_at", { data_type => 'DATETIME', is_nullable => '1' },
26 "display_plan_name", { is_nullable => '1', data_type => 'VARCHAR(255)' },
27 "address1", { data_type => 'VARCHAR(255)', is_nullable => '1' },
28 "longitude", { data_type => 'FLOAT', is_nullable => '1' },
29 "shop_owner", { is_nullable => '1', data_type => 'VARCHAR(255)' },
30 "id", { data_type => 'BIGINT', is_nullable => '0' },
31 "city", { is_nullable => '1', data_type => 'VARCHAR(255)' },
32 "google_apps_domain", { data_type => 'VARCHAR(255)', is_nullable => '1' },
33 "country_name", { is_nullable => '1', data_type => 'VARCHAR(255)' },
34 "source", { data_type => 'VARCHAR(255)', is_nullable => '1' },
35 "timezone", { is_nullable => '1', data_type => 'VARCHAR(255)' },
36 "public", { is_nullable => '1', data_type => 'VARCHAR(255)' },
37 "phone", { data_type => 'VARCHAR(255)', is_nullable => '1' },
38 "latitude", { is_nullable => '1', data_type => 'FLOAT' },
39 "country_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
40 "plan_name", { data_type => 'TEXT', is_nullable => '1' },
41 "name", { is_nullable => '1', data_type => 'TEXT' },
42 "domain", { data_type => 'VARCHAR(255)', is_nullable => '1' },
43 "zip", { is_nullable => '1', data_type => 'VARCHAR(255)' }
44 );
45 1 __PACKAGE__->set_primary_key('id');
46  
47  
48  
49 1 __PACKAGE__->has_many(events => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Event', 'shop_id');
50 1 __PACKAGE__->has_many(api_clients => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::APIClient', 'shop_id');
51 1 __PACKAGE__->has_many(customer_groups => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::CustomerGroup', 'shop_id');
52 1 __PACKAGE__->has_many(api_permissions => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::APIPermission', 'shop_id');
53 1 __PACKAGE__->has_many(checkouts => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Checkout', 'shop_id');
54 1 __PACKAGE__->has_many(locale_translations => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::LocaleTranslation', 'shop_id');
55 1 __PACKAGE__->has_many(transactions => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Transaction', 'shop_id');
56 1 __PACKAGE__->has_many(application_charges => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::ApplicationCharge', 'shop_id');
57 1 __PACKAGE__->has_many(carrier_services => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::CarrierService', 'shop_id');
58 1 __PACKAGE__->has_many(custom_collections => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::CustomCollection', 'shop_id');
59 1 __PACKAGE__->has_many(orders => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order', 'shop_id');
60 1 __PACKAGE__->has_many(addresses => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Address', 'shop_id');
61 1 __PACKAGE__->has_many(customers => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Customer', 'shop_id');
62 1 __PACKAGE__->has_many(script_tags => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::ScriptTag', 'shop_id');
63 1 __PACKAGE__->has_many(assets => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Asset', 'shop_id');
64 1 __PACKAGE__->has_many(redirects => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Redirect', 'shop_id');
65 1 __PACKAGE__->has_many(themes => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Theme', 'shop_id');
66 1 __PACKAGE__->has_many(countries => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Country', 'shop_id');
67 1 __PACKAGE__->has_many(product_search_engines => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::ProductSearchEngine', 'shop_id');
68 1 __PACKAGE__->has_many(comments => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Comment', 'shop_id');
69 1 __PACKAGE__->has_many(blogs => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Blog', 'shop_id');
70 1 __PACKAGE__->has_many(locations => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Location', 'shop_id');
71 1 __PACKAGE__->has_many(files => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::File', 'shop_id');
72 1 __PACKAGE__->has_many(pages => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Page', 'shop_id');
73 1 __PACKAGE__->has_many(gift_cards => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::GiftCard', 'shop_id');
74 1 __PACKAGE__->has_many(products => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product', 'shop_id');
75 1 __PACKAGE__->has_many(carts => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Cart', 'shop_id');
76 1 __PACKAGE__->has_many(discounts => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Discount', 'shop_id');
77 1 __PACKAGE__->has_many(recurring_application_charges => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::RecurringApplicationCharge', 'shop_id');
78 1 __PACKAGE__->has_many(smart_collections => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::SmartCollection', 'shop_id');
79 1 __PACKAGE__->has_many(link_lists => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::LinkList', 'shop_id');
80 1 __PACKAGE__->has_many(articles => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Article', 'shop_id');
81 1 __PACKAGE__->has_many(locales => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Locale', 'shop_id');
82 1 __PACKAGE__->has_many(webhooks => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Webhook', 'shop_id');
83 1 __PACKAGE__->has_many(refunds => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Refund', 'shop_id');
84 1 __PACKAGE__->has_many(fulfillment_services => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::FulfillmentService', 'shop_id');
85 1 __PACKAGE__->has_many(users => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::User', 'shop_id');
86 1 __PACKAGE__->has_many(email_templates => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::EmailTemplate', 'shop_id');
87 1 __PACKAGE__->has_many(variants => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product::Variant', 'shop_id');
88 1 __PACKAGE__->has_many(collects => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::CustomCollection::Collect', 'shop_id');
89 1 __PACKAGE__->has_many(fulfillments => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::Fulfillment', 'shop_id');
90 1 __PACKAGE__->has_many(addresses => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::ShippingAddress', 'shop_id');
91 1 __PACKAGE__->has_many(risks => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::Risk', 'shop_id');
92 1 __PACKAGE__->has_many(addresses => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::BillingAddress', 'shop_id');
93  
94 1 __PACKAGE__->has_many(metafields_hasmany => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::MetafieldShop', 'shop_id');
95 1 __PACKAGE__->many_to_many(metafields => 'metafields_hasmany', 'metafield');
96 0 ▶sub represents { return 'WWW::Shopify::Model::Shop'; }
Subroutine represents: not called CC=1 SCAR=6.9
Pod undocumented
97 0 ▶sub parent_variable { return undef; }
Subroutine parent_variable: not called CC=1 SCAR=6.9
Pod undocumented
98  
99 1 1;
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Order.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema.pm »