| 1 | package Business::PaperlessTrans::RequestPart::Address; | ||
| 2 | 5 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 5 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 5 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 5 | our $VERSION = '0.002000'; # VERSION | |
| 7 | |||
| 8 | 5 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 5 | extends 'MooseY::RemoteHelper::MessagePart'; | |
| 11 | |||
| 12 | 5 | with qw( | |
| 13 | MooseX::RemoteHelper::CompositeSerialization | ||
| 14 | Business::PaperlessTrans::Role::State | ||
| 15 | ); | ||
| 16 | |||
| 17 | 5 | ▶ | use MooseX::Types::Common::String qw( NonEmptySimpleStr ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | |||
| 19 | 5 | has street => ( | |
| 20 | isa => NonEmptySimpleStr, | ||
| 21 | is => 'ro', | ||
| 22 | remote_name => 'Street', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 5 | has city => ( | |
| 26 | isa => NonEmptySimpleStr, | ||
| 27 | is => 'ro', | ||
| 28 | remote_name => 'City', | ||
| 29 | ); | ||
| 30 | |||
| 31 | 5 | has country => ( | |
| 32 | isa => NonEmptySimpleStr, | ||
| 33 | is => 'ro', | ||
| 34 | remote_name => 'Country', | ||
| 35 | ); | ||
| 36 | |||
| 37 | 5 | has zip => ( | |
| 38 | isa => NonEmptySimpleStr, | ||
| 39 | is => 'ro', | ||
| 40 | remote_name => 'Zip', | ||
| 41 | ); | ||
| 42 | |||
| 43 | 5 | __PACKAGE__->meta->make_immutable; | |
| 44 | 5 | 1; | |
| 45 | # ABSTRACT: Address | ||
| 46 | |||
| 47 | __END__ | ||