package Business::CyberSource::Request::Capture; use strict; use warnings; use namespace::autoclean; our $VERSION = '0.007009'; # VERSION use Moose; extends 'Business::CyberSource::Request'; with qw( Business::CyberSource::Request::Role::DCC Business::CyberSource::Request::Role::TaxService ); use MooseX::Types::CyberSource qw( CaptureService ); has '+service' => ( isa => CaptureService, remote_name => 'ccCaptureService', lazy_build => 0, ); __PACKAGE__->meta->make_immutable; 1; # ABSTRACT: CyberSource Capture Request Object __END__ =pod =head1 NAME Business::CyberSource::Request::Capture - CyberSource Capture Request Object =head1 VERSION version 0.007009 =head1 SYNOPSIS use Business::CyberSource::Request::Capture; my $capture = Business::CyberSource::Request::Capture->new({ reference_code => 'merchant reference code', service => { request_id => 'authorization response request_id', }, purchase_totals => { total => 5.01, # same amount as in authorization currency => 'USD', # same currency as in authorization }, }); =head1 DESCRIPTION This object allows you to create a request for a capture. =head1 EXTENDS L =head1 WITH =over =item L =back =head1 BUGS Please report any bugs or feature requests on the bugtracker website https://github.com/hostgator/business-cybersource/issues or by email to development@hostgator.com. When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. =head1 AUTHOR Caleb Cushing =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2012 by L. This is free software, licensed under: The Artistic License 2.0 (GPL Compatible) =cut