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
|
|
120
|
use strict; |
|
16
|
|
|
|
|
31
|
|
|
16
|
|
|
|
|
583
|
|
14
|
16
|
|
|
16
|
|
87
|
use warnings; |
|
16
|
|
|
|
|
47
|
|
|
16
|
|
|
|
|
407
|
|
15
|
|
|
|
|
|
|
|
16
|
16
|
|
|
16
|
|
85
|
use Moo; |
|
16
|
|
|
|
|
28
|
|
|
16
|
|
|
|
|
95
|
|
17
|
16
|
|
|
16
|
|
6016
|
use Business::Fixflo::Exception; |
|
16
|
|
|
|
|
46
|
|
|
16
|
|
|
|
|
554
|
|
18
|
16
|
|
|
16
|
|
7343
|
use Business::Fixflo::Envelope; |
|
16
|
|
|
|
|
54
|
|
|
16
|
|
|
|
|
2329
|
|
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 |