blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Transaction/Receipt.pm

filter: Statementstmt 87.5% 14 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 60.0% 3 / 5 Podpod 0.0% 0 / 2 totaltotal 73.9% 17 / 23 CC 1 SCAR 3.4
CC
1
Cov
88%
represents
2.0
parent_variable
2.0
BEGIN
1.0
CRAP 1.4
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/SmartCollection/Rule.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Address.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::Transaction::Receipt;
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_transactions_receipts');
12 1 __PACKAGE__->add_columns(
13 "authorization", { is_nullable => '1', data_type => 'VARCHAR(255)' },
14 "message", { is_nullable => '1', data_type => 'VARCHAR(255)' },
15 "avs_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
16 "amount", { is_nullable => '1', data_type => 'DECIMAL(10,2)' },
17 "build", { data_type => 'INT', is_nullable => '1' },
18 "code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
19 "action", { data_type => 'VARCHAR(255)', is_nullable => '1' },
20 "payment_details", { data_type => 'TEXT', is_nullable => '1' },
21 "authorization_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
22 "front_end", { is_nullable => '1', data_type => 'INT' },
23 "card_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
24 "ack", { data_type => 'VARCHAR(255)', is_nullable => '1' },
25 "avs_result_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
26 "cvv2_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
27 "testcase", { is_nullable => '1', data_type => 'BOOL' },
28 "avs_result", { is_nullable => '1', data_type => 'VARCHAR(255)' },
29 "recurring", { data_type => 'VARCHAR(255)', is_nullable => '1' },
30 "risk", { is_nullable => '1', data_type => 'VARCHAR(255)' },
31 "transaction_id", { data_type => 'VARCHAR(255)', is_nullable => '0' },
32 "correlation_id", { is_nullable => '1', data_type => 'VARCHAR(255)' },
33 "amount_currency", { is_nullable => '1', data_type => 'VARCHAR(255)' },
34 "avs_end", { is_nullable => '1', data_type => 'VARCHAR(255)' },
35 "version", { is_nullable => '1', data_type => 'INT' },
36 "response_reason_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
37 "timestamp", { data_type => 'DATETIME', is_nullable => '1' },
38 "response_code", { data_type => 'VARCHAR(255)', is_nullable => '1' },
39 "order_number", { is_nullable => '1', data_type => 'VARCHAR(255)' },
40 "cardholder_authorization_code", { is_nullable => '1', data_type => 'VARCHAR(255)' },
41 "reference", { is_nullable => '1', data_type => 'VARCHAR(255)' },
42 "success", { data_type => 'VARCHAR(255)', is_nullable => '1' },
43 "id", { data_type => 'BIGINT', is_nullable => 0, is_auto_increment => 1 }
44 );
45 1 __PACKAGE__->set_primary_key('id');
46  
47  
48  
49  
50  
51  
52 0 ▶sub represents { return 'WWW::Shopify::Model::Transaction::Receipt'; }
Subroutine represents: not called CC=1 SCAR=6.9
Pod undocumented
53 0 ▶sub parent_variable { return 'transaction_id'; }
Subroutine parent_variable: not called CC=1 SCAR=6.9
Pod undocumented
54  
55 1 1;
« blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/SmartCollection/Rule.pm ↑ Summary blib/lib/WWW/Shopify/Model/DBIx/Schema/Result/Model/Address.pm »