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
|
|
96
|
use strict; |
|
16
|
|
|
|
|
29
|
|
|
16
|
|
|
|
|
409
|
|
14
|
16
|
|
|
16
|
|
67
|
use warnings; |
|
16
|
|
|
|
|
26
|
|
|
16
|
|
|
|
|
302
|
|
15
|
|
|
|
|
|
|
|
16
|
16
|
|
|
16
|
|
64
|
use Moo; |
|
16
|
|
|
|
|
36
|
|
|
16
|
|
|
|
|
73
|
|
17
|
16
|
|
|
16
|
|
4884
|
use Business::Fixflo::Exception; |
|
16
|
|
|
|
|
38
|
|
|
16
|
|
|
|
|
433
|
|
18
|
16
|
|
|
16
|
|
7394
|
use Business::Fixflo::Envelope; |
|
16
|
|
|
|
|
41
|
|
|
16
|
|
|
|
|
2049
|
|
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 |