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

com.braintreegateway.TransactionSearchRequest Maven / Gradle / Ivy

The newest version!
package com.braintreegateway;

public class TransactionSearchRequest extends SearchRequest {
    public TextNode id() {
        return textNode("id");
    }

    public TextNode billingCompany() {
        return textNode("billing_company");
    }

    public TextNode billingCountryName() {
        return textNode("billing_country_name");
    }

    public TextNode billingExtendedAddress() {
        return textNode("billing_extended_address");
    }

    public TextNode billingFirstName() {
        return textNode("billing_first_name");
    }

    public TextNode billingLastName() {
        return textNode("billing_last_name");
    }

    public TextNode billingLocality() {
        return textNode("billing_locality");
    }

    public TextNode billingPostalCode() {
        return textNode("billing_postal_code");
    }

    public TextNode billingRegion() {
        return textNode("billing_region");
    }

    public TextNode billingStreetAddress() {
        return textNode("billing_street_address");
    }

    public TextNode creditCardCardholderName() {
        return textNode("credit_card_cardholder_name");
    }

    public TextNode creditCardUniqueIdentifier() {
        return textNode("credit_card_unique_identifier");
    }

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

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

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

    public TextNode customerCompany() {
        return textNode("customer_company");
    }

    public TextNode customerEmail() {
        return textNode("customer_email");
    }

    public TextNode customerFax() {
        return textNode("customer_fax");
    }

    public TextNode customerFirstName() {
        return textNode("customer_first_name");
    }

    public TextNode customerId() {
        return textNode("customer_id");
    }

    public TextNode customerLastName() {
        return textNode("customer_last_name");
    }

    public TextNode customerPhone() {
        return textNode("customer_phone");
    }

    public TextNode customerWebsite() {
        return textNode("customer_website");
    }

    public MultipleValueNode debitNetwork() {
        return multiTypeNode("debit_network");
    }

    public MultipleValueNode ids() {
        return multiTypeNode("ids");
    }

    public MultipleValueNode user() {
        return multiTypeNode("user");
    }

    public TextNode orderId() {
        return textNode("order_id");
    }

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

    public TextNode paypalPaymentId() {
        return textNode("paypal_payment_id");
    }

    public TextNode paypalPayerEmail() {
        return textNode("paypal_payer_email");
    }

    public TextNode paypalAuthorizationId() {
        return textNode("paypal_authorization_id");
    }

    public TextNode processorAuthorizationCode() {
        return textNode("processor_authorization_code");
    }

    public TextNode settlementBatchId() {
        return textNode("settlement_batch_id");
    }

    public TextNode sepaDirectDebitPayPalV2OrderId() {
        return textNode("sepa_debit_paypal_v2_order_id");
    }

    public TextNode shippingCompany() {
        return textNode("shipping_company");
    }

    public TextNode shippingCountryName() {
        return textNode("shipping_country_name");
    }

    public TextNode shippingExtendedAddress() {
        return textNode("shipping_extended_address");
    }

    public TextNode shippingFirstName() {
        return textNode("shipping_first_name");
    }

    public TextNode shippingLastName() {
        return textNode("shipping_last_name");
    }

    public TextNode shippingLocality() {
        return textNode("shipping_locality");
    }

    public TextNode shippingPostalCode() {
        return textNode("shipping_postal_code");
    }

    public TextNode shippingRegion() {
        return textNode("shipping_region");
    }

    public TextNode shippingStreetAddress() {
        return textNode("shipping_street_address");
    }

    public MultipleValueNode paymentInstrumentType() {
        return multiTypeNode("payment_instrument_type");
    }

    public MultipleValueNode createdUsing() {
        return multiTypeNode("created_using");
    }

    public MultipleValueNode creditCardCustomerLocation() {
        return multiTypeNode("credit_card_customer_location");
    }

    public MultipleValueNode merchantAccountId() {
        return multiTypeNode("merchant_account_id");
    }

    public MultipleValueNode creditCardCardType() {
        return multiTypeNode("credit_card_card_type");
    }

    public MultipleValueNode status() {
        return multiTypeNode("status");
    }

    public MultipleValueNode source() {
        return multiTypeNode("source");
    }

    public MultipleValueNode type() {
        return multiTypeNode("type");
    }

    public KeyValueNode refund() {
        return new KeyValueNode("refund", this);
    }

    public RangeNode amount() {
        return new RangeNode("amount", this);
    }

    public DateRangeNode authorizationExpiredAt() {
        return dateRange("authorization_expired_at");
    }

    public DateRangeNode authorizedAt() {
        return dateRange("authorized_at");
    }

    public DateRangeNode createdAt() {
        return dateRange("created_at");
    }

    public DateRangeNode failedAt() {
        return dateRange("failed_at");
    }

    public DateRangeNode gatewayRejectedAt() {
        return dateRange("gateway_rejected_at");
    }

    public DateRangeNode processorDeclinedAt() {
        return dateRange("processor_declined_at");
    }

    public DateRangeNode settledAt() {
        return dateRange("settled_at");
    }

    public DateRangeNode submittedForSettlementAt() {
        return dateRange("submitted_for_settlement_at");
    }

    public DateRangeNode voidedAt() {
        return dateRange("voided_at");
    }

    public DateRangeNode disbursementDate() {
        return dateRange("disbursement_date");
    }

    public DateRangeNode disputeDate() {
        return dateRange("dispute_date");
    }

    private DateRangeNode dateRange(String fieldName) {
        return new DateRangeNode(fieldName, this);
    }

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

    public TextNode storeId() {
        return textNode("store_id");
    }

    public MultipleValueNode storeIds() {
        return multiTypeNode("store_ids");
    }

    public MultipleValueNode reasonCodes() {
        return multiTypeNode("reason_code");
    }

    public TextNode reasonCode() {
        return textNode("reason_code");
    }

    public DateRangeNode achReturnResponsesCreatedAt() {
        return dateRange("ach_return_responses_created_at");
    }

    private  MultipleValueNode multiTypeNode(String type) {
        return new MultipleValueNode(type, this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy