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

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