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 "avs_result", { is_nullable => '0', data_type => 'VARCHAR(255)' },
14 "currency", { is_nullable => '0', data_type => 'VARCHAR(255)' },
15 "paid", { is_nullable => '0', data_type => 'BOOL' },
16 "failure_message", { data_type => 'TEXT', is_nullable => '0' },
17 "build", { is_nullable => '0', data_type => 'INT' },
18 "refunded", { data_type => 'TEXT', is_nullable => '0' },
19 "success", { data_type => 'VARCHAR(255)', is_nullable => '0' },
20 "invoice", { is_nullable => '0', data_type => 'TEXT' },
21 "authorization", { data_type => 'VARCHAR(255)', is_nullable => '0' },
22 "order_number", { data_type => 'VARCHAR(255)', is_nullable => '0' },
23 "cardholder_authorization_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
24 "correlation_id", { data_type => 'VARCHAR(255)', is_nullable => '0' },
25 "ack", { data_type => 'VARCHAR(255)', is_nullable => '0' },
26 "recurring", { data_type => 'VARCHAR(255)', is_nullable => '0' },
27 "front_end", { data_type => 'INT', is_nullable => '0' },
28 "payment_details", { is_nullable => '0', data_type => 'TEXT' },
29 "object", { is_nullable => '0', data_type => 'VARCHAR(255)' },
30 "shipping", { data_type => 'TEXT', is_nullable => '0' },
31 "avs_result_code", { is_nullable => '0', data_type => 'VARCHAR(255)' },
32 "customer", { data_type => 'TEXT', is_nullable => '0' },
33 "amount_refunded", { data_type => 'INT', is_nullable => '0' },
34 "livemode", { data_type => 'BOOL', is_nullable => '0' },
35 "avs_end", { is_nullable => '0', data_type => 'VARCHAR(255)' },
36 "amount", { data_type => 'DECIMAL(10,2)', is_nullable => '0' },
37 "response_reason_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
38 "cvv2_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
39 "metadata", { is_nullable => '0', data_type => 'TEXT' },
40 "receipt_number", { data_type => 'TEXT', is_nullable => '0' },
41 "balance_transaction", { data_type => 'TEXT', is_nullable => '0' },
42 "version", { data_type => 'INT', is_nullable => '0' },
43 "avs_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
44 "created", { data_type => 'INT', is_nullable => '0' },
45 "description", { data_type => 'VARCHAR(255)', is_nullable => '0' },
46 "captured", { is_nullable => '0', data_type => 'BOOL' },
47 "code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
48 "message", { data_type => 'VARCHAR(255)', is_nullable => '0' },
49 "reference", { is_nullable => '0', data_type => 'VARCHAR(255)' },
50 "timestamp", { is_nullable => '0', data_type => 'DATETIME' },
51 "card_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
52 "risk", { data_type => 'VARCHAR(255)', is_nullable => '0' },
53 "dispute", { data_type => 'TEXT', is_nullable => '0' },
54 "amount_currency", { is_nullable => '0', data_type => 'VARCHAR(255)' },
55 "testcase", { is_nullable => '0', data_type => 'BOOL' },
56 "failure_code", { data_type => 'TEXT', is_nullable => '0' },
57 "refunds", { is_nullable => '0', data_type => 'TEXT' },
58 "transaction_id", { data_type => 'VARCHAR(255)', is_nullable => '0' },
59 "card", { data_type => 'TEXT', is_nullable => '0' },
60 "action", { is_nullable => '0', data_type => 'VARCHAR(255)' },
61 "statement_description", { data_type => 'TEXT', is_nullable => '0' },
62 "fraud_details", { data_type => 'TEXT', is_nullable => '0' },
63 "response_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
64 "receipt_email", { data_type => 'TEXT', is_nullable => '0' },
65 "authorization_code", { data_type => 'VARCHAR(255)', is_nullable => '0' },
66 "id", { data_type => 'BIGINT', is_nullable => 0, is_auto_increment => 1 }
67 );
68 1 __PACKAGE__->set_primary_key('id');
69  
70  
71  
72  
73  
74  
75 0 ▶sub represents { return 'WWW::Shopify::Model::Transaction::Receipt'; }
Subroutine represents: not called CC=1 SCAR=6.9
Pod undocumented
76 0 ▶sub parent_variable { return 'transaction_id'; }
Subroutine parent_variable: not called CC=1 SCAR=6.9
Pod undocumented
77  
78 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 »