| 1 | package Business::TrueLayer::Provider::Scheme; | ||
| 2 | |||
| 3 | =head1 NAME | ||
| 4 | |||
| 5 | Business::TrueLayer::Provider::Scheme - class representing a scheme | ||
| 6 | as used in the TrueLayer v3 API. | ||
| 7 | |||
| 8 | =head1 SYNOPSIS | ||
| 9 | |||
| 10 | my $Scheme = Business::TrueLayer::Provider::Scheme->new( | ||
| 11 | name => ... | ||
| 12 | ); | ||
| 13 | |||
| 14 | =cut | ||
| 15 | |||
| 16 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 18 | 4 | ▶ | use feature qw/ signatures postderef /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 4 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 4 | ▶ | use Moose::Util::TypeConstraints; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 4 | ▶ | no warnings qw/ experimental::signatures experimental::postderef /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 4 | ▶ | use namespace::autoclean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | =head1 ATTRIBUTES | ||
| 27 | |||
| 28 | =over | ||
| 29 | |||
| 30 | =item type (Str) | ||
| 31 | |||
| 32 | =item allow_remitter_fee (Bool) | ||
| 33 | |||
| 34 | =back | ||
| 35 | |||
| 36 | =cut | ||
| 37 | |||
| 38 | 4 | has type => ( | |
| 39 | is => 'ro', | ||
| 40 | isa => 'Str', | ||
| 41 | required => 1, | ||
| 42 | ); | ||
| 43 | |||
| 44 | has allow_remitter_fee => ( | ||
| 45 | is => 'ro', | ||
| 46 | isa => 'Bool', | ||
| 47 | required => 0, | ||
| 48 | 0 | ▶ | default => sub { 0 }, |
|
Subroutine
__ANON__: not called CC=1 SCAR=6.9
| |||
| 49 | 4 | ); | |
| 50 | |||
| 51 | =head1 METHODS | ||
| 52 | |||
| 53 | None yet. | ||
| 54 | |||
| 55 | =head1 SEE ALSO | ||
| 56 | |||
| 57 | L<Business::TrueLayer::Provider::Scheme> | ||
| 58 | |||
| 59 | =cut | ||
| 60 | |||
| 61 | 4 | 1; | |