Package viam.app.v1
Class BillingServiceGrpc.BillingServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<BillingServiceGrpc.BillingServiceBlockingV2Stub>
viam.app.v1.BillingServiceGrpc.BillingServiceBlockingV2Stub
- Enclosing class:
BillingServiceGrpc
public static final class BillingServiceGrpc.BillingServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<BillingServiceGrpc.BillingServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service BillingService.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Directly create a flat fee invoice for an organization and charge on the spotGet available billing tiers that can be assigned to organizationsDetailed breakdown of current month's costsio.grpc.stub.BlockingClientCall<?, Billing.GetInvoicePdfResponse> Download a PDF invoiceTotal outstanding balance and previous invoicesOrg-level information (like billing email and payment details)Send an email with a prompt to the user's org's billing page.Update an organization's billing tierMethods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected BillingServiceGrpc.BillingServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceBlockingV2Stub>
-
getCurrentMonthUsage
public Billing.GetCurrentMonthUsageResponse getCurrentMonthUsage(Billing.GetCurrentMonthUsageRequest request) throws io.grpc.StatusException Detailed breakdown of current month's costs
- Throws:
io.grpc.StatusException
-
getOrgBillingInformation
public Billing.GetOrgBillingInformationResponse getOrgBillingInformation(Billing.GetOrgBillingInformationRequest request) throws io.grpc.StatusException Org-level information (like billing email and payment details)
- Throws:
io.grpc.StatusException
-
getInvoicesSummary
public Billing.GetInvoicesSummaryResponse getInvoicesSummary(Billing.GetInvoicesSummaryRequest request) throws io.grpc.StatusException Total outstanding balance and previous invoices
- Throws:
io.grpc.StatusException
-
getInvoicePdf
@ExperimentalApi("https://github.com/grpc/grpc-java/issues/10918") public io.grpc.stub.BlockingClientCall<?,Billing.GetInvoicePdfResponse> getInvoicePdf(Billing.GetInvoicePdfRequest request) Download a PDF invoice
-
sendPaymentRequiredEmail
public Billing.SendPaymentRequiredEmailResponse sendPaymentRequiredEmail(Billing.SendPaymentRequiredEmailRequest request) throws io.grpc.StatusException Send an email with a prompt to the user's org's billing page.
- Throws:
io.grpc.StatusException
-
getAvailableBillingTiers
public Billing.GetAvailableBillingTiersResponse getAvailableBillingTiers(Billing.GetAvailableBillingTiersRequest request) throws io.grpc.StatusException Get available billing tiers that can be assigned to organizations
- Throws:
io.grpc.StatusException
-
updateOrganizationBillingTier
public Billing.UpdateOrganizationBillingTierResponse updateOrganizationBillingTier(Billing.UpdateOrganizationBillingTierRequest request) throws io.grpc.StatusException Update an organization's billing tier
- Throws:
io.grpc.StatusException
-
createInvoiceAndChargeImmediately
public Billing.CreateInvoiceAndChargeImmediatelyResponse createInvoiceAndChargeImmediately(Billing.CreateInvoiceAndChargeImmediatelyRequest request) throws io.grpc.StatusException Directly create a flat fee invoice for an organization and charge on the spot
- Throws:
io.grpc.StatusException
-