All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.CustomerSearchRequest Maven / Gradle / Ivy

The newest version!
package com.braintreegateway;

public class CustomerSearchRequest extends SearchRequest {
    public TextNode addressCountryName() {
        return textNode("address_country_name");
    }

    public TextNode addressExtendedAddress() {
        return textNode("address_extended_address");
    }

    public TextNode addressFirstName() {
        return textNode("address_first_name");
    }

    public TextNode addressLastName() {
        return textNode("address_last_name");
    }

    public TextNode addressLocality() {
        return textNode("address_locality");
    }

    public TextNode addressPostalCode() {
        return textNode("address_postal_code");
    }

    public TextNode addressRegion() {
        return textNode("address_region");
    }

    public TextNode addressStreetAddress() {
        return textNode("address_street_address");
    }

    public TextNode cardholderName() {
        return textNode("cardholder_name");
    }

    public TextNode company() {
        return textNode("company");
    }

    public EqualityNode creditCardExpirationDate() {
        return new EqualityNode("credit_card_expiration_date", this);
    }

    public TextNode email() {
        return textNode("email");
    }

    public TextNode fax() {
        return textNode("fax");
    }

    public TextNode firstName() {
        return textNode("first_name");
    }

    public TextNode id() {
        return textNode("id");
    }

    public TextNode lastName() {
        return textNode("last_name");
    }

    public TextNode paymentMethodToken() {
        return textNode("payment_method_token");
    }

    public TextNode paypalAccountEmail() {
        return textNode("paypal_account_email");
    }

    public TextNode phone() {
        return textNode("phone");
    }

    public TextNode website() {
        return textNode("website");
    }

    public IsNode paymentMethodTokenWithDuplicates() {
        return new IsNode("payment_method_token_with_duplicates", this);
    }

    public MultipleValueNode ids() {
        return new MultipleValueNode("ids", this);
    }

    public PartialMatchNode creditCardNumber() {
        return new PartialMatchNode("credit_card_number", this);
    }

    public DateRangeNode createdAt() {
        return new DateRangeNode("created_at", this);
    }

    private TextNode textNode(String fieldName) {
        return new TextNode(fieldName, this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy