« Business/CyberSource/ResponsePart/TaxReply/Item.pm
↑ Summary
Business/CyberSource/Role/ForeignCurrency.pm »
| 1 | package Business::CyberSource::Role::Currency; | ||
| 2 | 13 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 13 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 13 | our $VERSION = '0.010008'; # VERSION | |
| 7 | |||
| 8 | 13 | ▶ | use Moose::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 13 | ▶ | use MooseX::RemoteHelper; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | 13 | ▶ | use MooseX::Types::Locale::Currency qw( CurrencyCode ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 13 | has currency => ( | |
| 13 | isa => CurrencyCode, | ||
| 14 | remote_name => 'currency', | ||
| 15 | is => 'ro', | ||
| 16 | required => 1, | ||
| 17 | ); | ||
| 18 | |||
| 19 | 13 | 1; | |
| 20 | |||
| 21 | # ABSTRACT: Role to apply to requests and responses that require currency | ||
| 22 | |||
| 23 | __END__ | ||