| 1 | package Business::PaperlessTrans::RequestPart::Phone; | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use namespace::autoclean; | ||
| 5 | |||
| 6 | our $VERSION = '0.002000'; # VERSION | ||
| 7 | |||
| 8 | use Moose; | ||
| 9 | |||
| 10 | extends 'MooseY::RemoteHelper::MessagePart'; | ||
| 11 | |||
| 12 | use MooseX::Types::Common::String qw( NonEmptySimpleStr ); | ||
| 13 | |||
| 14 | has number => ( | ||
| 15 | remote_name => 'Number', | ||
| 16 | isa => NonEmptySimpleStr, | ||
| 17 | is => 'ro', | ||
| 18 | ); | ||
| 19 | |||
| 20 | has type => ( | ||
| 21 | remote_name => 'Type', | ||
| 22 | isa => NonEmptySimpleStr, | ||
| 23 | is => 'ro', | ||
| 24 | ); | ||
| 25 | |||
| 26 | __PACKAGE__->meta->make_immutable; | ||
| 27 | 1; | ||
| 28 | # ABSTRACT: Phone | ||
| 29 | |||
| 30 | __END__ |