« Business/CyberSource/ResponsePart/AuthReply.pm
↑ Summary
Business/CyberSource/ResponsePart/PurchaseTotals.pm »
| 1 | package Business::CyberSource::ResponsePart::DCCReply; | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $VERSION = '0.010008'; # VERSION | |
| 7 | |||
| 8 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 1 | extends 'Business::CyberSource::MessagePart'; | |
| 10 | 1 | with qw( | |
| 11 | Business::CyberSource::Response::Role::ReasonCode | ||
| 12 | ); | ||
| 13 | |||
| 14 | 1 | ▶ | use MooseX::RemoteHelper::Types qw( Bool ); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 15 | |||
| 16 | 1 | has supported => ( | |
| 17 | isa => Bool, | ||
| 18 | remote_name => 'dccSupported', | ||
| 19 | is => 'ro', | ||
| 20 | coerce => 1, | ||
| 21 | required => 1, | ||
| 22 | predicate => 'has_supported', | ||
| 23 | ); | ||
| 24 | |||
| 25 | 1 | has margin_rate_percentage => ( | |
| 26 | isa => 'Num', | ||
| 27 | remote_name => 'marginRatePercentage', | ||
| 28 | is => 'ro', | ||
| 29 | required => 1, | ||
| 30 | predicate => 'has_margin_rate_percentage', | ||
| 31 | ); | ||
| 32 | |||
| 33 | 1 | has valid_hours => ( | |
| 34 | isa => 'Int', | ||
| 35 | remote_name => 'validHours', | ||
| 36 | is => 'ro', | ||
| 37 | required => 1, | ||
| 38 | predicate => 'has_valid_hours', | ||
| 39 | ); | ||
| 40 | |||
| 41 | 1 | __PACKAGE__->meta->make_immutable; | |
| 42 | 1 | 1; | |
| 43 | |||
| 44 | # ABSTRACT: Reply section for DCC | ||
| 45 | |||
| 46 | __END__ | ||