« Business/CyberSource/Response/Role/Base.pm
↑ Summary
Business/CyberSource/RequestPart/OtherTax.pm »
| 1 | package Business::CyberSource::RequestPart::Service; | ||||||||||
| 2 | 13 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 13 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 13 | ▶ | use namespace::autoclean; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 13 | our $VERSION = '0.010008'; # VERSION | |||||||||
| 7 | |||||||||||
| 8 | 13 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 13 | extends 'Business::CyberSource::MessagePart'; | |||||||||
| 10 | 13 | with 'MooseX::RemoteHelper::CompositeSerialization'; | |||||||||
| 11 | |||||||||||
| 12 | has run => ( | ||||||||||
| 13 | isa => 'Bool', | ||||||||||
| 14 | remote_name => 'run', | ||||||||||
| 15 | is => 'ro', | ||||||||||
| 16 | lazy => 1, | ||||||||||
| 17 | init_arg => undef, | ||||||||||
| 18 | reader => undef, | ||||||||||
| 19 | writer => undef, | ||||||||||
| 20 | 9 | ▶ | default => sub { 1 }, | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 21 | 9 | ▶ | serializer => sub { | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.2
| |||||||||||
| 22 | 9 | my ( $attr, $instance ) = @_; | |||||||||
| 23 | 9 | ▶ | return $attr->get_value( $instance ) ? 'true' : 'false'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | }, | ||||||||||
| 25 | 13 | ); | |||||||||
| 26 | |||||||||||
| 27 | 13 | __PACKAGE__->meta->make_immutable; | |||||||||
| 28 | 13 | 1; | |||||||||
| 29 | |||||||||||
| 30 | # ABSTRACT: Service Request Part | ||||||||||
| 31 | |||||||||||
| 32 | __END__ | ||||||||||