| Package | Description |
|---|---|
| net.billforward | |
| net.billforward.model | |
| net.billforward.model.amendments | |
| net.billforward.model.gateways | |
| net.billforward.model.usage |
| Modifier and Type | Method and Description |
|---|---|
protected <T> APIResponse<T> |
BillForwardClient._request(Type responseType,
BillForwardClient.RequestMethod method,
String url,
T obj,
String apiKey) |
protected <TRequest,TResponse> |
BillForwardClient._requestUntyped(Type responseType,
BillForwardClient.RequestMethod method,
String url,
TRequest obj,
String apiKey) |
static BillForwardClient |
BillForwardClient.getClient() |
<T> APIResponse<T> |
BillForwardClient.request(BillForwardClient.RequestMethod method,
String url,
T obj,
Type responseType) |
<TRequest,TResponse> |
BillForwardClient.requestUntyped(BillForwardClient.RequestMethod method,
String url,
TRequest obj,
Type responseType) |
| Modifier and Type | Method and Description |
|---|---|
CancellationAmendment |
Subscription.cancelAtPeriodEnd()
Cancel subscription at the current period end
|
CancellationAmendment |
Subscription.cancelImmediately()
Cancels a subscription immediately
|
static Account |
Account.create(Account account) |
static Address |
Address.create(Address address) |
static PaymentMethod |
PaymentMethod.create(PaymentMethod paymentMethod) |
static PricingComponentValue |
PricingComponentValue.create(PricingComponentValue pricingComponentValue) |
static Product |
Product.create(Product product) |
static RatePlan |
RatePlan.create(RatePlan ratePlan) |
static Subscription |
Subscription.create(Subscription subscription) |
static TaxationStrategy |
TaxationStrategy.create(TaxationStrategy taxationStrategy) |
protected static <TStaticEntityType extends BillingEntity> |
InsertableEntity.create(TStaticEntityType entity,
ResourcePath path) |
protected static <TStaticEntityType extends BillingEntity> |
InsertableEntity.create(TStaticEntityType entity,
ResourcePath path,
String extraPath) |
static UnitOfMeasure |
UnitOfMeasure.create(UnitOfMeasure unitOfMeasure) |
static Webhook |
Webhook.create(Webhook webhook) |
static Webhook[] |
Webhook.getAll() |
static UnitOfMeasure[] |
UnitOfMeasure.getAll() |
static TaxationStrategy[] |
TaxationStrategy.getAll() |
static Subscription[] |
Subscription.getAll() |
static RatePlan[] |
RatePlan.getAll() |
static Profile[] |
Profile.getAll() |
static Product[] |
Product.getAll() |
static Webhook[] |
Organization.getAll() |
TEntityType[] |
Controller.getAll() |
static Address[] |
Address.getAll() |
static Account[] |
Account.getAll() |
protected static <TStaticEntityType extends BillingEntity> |
BillingEntity.getAll(ResourcePath path) |
static Subscription[] |
Subscription.getByAccountID(String accountID) |
static Webhook |
Webhook.getByID(String ID) |
static UnitOfMeasure |
UnitOfMeasure.getByID(String ID) |
static TaxationStrategy |
TaxationStrategy.getByID(String ID) |
static Subscription |
Subscription.getByID(String ID) |
static RatePlan |
RatePlan.getByID(String ID) |
static Profile |
Profile.getByID(String ID) |
static Product |
Product.getByID(String ID) |
static PaymentMethod |
PaymentMethod.getByID(String ID) |
static Organization |
Organization.getByID(String ID) |
static Invoice |
Invoice.getByID(String ID) |
TEntityType |
Controller.getByID(String ID) |
static Address |
Address.getByID(String ID) |
static Account |
Account.getByID(String ID) |
protected static <TStaticEntityType extends BillingEntity> |
BillingEntity.getByID(String ID,
ResourcePath path) |
protected static <TStaticEntityType extends BillingEntity> |
BillingEntity.getByID(String ID,
String prePath,
ResourcePath path) |
protected static <TStaticEntityType extends BillingEntity> |
BillingEntity.getByIDPostPath(String ID,
String postPath,
ResourcePath path) |
static Subscription[] |
Subscription.getByProductID(String productID) |
static RatePlan[] |
RatePlan.getByProductID(String productID) |
static Subscription[] |
Subscription.getByRatePlanID(String ratePlanID) |
static Invoice[] |
Invoice.getByState(Invoice.InvoiceState invoiceState_) |
static Subscription[] |
Subscription.getByState(Subscription.SubscriptionState state_) |
static Invoice[] |
Invoice.getBySubscriptionID(String subscriptionID) |
static Organization |
Organization.getMine() |
IssueInvoiceAmendment |
Invoice.issue() |
InvoiceRecalculationAmendment |
Invoice.recalculate(Invoice.InvoiceState newInvoiceState) |
static PriceCalculation |
PricingCalculator.requestPriceCalculation(PriceRequest priceRequest_) |
RatePlan |
RatePlan.retire() |
Product |
Product.retire() |
protected static <TStaticEntityType extends BillingEntity> |
InsertableEntity.retire(String ID,
ResourcePath path) |
InvoiceNextExecutionAttemptAmendment |
Invoice.retryTakingPayment() |
InvoiceNextExecutionAttemptAmendment |
Invoice.retryTakingPayment(Date dateToExecute_) |
TEntityType |
MutableEntity.save() |
void |
Invoice.setUsage(int usage) |
| Modifier and Type | Method and Description |
|---|---|
static AmendmentDiscardAmendment |
AmendmentDiscardAmendment.create(AmendmentDiscardAmendment amendment) |
static CancellationAmendment |
CancellationAmendment.create(CancellationAmendment amendment) |
static InvoiceNextExecutionAttemptAmendment |
InvoiceNextExecutionAttemptAmendment.create(InvoiceNextExecutionAttemptAmendment amendment) |
static InvoiceRecalculationAmendment |
InvoiceRecalculationAmendment.create(InvoiceRecalculationAmendment amendment) |
static IssueInvoiceAmendment |
IssueInvoiceAmendment.create(IssueInvoiceAmendment amendment) |
| Modifier and Type | Method and Description |
|---|---|
static StripeToken |
StripeToken.getByID(String ID) |
static AuthorizeNetToken |
AuthorizeNetToken.getByID(String ID) |
| Modifier and Type | Method and Description |
|---|---|
static UsageSession[] |
UsageSession.getActiveSessionsForSubscription(String subscriptionID_) |
static Period[] |
Period.getAllPeriods() |
static Period |
Period.getLatestPeriodsForSubscription(String subscriptionID_) |
static Period[] |
Period.getPeriodsForSubscription(String subscriptionID_) |
static UsageSession[] |
UsageSession.getSessionsForSubscription(String subscriptionID_) |
static Usage[] |
Usage.getUsageForSubscription(String subscriptionID_) |
static Usage[] |
Usage.getUsageForSubscriptionPeriod(String subscriptionID_,
int period_) |
static UsagePeriod[] |
UsagePeriod.getUsagePeriodsForInvoice(String subscriptionID_,
String invoiceID_) |
static UsagePeriod[] |
UsagePeriod.getUsagePeriodsForSubscription(String subscriptionID_) |
static UsagePeriod[] |
UsagePeriod.getUsagePeriodsForSubscriptionPeriod(String subscriptionID_,
int period_) |
static UsageSession |
UsageSession.startSession(UnitOfMeasure uom,
String subscriptionID) |
static UsageSession |
UsageSession.startSession(UnitOfMeasure uom,
String subscriptionID,
String sessionID) |
static UsageSession[] |
UsageSession.startSessions(UsageSession[] sessions_) |
static UsageSession |
UsageSession.stopSession(UnitOfMeasure uom,
String subscriptionID,
String sessionID) |
static UsageSession[] |
UsageSession.stopSession(UsageSession[] sessions_) |
Copyright © 2014 BillForward. All rights reserved.