« lib/WebService/Braintree/_/CoinbaseAccount.pm
↑ Summary
lib/WebService/Braintree/_/ConnectedMerchantStatusTransitioned.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::_::ConnectedMerchantPayPalStatusChanged; | ||
| 4 | 22 | $WebService::Braintree::_::ConnectedMerchantPayPalStatusChanged::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::_::ConnectedMerchantPayPalStatusChanged | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a PayPal status change for a connected merchant. | ||
| 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 | ▶ | use MooX::Aliases; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 22 | extends 'WebService::Braintree::_'; | |
| 24 | |||
| 25 | =head1 ATTRIBUTES | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | =head2 action() | ||
| 30 | |||
| 31 | This is the action for this status change. | ||
| 32 | |||
| 33 | =cut | ||
| 34 | |||
| 35 | 22 | has action => ( | |
| 36 | is => 'ro', | ||
| 37 | ); | ||
| 38 | |||
| 39 | =head2 merchant_public_id() | ||
| 40 | |||
| 41 | This is the merchant public ID for this status change. | ||
| 42 | |||
| 43 | =cut | ||
| 44 | |||
| 45 | 22 | has merchant_public_id => ( | |
| 46 | is => 'ro', | ||
| 47 | ); | ||
| 48 | |||
| 49 | =head2 oauth_application_client_id() | ||
| 50 | |||
| 51 | This is the OAuth application client ID for this status change. | ||
| 52 | |||
| 53 | =cut | ||
| 54 | |||
| 55 | 22 | has oauth_application_client_id => ( | |
| 56 | is => 'ro', | ||
| 57 | ); | ||
| 58 | |||
| 59 | 22 | __PACKAGE__->meta->make_immutable; | |
| 60 | |||
| 61 | 22 | 1; | |
| 62 | __END__ | ||