package Business::CyberSource::Response::Role::RequestDateTime;
use strict;
use warnings;
use namespace::autoclean;
use Module::Load qw( load );

our $VERSION = '0.010008'; # VERSION

use Moose::Role;
use MooseX::RemoteHelper;
use MooseX::Types::CyberSource qw( DateTimeFromW3C );

has datetime => (
	isa         => DateTimeFromW3C,
	remote_name => 'requestDateTime',
	is          => 'ro',
	coerce      => 1,
	predicate   => 'has_datetime',


# ABSTRACT: Role to provide datetime attribute



=encoding UTF-8

=head1 NAME

Business::CyberSource::Response::Role::RequestDateTime - Role to provide datetime attribute

=head1 VERSION

version 0.010008


Several responses include a datetime that has a key name of C<requestDateTime>
this role is provided for those response sections.

=head1 BUGS

Please report any bugs or feature requests on the bugtracker website

When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired

=head1 AUTHOR

Caleb Cushing <>


This software is Copyright (c) 2017 by Caleb Cushing <>.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)