« blib/lib/WWW/Shopify/Model/Order/PaymentDetails.pm
↑ Summary
blib/lib/WWW/Shopify/Model/ScriptTag.pm »
| 1 | #!/usr/bin/perl | ||||||||||||||||||||||||||||||||||
| 2 | |||||||||||||||||||||||||||||||||||
| 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 | |||||||||||||||||||||||||||||||||||
| 6 | 1 | ▶ | use WWW::Shopify; | ||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||
| 7 | |||||||||||||||||||||||||||||||||||
| 8 | package WWW::Shopify::Model::Webhook; | ||||||||||||||||||||||||||||||||||
| 9 | 1 | ▶ | use parent "WWW::Shopify::Model::Item"; | ||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||
| 10 | |||||||||||||||||||||||||||||||||||
| 11 | 21 | ▶ | my $fields; sub fields { return $fields; } | ||||||||||||||||||||||||||||||||
|
Subroutine
fields: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 12 | 1 | ▶ | BEGIN { $fields = { | ||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||
| 13 | "format" => new WWW::Shopify::Field::String("(xml|json)"), | ||||||||||||||||||||||||||||||||||
| 14 | "address" => new WWW::Shopify::Field::String::URL(), | ||||||||||||||||||||||||||||||||||
| 15 | "topic" => new WWW::Shopify::Field::String::Enum( | ||||||||||||||||||||||||||||||||||
| 16 | qw( | ||||||||||||||||||||||||||||||||||
| 17 | orders/create orders/delete orders/updated orders/paid orders/cancelled orders/fulfilled orders/partially_fulfilled carts/create | ||||||||||||||||||||||||||||||||||
| 18 | carts/update checkouts/create checkouts/update checkouts/delete products/create products/update | ||||||||||||||||||||||||||||||||||
| 19 | products/delete collections/create collections/update collections/delete customer_groups/create | ||||||||||||||||||||||||||||||||||
| 20 | customer_groups/update customer_groups/delete customers/create customers/enable customers/disable | ||||||||||||||||||||||||||||||||||
| 21 | customers/update customers/delete fulfillments/create fulfillments/update shop/update app/uninstalled | ||||||||||||||||||||||||||||||||||
| 22 | |||||||||||||||||||||||||||||||||||
| 23 | ) | ||||||||||||||||||||||||||||||||||
| 24 | ), | ||||||||||||||||||||||||||||||||||
| 25 | "id" => new WWW::Shopify::Field::Identifier(), | ||||||||||||||||||||||||||||||||||
| 26 | "created_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now'), | ||||||||||||||||||||||||||||||||||
| 27 | "updated_at" => new WWW::Shopify::Field::Date(min => '2010-01-01 00:00:00', max => 'now') | ||||||||||||||||||||||||||||||||||
| 28 | }; } | ||||||||||||||||||||||||||||||||||
| 29 | |||||||||||||||||||||||||||||||||||
| 30 | 2 | ▶ | my $queries; sub queries { return $queries; } | ||||||||||||||||||||||||||||||||
|
Subroutine
queries: called CC=1 SCAR=0.0
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 31 | 1 | ▶ | BEGIN { $queries = { | ||||||||||||||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||||||||||||||
| 32 | topic => new WWW::Shopify::Query::Match('topic') | ||||||||||||||||||||||||||||||||||
| 33 | }; } | ||||||||||||||||||||||||||||||||||
| 34 | |||||||||||||||||||||||||||||||||||
| 35 | |||||||||||||||||||||||||||||||||||
| 36 | 0 | ▶ | sub creation_minimal { return qw(address topic format); } | ||||||||||||||||||||||||||||||||
|
Subroutine
creation_minimal: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 37 | 0 | ▶ | sub creation_filled { return qw(created_at); } | ||||||||||||||||||||||||||||||||
|
Subroutine
creation_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 38 | 0 | ▶ | sub update_filled { return qw(updated_at); } | ||||||||||||||||||||||||||||||||
|
Subroutine
update_filled: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 39 | 0 | ▶ | sub update_fields { return qw(address topic format); } | ||||||||||||||||||||||||||||||||
|
Subroutine
update_fields: not called CC=1 SCAR=6.9
Pod
documented
| |||||||||||||||||||||||||||||||||||
| 40 | 0 | ▶ | sub valid_topics { return @{$_[0]->fields->{topic}->{arguments}}; } | ||||||||||||||||||||||||||||||||
|
Subroutine
valid_topics: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||||||||||||||||||||||||||
| 41 | |||||||||||||||||||||||||||||||||||
| 42 | 0 | ▶ | eval(__PACKAGE__->generate_accessors); die $@ if $@; | ||||||||||||||||||||||||||||||||
|
Subroutine
address: not called CC=2 SCAR=15.8
Subroutine
created_at: not called CC=2 SCAR=15.8
Subroutine
format: not called CC=2 SCAR=15.8
Subroutine
id: not called CC=2 SCAR=15.8
Subroutine
topic: not called CC=2 SCAR=15.8
Subroutine
updated_at: not called CC=2 SCAR=15.8
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Pod
undocumented
Branch: 7 branches
| |||||||||||||||||||||||||||||||||||
| 43 | |||||||||||||||||||||||||||||||||||
| 44 | 1 | 1 | |||||||||||||||||||||||||||||||||