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

com.braintreegateway.SubscriptionSearchRequest Maven / Gradle / Ivy

package com.braintreegateway;

/**
 * Provides a fluent interface to build up requests around {@link Subscription}
 * searches.
 */
public class SubscriptionSearchRequest extends SearchRequest {
    public SubscriptionSearchRequest() {
        super();
    }

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

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

    public TextNode id() {
        return new TextNode("id", this);
    }

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

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

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

    public DateRangeNode nextBillingDate() {
        return new DateRangeNode("next_billing_date", this);
    }

    public MultipleValueOrTextNode planId() {
        return new MultipleValueOrTextNode("plan_id", this);
    }

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

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

    public TextNode transactionId() {
        return new TextNode("transaction-id", this);
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy