« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Order/Fulfillment/LineItem.pm
↑ Summary
blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Page.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::Order::LineItem; | ||
| 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_orders_line_items'); | |
| 12 | 1 | __PACKAGE__->add_columns( | |
| 13 | "order_id", { data_type => 'bigint' }, | ||
| 14 | "grams", { is_nullable => '1', data_type => 'INT' }, | ||
| 15 | "variant_inventory_management", { is_nullable => '1', data_type => 'VARCHAR(255)' }, | ||
| 16 | "vendor", { is_nullable => '1', data_type => 'VARCHAR(255)' }, | ||
| 17 | "variant_title", { is_nullable => '1', data_type => 'VARCHAR(255)' }, | ||
| 18 | "sku", { data_type => 'VARCHAR(255)', is_nullable => '1' }, | ||
| 19 | "name", { data_type => 'VARCHAR(255)', is_nullable => '1' }, | ||
| 20 | "taxable", { data_type => 'BOOL', is_nullable => '1' }, | ||
| 21 | "fulfillment_status", { is_nullable => '1', data_type => 'VARCHAR(255)' }, | ||
| 22 | "quantity", { data_type => 'INT', is_nullable => '1' }, | ||
| 23 | "id", { data_type => 'BIGINT', is_nullable => '0' }, | ||
| 24 | "requires_shipping", { is_nullable => '1', data_type => 'BOOL' }, | ||
| 25 | "price", { is_nullable => '1', data_type => 'DECIMAL(10,2)' }, | ||
| 26 | "fulfillment_service", { is_nullable => '1', data_type => 'VARCHAR(255)' }, | ||
| 27 | "title", { data_type => 'VARCHAR(255)', is_nullable => '1' }, | ||
| 28 | "product_exists", { is_nullable => '1', data_type => 'BOOL' }, | ||
| 29 | "gift_card", { is_nullable => '1', data_type => 'BOOL' }, | ||
| 30 | "variant_id", { is_nullable => '1', data_type => 'BIGINT' }, | ||
| 31 | "product_id", { is_nullable => '1', data_type => 'BIGINT' } | ||
| 32 | ); | ||
| 33 | 1 | __PACKAGE__->set_primary_key('id'); | |
| 34 | |||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | |||
| 39 | 1 | __PACKAGE__->belongs_to(variant => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product::Variant', 'variant_id'); | |
| 40 | 1 | __PACKAGE__->belongs_to(product => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Product', 'product_id'); | |
| 41 | 1 | __PACKAGE__->has_many(properties => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::LineItem::Property', 'line_item_id'); | |
| 42 | 1 | __PACKAGE__->has_many(tax_lines => 'WWW::Shopify::Model::DBIx::Schema::Result::Model::Order::LineItem::TaxLine', 'line_item_id'); | |
| 43 | 0 | ▶ | sub represents { return 'WWW::Shopify::Model::Order::LineItem'; } |
|
Subroutine
represents: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 44 | 0 | ▶ | sub parent_variable { return 'order_id'; } |
|
Subroutine
parent_variable: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 45 | |||
| 46 | 1 | 1; | |