« lib/WebService/Braintree/Dispute/Status.pm
↑ Summary
lib/WebService/Braintree/DocumentUpload/Kind.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::DisputeSearch; | ||
| 4 | 22 | $WebService::Braintree::DisputeSearch::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::DisputeSearch | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a search for disputes. | ||
| 15 | |||
| 16 | =cut | ||
| 17 | |||
| 18 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | 22 | with 'WebService::Braintree::Role::AdvancedSearch'; | |
| 20 | |||
| 21 | 22 | ▶ | use constant FIELDS => []; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | =head1 FIELDS | ||
| 24 | |||
| 25 | =cut | ||
| 26 | |||
| 27 | =head2 case_number | ||
| 28 | |||
| 29 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific case number. | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 22 | __PACKAGE__->text_field("case_number"); | |
| 34 | |||
| 35 | =head2 id | ||
| 36 | |||
| 37 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific id. | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | 22 | __PACKAGE__->text_field("id"); | |
| 42 | |||
| 43 | =head2 reference_number | ||
| 44 | |||
| 45 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific reference number. | ||
| 46 | |||
| 47 | =cut | ||
| 48 | |||
| 49 | 22 | __PACKAGE__->text_field("reference_number"); | |
| 50 | |||
| 51 | =head2 transaction_id | ||
| 52 | |||
| 53 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific transaction. | ||
| 54 | |||
| 55 | =cut | ||
| 56 | |||
| 57 | 22 | __PACKAGE__->text_field("transaction_id"); | |
| 58 | |||
| 59 | =head2 ids | ||
| 60 | |||
| 61 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific ids. | ||
| 62 | |||
| 63 | =cut | ||
| 64 | |||
| 65 | 22 | __PACKAGE__->multiple_values_field("ids"); | |
| 66 | |||
| 67 | =head2 merchant_account_id | ||
| 68 | |||
| 69 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific merchant accounts. | ||
| 70 | |||
| 71 | =cut | ||
| 72 | |||
| 73 | 22 | __PACKAGE__->multiple_values_field("merchant_account_id"); | |
| 74 | |||
| 75 | =head2 reason | ||
| 76 | |||
| 77 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific reasons. | ||
| 78 | |||
| 79 | =cut | ||
| 80 | |||
| 81 | 22 | __PACKAGE__->multiple_values_field("reason"); | |
| 82 | |||
| 83 | =head2 reason_code | ||
| 84 | |||
| 85 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific reason codes. | ||
| 86 | |||
| 87 | =cut | ||
| 88 | |||
| 89 | 22 | __PACKAGE__->multiple_values_field("reason_code"); | |
| 90 | |||
| 91 | =head2 status | ||
| 92 | |||
| 93 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific statuses. | ||
| 94 | |||
| 95 | =cut | ||
| 96 | |||
| 97 | 22 | __PACKAGE__->multiple_values_field("status"); | |
| 98 | |||
| 99 | =head2 transaction_source | ||
| 100 | |||
| 101 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific transaction sources. | ||
| 102 | |||
| 103 | =cut | ||
| 104 | |||
| 105 | 22 | __PACKAGE__->multiple_values_field("transaction_source"); | |
| 106 | |||
| 107 | |||
| 108 | =head2 amount_disputed | ||
| 109 | |||
| 110 | This is a L<range field|WebService::Braintree::AdvancedSearchNodes/"Range Field">. It will restrict the search to disputes created between the amounts. | ||
| 111 | |||
| 112 | =cut | ||
| 113 | |||
| 114 | 22 | __PACKAGE__->range_field("amount_disputed"); | |
| 115 | |||
| 116 | =head2 amount_won | ||
| 117 | |||
| 118 | This is a L<range field|WebService::Braintree::AdvancedSearchNodes/"Range Field">. It will restrict the search to disputes created between the amounts. | ||
| 119 | |||
| 120 | =cut | ||
| 121 | |||
| 122 | 22 | __PACKAGE__->range_field("amount_won"); | |
| 123 | |||
| 124 | =head2 received_date | ||
| 125 | |||
| 126 | This is a L<range field|WebService::Braintree::AdvancedSearchNodes/"Range Field">. It will restrict the search to disputes created between the two dates. | ||
| 127 | |||
| 128 | =cut | ||
| 129 | |||
| 130 | 22 | __PACKAGE__->range_field("received_date"); | |
| 131 | |||
| 132 | =head2 reply_by_date | ||
| 133 | |||
| 134 | This is a L<range field|WebService::Braintree::AdvancedSearchNodes/"Range Field">. It will restrict the search to disputes created between the two dates. | ||
| 135 | |||
| 136 | =cut | ||
| 137 | |||
| 138 | 22 | __PACKAGE__->range_field("reply_by_date"); | |
| 139 | |||
| 140 | 22 | __PACKAGE__->meta->make_immutable; | |
| 141 | |||
| 142 | 22 | 1; | |
| 143 | __END__ | ||