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) Charge an organization on the spotDeprecated: Use ChargeOrganization insteadGet 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 invoicesGet the billing organization for a locationOrg-level information (like billing email and payment details)Send an email with a prompt to the user's org's billing page.Update the billing organization for a locationUpdate 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
-
getLocationBillingOrganization
public Billing.GetLocationBillingOrganizationResponse getLocationBillingOrganization(Billing.GetLocationBillingOrganizationRequest request) throws io.grpc.StatusException Get the billing organization for a location
- Throws:
io.grpc.StatusException
-
updateLocationBillingOrganization
public Billing.UpdateLocationBillingOrganizationResponse updateLocationBillingOrganization(Billing.UpdateLocationBillingOrganizationRequest request) throws io.grpc.StatusException Update the billing organization for a location
- Throws:
io.grpc.StatusException
-
chargeOrganization
public Billing.ChargeOrganizationResponse chargeOrganization(Billing.ChargeOrganizationRequest request) throws io.grpc.StatusException Charge an organization on the spot
- Throws:
io.grpc.StatusException
-
createInvoiceAndChargeImmediately
public Billing.CreateInvoiceAndChargeImmediatelyResponse createInvoiceAndChargeImmediately(Billing.CreateInvoiceAndChargeImmediatelyRequest request) throws io.grpc.StatusException Deprecated: Use ChargeOrganization instead
- Throws:
io.grpc.StatusException
-