| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Business::Fixflo::Address; |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
=head1 NAME |
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Business::Fixflo::Address |
|
6
|
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
A class for a fixflo address, extends L |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=cut |
|
12
|
|
|
|
|
|
|
|
|
13
|
16
|
|
|
16
|
|
123
|
use strict; |
|
|
16
|
|
|
|
|
33
|
|
|
|
16
|
|
|
|
|
579
|
|
|
14
|
16
|
|
|
16
|
|
89
|
use warnings; |
|
|
16
|
|
|
|
|
28
|
|
|
|
16
|
|
|
|
|
402
|
|
|
15
|
|
|
|
|
|
|
|
|
16
|
16
|
|
|
16
|
|
95
|
use Moo; |
|
|
16
|
|
|
|
|
44
|
|
|
|
16
|
|
|
|
|
94
|
|
|
17
|
16
|
|
|
16
|
|
5958
|
use Business::Fixflo::Exception; |
|
|
16
|
|
|
|
|
63
|
|
|
|
16
|
|
|
|
|
548
|
|
|
18
|
16
|
|
|
16
|
|
7012
|
use Business::Fixflo::Envelope; |
|
|
16
|
|
|
|
|
50
|
|
|
|
16
|
|
|
|
|
2832
|
|
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
extends 'Business::Fixflo::Resource'; |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
has [ qw/ |
|
23
|
|
|
|
|
|
|
AddressLine1 |
|
24
|
|
|
|
|
|
|
AddressLine2 |
|
25
|
|
|
|
|
|
|
Town |
|
26
|
|
|
|
|
|
|
County |
|
27
|
|
|
|
|
|
|
PostCode |
|
28
|
|
|
|
|
|
|
Country |
|
29
|
|
|
|
|
|
|
/ ] => ( |
|
30
|
|
|
|
|
|
|
is => 'rw', |
|
31
|
|
|
|
|
|
|
); |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
# there are (currently) no possible operations on an Address so we have a |
|
34
|
|
|
|
|
|
|
# "null" client to override the client attribute from the Resource class |
|
35
|
|
|
|
|
|
|
has client => ( |
|
36
|
|
|
|
|
|
|
is => 'ro', |
|
37
|
|
|
|
|
|
|
isa => sub { 1 }, |
|
38
|
|
|
|
|
|
|
default => sub { 0 }, |
|
39
|
|
|
|
|
|
|
required => 0, |
|
40
|
|
|
|
|
|
|
); |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 Operations on an address |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
N/A |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=cut |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 AUTHOR |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Lee Johnson - C |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or modify it under |
|
53
|
|
|
|
|
|
|
the same terms as Perl itself. If you would like to contribute documentation, |
|
54
|
|
|
|
|
|
|
features, bug fixes, or anything else then please raise an issue / pull request: |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
https://github.com/Humanstate/business-fixflo |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=cut |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
1; |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
# vim: ts=4:sw=4:et |