« lib/WebService/Braintree/CreditCardVerificationSearch.pm
↑ Summary
lib/WebService/Braintree/Dispute/Kind.pm »
| 1 | # vim: sw=4 ts=4 ft=perl | ||
| 2 | |||
| 3 | package WebService::Braintree::CustomerSearch; | ||
| 4 | 22 | $WebService::Braintree::CustomerSearch::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::CustomerSearch | ||
| 11 | |||
| 12 | =head1 PURPOSE | ||
| 13 | |||
| 14 | This class represents a search for customers. | ||
| 15 | |||
| 16 | This class should never be instantiated directly. Instead, you will access | ||
| 17 | objects of this class through the search interface. | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 22 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 22 | with 'WebService::Braintree::Role::AdvancedSearch'; | |
| 23 | |||
| 24 | 22 | ▶ | use constant FIELDS => []; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 25 | |||
| 26 | =head1 FIELDS | ||
| 27 | |||
| 28 | =cut | ||
| 29 | |||
| 30 | =head2 address_country_name | ||
| 31 | |||
| 32 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific country name. | ||
| 33 | |||
| 34 | =cut | ||
| 35 | |||
| 36 | 22 | __PACKAGE__->text_field("address_country_name"); | |
| 37 | |||
| 38 | =head2 address_extended_address | ||
| 39 | |||
| 40 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific extended address. | ||
| 41 | |||
| 42 | =cut | ||
| 43 | |||
| 44 | 22 | __PACKAGE__->text_field("address_extended_address"); | |
| 45 | |||
| 46 | =head2 address_first_name | ||
| 47 | |||
| 48 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific first name on the address. | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | 22 | __PACKAGE__->text_field("address_first_name"); | |
| 53 | |||
| 54 | =head2 address_last_name | ||
| 55 | |||
| 56 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific last name on the address. | ||
| 57 | |||
| 58 | =cut | ||
| 59 | |||
| 60 | 22 | __PACKAGE__->text_field("address_last_name"); | |
| 61 | |||
| 62 | =head2 address_locality | ||
| 63 | |||
| 64 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific locality. | ||
| 65 | |||
| 66 | =cut | ||
| 67 | |||
| 68 | 22 | __PACKAGE__->text_field("address_locality"); | |
| 69 | |||
| 70 | =head2 address_postal_code | ||
| 71 | |||
| 72 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific postal code. | ||
| 73 | |||
| 74 | =cut | ||
| 75 | |||
| 76 | 22 | __PACKAGE__->text_field("address_postal_code"); | |
| 77 | |||
| 78 | =head2 address_region | ||
| 79 | |||
| 80 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific region. | ||
| 81 | |||
| 82 | =cut | ||
| 83 | |||
| 84 | 22 | __PACKAGE__->text_field("address_region"); | |
| 85 | |||
| 86 | =head2 address_street_address | ||
| 87 | |||
| 88 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific street address. | ||
| 89 | |||
| 90 | =cut | ||
| 91 | |||
| 92 | 22 | __PACKAGE__->text_field("address_street_address"); | |
| 93 | |||
| 94 | =head2 cardholder_name | ||
| 95 | |||
| 96 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific cardholder name. | ||
| 97 | |||
| 98 | =cut | ||
| 99 | |||
| 100 | 22 | __PACKAGE__->text_field("cardholder_name"); | |
| 101 | |||
| 102 | =head2 company | ||
| 103 | |||
| 104 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific company. | ||
| 105 | |||
| 106 | =cut | ||
| 107 | |||
| 108 | 22 | __PACKAGE__->text_field("company"); | |
| 109 | |||
| 110 | =head2 created_at | ||
| 111 | |||
| 112 | This is a L<range field|WebService::Braintree::AdvancedSearchNodes/"Range Field">. It will restrict the search to customers created between the two dates. | ||
| 113 | |||
| 114 | =cut | ||
| 115 | |||
| 116 | 22 | __PACKAGE__->range_field("created_at"); | |
| 117 | |||
| 118 | =head2 credit_card_expiration_date | ||
| 119 | |||
| 120 | This is an L<equality field|WebService::Braintree::AdvancedSearchNodes/"Equality Field">. It will restrict the search to customers with | ||
| 121 | credit cards with a specific expiration date. | ||
| 122 | |||
| 123 | =cut | ||
| 124 | |||
| 125 | 22 | __PACKAGE__->equality_field("credit_card_expiration_date"); | |
| 126 | |||
| 127 | =head2 credit_card_number | ||
| 128 | |||
| 129 | This is a L<partial-match field|WebService::Braintree::AdvancedSearchNodes/"Partial Match Field">. It will restrict the search to customers with | ||
| 130 | credit cards containing a specific card number. | ||
| 131 | |||
| 132 | =cut | ||
| 133 | |||
| 134 | 22 | __PACKAGE__->partial_match_field("credit_card_number"); | |
| 135 | |||
| 136 | =head2 email | ||
| 137 | |||
| 138 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific email. | ||
| 139 | |||
| 140 | =cut | ||
| 141 | |||
| 142 | 22 | __PACKAGE__->text_field("email"); | |
| 143 | |||
| 144 | =head2 fax | ||
| 145 | |||
| 146 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific fax. | ||
| 147 | |||
| 148 | =cut | ||
| 149 | |||
| 150 | 22 | __PACKAGE__->text_field("fax"); | |
| 151 | |||
| 152 | =head2 first_name | ||
| 153 | |||
| 154 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific first name. | ||
| 155 | |||
| 156 | =cut | ||
| 157 | |||
| 158 | 22 | __PACKAGE__->text_field("first_name"); | |
| 159 | |||
| 160 | =head2 id | ||
| 161 | |||
| 162 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific id. | ||
| 163 | |||
| 164 | =cut | ||
| 165 | |||
| 166 | 22 | __PACKAGE__->text_field("id"); | |
| 167 | |||
| 168 | =head2 ids | ||
| 169 | |||
| 170 | This is a L<multiple-values field|WebService::Braintree::AdvancedSearchNodes/"Multiple Values Field">. It will restrict the search to a list of specific ids. | ||
| 171 | |||
| 172 | =cut | ||
| 173 | |||
| 174 | 22 | __PACKAGE__->multiple_values_field("ids"); | |
| 175 | |||
| 176 | =head2 last_name | ||
| 177 | |||
| 178 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific last name. | ||
| 179 | |||
| 180 | =cut | ||
| 181 | |||
| 182 | 22 | __PACKAGE__->text_field("last_name"); | |
| 183 | |||
| 184 | =head2 payment_method_token | ||
| 185 | |||
| 186 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific payment method token. | ||
| 187 | |||
| 188 | =cut | ||
| 189 | |||
| 190 | 22 | __PACKAGE__->text_field("payment_method_token"); | |
| 191 | |||
| 192 | =head2 payment_method_token_with_duplicates | ||
| 193 | |||
| 194 | This is an L<is field|WebService::Braintree::AdvancedSearchNodes/"is Field">. It will restrict the search to cusotmers with a specific payment method token. | ||
| 195 | |||
| 196 | =cut | ||
| 197 | |||
| 198 | 22 | __PACKAGE__->is_field("payment_method_token_with_duplicates"); | |
| 199 | |||
| 200 | =head2 paypal_account_email | ||
| 201 | |||
| 202 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific paypal account email. | ||
| 203 | |||
| 204 | =cut | ||
| 205 | |||
| 206 | 22 | __PACKAGE__->text_field("paypal_account_email"); | |
| 207 | |||
| 208 | =head2 phone | ||
| 209 | |||
| 210 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific phone. | ||
| 211 | |||
| 212 | =cut | ||
| 213 | |||
| 214 | 22 | __PACKAGE__->text_field("phone"); | |
| 215 | |||
| 216 | =head2 website | ||
| 217 | |||
| 218 | This is a L<text field|WebService::Braintree::AdvancedSearchNodes/"Text Field">. It will restrict the search to a specific website. | ||
| 219 | |||
| 220 | =cut | ||
| 221 | |||
| 222 | 22 | __PACKAGE__->text_field("website"); | |
| 223 | |||
| 224 | 22 | __PACKAGE__->meta->make_immutable; | |
| 225 | |||
| 226 | 22 | 1; | |
| 227 | __END__ | ||