line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WebService::Braintree::CustomerSearch; |
2
|
|
|
|
|
|
|
$WebService::Braintree::CustomerSearch::VERSION = '0.92'; |
3
|
1
|
|
|
1
|
|
6
|
use Moose; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
4
|
|
4
|
1
|
|
|
1
|
|
5391
|
use WebService::Braintree::AdvancedSearch; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
156
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
my $field = WebService::Braintree::AdvancedSearchFields->new(metaclass => __PACKAGE__->meta); |
7
|
|
|
|
|
|
|
$field->text("address_country_name"); |
8
|
|
|
|
|
|
|
$field->text("address_extended_address"); |
9
|
|
|
|
|
|
|
$field->text("address_first_name"); |
10
|
|
|
|
|
|
|
$field->text("address_last_name"); |
11
|
|
|
|
|
|
|
$field->text("address_locality"); |
12
|
|
|
|
|
|
|
$field->text("address_postal_code"); |
13
|
|
|
|
|
|
|
$field->text("address_region"); |
14
|
|
|
|
|
|
|
$field->text("address_street_address"); |
15
|
|
|
|
|
|
|
$field->text("cardholder_name"); |
16
|
|
|
|
|
|
|
$field->text("company"); |
17
|
|
|
|
|
|
|
$field->text("email"); |
18
|
|
|
|
|
|
|
$field->text("fax"); |
19
|
|
|
|
|
|
|
$field->text("first_name"); |
20
|
|
|
|
|
|
|
$field->text("id"); |
21
|
|
|
|
|
|
|
$field->text("last_name"); |
22
|
|
|
|
|
|
|
$field->text("payment_method_token"); |
23
|
|
|
|
|
|
|
$field->text("paypal_account_email"); |
24
|
|
|
|
|
|
|
$field->text("phone"); |
25
|
|
|
|
|
|
|
$field->text("website"); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
$field->is("payment_method_token_with_duplicates"); |
28
|
|
|
|
|
|
|
$field->equality("credit_card_expiration_date"); |
29
|
|
|
|
|
|
|
$field->partial_match("credit_card_number"); |
30
|
|
|
|
|
|
|
$field->multiple_values("ids"); |
31
|
|
|
|
|
|
|
$field->range("created_at"); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub to_hash { |
34
|
0
|
|
|
0
|
0
|
|
WebService::Braintree::AdvancedSearch->search_to_hash(shift); |
35
|
|
|
|
|
|
|
} |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
38
|
|
|
|
|
|
|
1; |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|