| 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.010007'; # 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 | serializer => sub { | ||||||||||
| 22 | 9 | ▶ | my ( $attr, $instance ) = @_; | ||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.2
| |||||||||||
| 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__ | ||||||||||
| 33 | |||||||||||
| 34 | =pod | ||||||||||
| 35 | |||||||||||
| 36 | =encoding UTF-8 | ||||||||||
| 37 | |||||||||||
| 38 | =head1 NAME | ||||||||||
| 39 | |||||||||||
| 40 | Business::CyberSource::RequestPart::Service - Service Request Part | ||||||||||
| 41 | |||||||||||
| 42 | =head1 VERSION | ||||||||||
| 43 | |||||||||||
| 44 | version 0.010007 | ||||||||||
| 45 | |||||||||||
| 46 | =head1 DESCRIPTION | ||||||||||
| 47 | |||||||||||
| 48 | Service provides support for the portion of requests that are named as | ||||||||||
| 49 | C<cc*Service> this tells CyberSource which type of request to make. All of the | ||||||||||
| 50 | L<Business::CyberSource::Request> based classes will add this correctly. | ||||||||||
| 51 | Depending on the request type you may have to set either | ||||||||||
| 52 | L<capture_request_id|/"capture_request_id"> or | ||||||||||
| 53 | L<auth_request_id|/"auth_request_id"> | ||||||||||
| 54 | |||||||||||
| 55 | =head1 EXTENDS | ||||||||||
| 56 | |||||||||||
| 57 | L<Business::CyberSource::MessagePart> | ||||||||||
| 58 | |||||||||||
| 59 | =head1 ATTRIBUTES | ||||||||||
| 60 | |||||||||||
| 61 | =head2 run | ||||||||||
| 62 | |||||||||||
| 63 | run will be set correctly by default on ever request | ||||||||||
| 64 | |||||||||||
| 65 | =head1 BUGS | ||||||||||
| 66 | |||||||||||
| 67 | Please report any bugs or feature requests on the bugtracker website | ||||||||||
| 68 | https://github.com/xenoterracide/business-cybersource/issues | ||||||||||
| 69 | |||||||||||
| 70 | When submitting a bug or request, please include a test-file or a | ||||||||||
| 71 | patch to an existing test-file that illustrates the bug or desired | ||||||||||
| 72 | feature. | ||||||||||
| 73 | |||||||||||
| 74 | =head1 AUTHOR | ||||||||||
| 75 | |||||||||||
| 76 | Caleb Cushing <xenoterracide@gmail.com> | ||||||||||
| 77 | |||||||||||
| 78 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 79 | |||||||||||
| 80 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||||||||||
| 81 | |||||||||||
| 82 | This is free software, licensed under: | ||||||||||
| 83 | |||||||||||
| 84 | The Artistic License 2.0 (GPL Compatible) | ||||||||||
| 85 | |||||||||||
| 86 | =cut | ||||||||||