File Coverage

blib/lib/Business/CyberSource/RequestPart/InvoiceHeader.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package Business::CyberSource::RequestPart::InvoiceHeader;
2 4     4   10236 use strict;
  4         7  
  4         119  
3 4     4   14 use warnings;
  4         5  
  4         181  
4 4     4   383 use namespace::autoclean;
  4         6078  
  4         34  
5              
6             our $VERSION = '0.010008'; # VERSION
7              
8 4     4   736 use Moose;
  4         206878  
  4         30  
9             extends 'Business::CyberSource::MessagePart';
10             with 'MooseX::RemoteHelper::CompositeSerialization';
11              
12 4     4   19258 use MooseX::Types::Common::String qw( NonEmptySimpleStr );
  4         97361  
  4         42  
13              
14             has 'purchaser_vat_registration_number' => (
15             isa => NonEmptySimpleStr,
16             is => 'ro',
17             remote_name => 'purchaserVATRegistrationNumber',
18             );
19              
20             has 'user_po' => (
21             isa => NonEmptySimpleStr,
22             is => 'ro',
23             remote_name => 'userPO',
24             );
25              
26             has 'vat_invoice_reference_number' => (
27             isa => NonEmptySimpleStr,
28             is => 'ro',
29             remote_name => 'vatInvoiceReferenceNumber',
30             );
31              
32             __PACKAGE__->meta->make_immutable;
33             1;
34              
35             # ABSTRACT: InvoiceHeader information
36              
37             __END__
38              
39             =pod
40              
41             =encoding UTF-8
42              
43             =head1 NAME
44              
45             Business::CyberSource::RequestPart::InvoiceHeader - InvoiceHeader information
46              
47             =head1 VERSION
48              
49             version 0.010008
50              
51             =head1 EXTENDS
52              
53             L<Business::CyberSource::MessagePart>
54              
55             =head1 ATTRIBUTES
56              
57             =head2 purchaser_vat_registration_number
58              
59             Identification number assigned to the purchasing company by the tax
60             authorities .
61              
62             =head2 user_po
63              
64             Value used by your customer to identify the order. This value is typically a purchase order number.
65              
66             =head2 vat_invoice_reference_number
67              
68             VAT invoice number associated with the transaction.
69              
70             =for Pod::Coverage BUILD
71              
72             =head1 BUGS
73              
74             Please report any bugs or feature requests on the bugtracker website
75             https://github.com/hostgator/business-cybersource/issues
76              
77             When submitting a bug or request, please include a test-file or a
78             patch to an existing test-file that illustrates the bug or desired
79             feature.
80              
81             =head1 AUTHOR
82              
83             Caleb Cushing <xenoterracide@gmail.com>
84              
85             =head1 COPYRIGHT AND LICENSE
86              
87             This software is Copyright (c) 2017 by Caleb Cushing <xenoterracide@gmail.com>.
88              
89             This is free software, licensed under:
90              
91             The Artistic License 2.0 (GPL Compatible)
92              
93             =cut