| 1 | package Business::CyberSource::Request::AuthReversal; | ||
| 2 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 2 | our $VERSION = '0.010007'; # VERSION | |
| 7 | |||
| 8 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | extends 'Business::CyberSource::Request'; | |
| 10 | |||
| 11 | 2 | ▶ | use MooseX::Types::CyberSource qw( AuthReversalService ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 2 | has '+service' => ( | |
| 14 | isa => AuthReversalService, | ||
| 15 | remote_name => 'ccAuthReversalService', | ||
| 16 | lazy_build => 0, | ||
| 17 | ); | ||
| 18 | |||
| 19 | 2 | __PACKAGE__->meta->make_immutable; | |
| 20 | 2 | 1; | |
| 21 | |||
| 22 | # ABSTRACT: CyberSource Reverse Authorization request object | ||
| 23 | |||
| 24 | __END__ | ||
| 25 | |||
| 26 | =pod | ||
| 27 | |||
| 28 | =encoding UTF-8 | ||
| 29 | |||
| 30 | =head1 NAME | ||
| 31 | |||
| 32 | Business::CyberSource::Request::AuthReversal - CyberSource Reverse Authorization request object | ||
| 33 | |||
| 34 | =head1 VERSION | ||
| 35 | |||
| 36 | version 0.010007 | ||
| 37 | |||
| 38 | =head1 SYNOPSIS | ||
| 39 | |||
| 40 | use Business::CyberSource::Request::AuthReversal; | ||
| 41 | |||
| 42 | my $req = Business::CyberSource::Request::AuthReversal->new({ | ||
| 43 | reference_code => 'orignal authorization merchant reference code', | ||
| 44 | service => { | ||
| 45 | request_id => 'request id returned by authorization', | ||
| 46 | }, | ||
| 47 | purchase_totals { | ||
| 48 | total => 5.00, # same as original authorization amount | ||
| 49 | currency => 'USD', # same as original currency | ||
| 50 | }, | ||
| 51 | }); | ||
| 52 | |||
| 53 | =head1 DESCRIPTION | ||
| 54 | |||
| 55 | This allows you to reverse an authorization request. | ||
| 56 | |||
| 57 | =head1 EXTENDS | ||
| 58 | |||
| 59 | L<Business::CyberSource::Request> | ||
| 60 | |||
| 61 | =head1 BUGS | ||
| 62 | |||
| 63 | Please report any bugs or feature requests on the bugtracker website | ||
| 64 | https://github.com/xenoterracide/business-cybersource/issues | ||
| 65 | |||
| 66 | When submitting a bug or request, please include a test-file or a | ||
| 67 | patch to an existing test-file that illustrates the bug or desired | ||
| 68 | feature. | ||
| 69 | |||
| 70 | =head1 AUTHOR | ||
| 71 | |||
| 72 | Caleb Cushing <xenoterracide@gmail.com> | ||
| 73 | |||
| 74 | =head1 COPYRIGHT AND LICENSE | ||
| 75 | |||
| 76 | This software is Copyright (c) 2016 by Caleb Cushing <xenoterracide@gmail.com>. | ||
| 77 | |||
| 78 | This is free software, licensed under: | ||
| 79 | |||
| 80 | The Artistic License 2.0 (GPL Compatible) | ||
| 81 | |||
| 82 | =cut | ||