« lib/WebService/Braintree/_/AuthorizationAdjustment.pm
↑ Summary
lib/WebService/Braintree/_/CoinbaseAccount.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::BinData; | ||
| 4 | 22 | $WebService::Braintree::_::BinData::VERSION = '1.7'; | |
| 5 | 22 | ▶ | use 5.010_001; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 22 | ▶ | use strictures 1; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | WebService::Braintree::_::BinData | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a bin data. | ||
| 15 | |||
| 16 | This class will only be created as part of a L<response|WebService::Braintree::Result> or L<error response|WebService::Braintree::ErrorResult>. | ||
| 17 | |||
| 18 | =cut | ||
| 19 | |||
| 20 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | |||
| 22 | 22 | extends 'WebService::Braintree::_'; | |
| 23 | |||
| 24 | =head1 ATTRIBUTES | ||
| 25 | |||
| 26 | =cut | ||
| 27 | |||
| 28 | =head2 commercial() | ||
| 29 | |||
| 30 | This represents if this bin data is commercial. | ||
| 31 | |||
| 32 | =cut | ||
| 33 | |||
| 34 | 22 | has commercial => ( | |
| 35 | is => 'ro', | ||
| 36 | ); | ||
| 37 | |||
| 38 | =head2 country_of_issuance() | ||
| 39 | |||
| 40 | This is the country of issuance for this bin data. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | 22 | has country_of_issuance => ( | |
| 45 | is => 'ro', | ||
| 46 | ); | ||
| 47 | |||
| 48 | =head2 debit() | ||
| 49 | |||
| 50 | This represents if this bin data is debit. | ||
| 51 | |||
| 52 | =cut | ||
| 53 | |||
| 54 | 22 | has debit => ( | |
| 55 | is => 'ro', | ||
| 56 | ); | ||
| 57 | |||
| 58 | =head2 durbin_regulated() | ||
| 59 | |||
| 60 | This represents if this bin data is Durbin-regulated. | ||
| 61 | |||
| 62 | =cut | ||
| 63 | |||
| 64 | 22 | has durbin_regulated => ( | |
| 65 | is => 'ro', | ||
| 66 | ); | ||
| 67 | |||
| 68 | =head2 healthcare() | ||
| 69 | |||
| 70 | This represents if this bin data is healthcare. | ||
| 71 | |||
| 72 | =cut | ||
| 73 | |||
| 74 | 22 | has healthcare => ( | |
| 75 | is => 'ro', | ||
| 76 | ); | ||
| 77 | |||
| 78 | =head2 issuing_bank() | ||
| 79 | |||
| 80 | This is the issuing bank for this bin data. | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||
| 84 | 22 | has issuing_bank => ( | |
| 85 | is => 'ro', | ||
| 86 | ); | ||
| 87 | |||
| 88 | =head2 payroll() | ||
| 89 | |||
| 90 | This represents if this bin data is payroll. | ||
| 91 | |||
| 92 | =cut | ||
| 93 | |||
| 94 | 22 | has payroll => ( | |
| 95 | is => 'ro', | ||
| 96 | ); | ||
| 97 | |||
| 98 | =head2 prepaid() | ||
| 99 | |||
| 100 | This represents if this bin data is prepaid. | ||
| 101 | |||
| 102 | =cut | ||
| 103 | |||
| 104 | 22 | has prepaid => ( | |
| 105 | is => 'ro', | ||
| 106 | ); | ||
| 107 | |||
| 108 | =head2 product_id() | ||
| 109 | |||
| 110 | This is the product ID for this bin data. | ||
| 111 | |||
| 112 | =cut | ||
| 113 | |||
| 114 | 22 | has product_id => ( | |
| 115 | is => 'ro', | ||
| 116 | ); | ||
| 117 | |||
| 118 | 22 | __PACKAGE__->meta->make_immutable; | |
| 119 | |||
| 120 | 22 | 1; | |
| 121 | __END__ | ||