Package viam.app.v1
Class BillingServiceGrpc.BillingServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceStub>
io.grpc.stub.AbstractAsyncStub<BillingServiceGrpc.BillingServiceStub>
viam.app.v1.BillingServiceGrpc.BillingServiceStub
- Enclosing class:
BillingServiceGrpc
public static final class BillingServiceGrpc.BillingServiceStub
extends io.grpc.stub.AbstractAsyncStub<BillingServiceGrpc.BillingServiceStub>
A stub to allow clients to do asynchronous 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 TypeMethodDescriptionprotected BillingServiceGrpc.BillingServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidchargeOrganization(Billing.ChargeOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.ChargeOrganizationResponse> responseObserver) Charge an organization on the spotvoidcreateInvoiceAndChargeImmediately(Billing.CreateInvoiceAndChargeImmediatelyRequest request, io.grpc.stub.StreamObserver<Billing.CreateInvoiceAndChargeImmediatelyResponse> responseObserver) Deprecated: Use ChargeOrganization insteadvoidgetAvailableBillingTiers(Billing.GetAvailableBillingTiersRequest request, io.grpc.stub.StreamObserver<Billing.GetAvailableBillingTiersResponse> responseObserver) Get available billing tiers that can be assigned to organizationsvoidgetCurrentMonthUsage(Billing.GetCurrentMonthUsageRequest request, io.grpc.stub.StreamObserver<Billing.GetCurrentMonthUsageResponse> responseObserver) Detailed breakdown of current month's costsvoidgetInvoicePdf(Billing.GetInvoicePdfRequest request, io.grpc.stub.StreamObserver<Billing.GetInvoicePdfResponse> responseObserver) Download a PDF invoicevoidgetInvoicesSummary(Billing.GetInvoicesSummaryRequest request, io.grpc.stub.StreamObserver<Billing.GetInvoicesSummaryResponse> responseObserver) Total outstanding balance and previous invoicesvoidgetLocationBillingOrganization(Billing.GetLocationBillingOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.GetLocationBillingOrganizationResponse> responseObserver) Get the billing organization for a locationvoidgetOrgBillingInformation(Billing.GetOrgBillingInformationRequest request, io.grpc.stub.StreamObserver<Billing.GetOrgBillingInformationResponse> responseObserver) Org-level information (like billing email and payment details)voidsendPaymentRequiredEmail(Billing.SendPaymentRequiredEmailRequest request, io.grpc.stub.StreamObserver<Billing.SendPaymentRequiredEmailResponse> responseObserver) Send an email with a prompt to the user's org's billing page.voidupdateLocationBillingOrganization(Billing.UpdateLocationBillingOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.UpdateLocationBillingOrganizationResponse> responseObserver) Update the billing organization for a locationvoidupdateOrganizationBillingTier(Billing.UpdateOrganizationBillingTierRequest request, io.grpc.stub.StreamObserver<Billing.UpdateOrganizationBillingTierResponse> responseObserver) Update an organization's billing tierMethods inherited from class io.grpc.stub.AbstractAsyncStub
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.BillingServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<BillingServiceGrpc.BillingServiceStub>
-
getCurrentMonthUsage
public void getCurrentMonthUsage(Billing.GetCurrentMonthUsageRequest request, io.grpc.stub.StreamObserver<Billing.GetCurrentMonthUsageResponse> responseObserver) Detailed breakdown of current month's costs
-
getOrgBillingInformation
public void getOrgBillingInformation(Billing.GetOrgBillingInformationRequest request, io.grpc.stub.StreamObserver<Billing.GetOrgBillingInformationResponse> responseObserver) Org-level information (like billing email and payment details)
-
getInvoicesSummary
public void getInvoicesSummary(Billing.GetInvoicesSummaryRequest request, io.grpc.stub.StreamObserver<Billing.GetInvoicesSummaryResponse> responseObserver) Total outstanding balance and previous invoices
-
getInvoicePdf
public void getInvoicePdf(Billing.GetInvoicePdfRequest request, io.grpc.stub.StreamObserver<Billing.GetInvoicePdfResponse> responseObserver) Download a PDF invoice
-
sendPaymentRequiredEmail
public void sendPaymentRequiredEmail(Billing.SendPaymentRequiredEmailRequest request, io.grpc.stub.StreamObserver<Billing.SendPaymentRequiredEmailResponse> responseObserver) Send an email with a prompt to the user's org's billing page.
-
getAvailableBillingTiers
public void getAvailableBillingTiers(Billing.GetAvailableBillingTiersRequest request, io.grpc.stub.StreamObserver<Billing.GetAvailableBillingTiersResponse> responseObserver) Get available billing tiers that can be assigned to organizations
-
updateOrganizationBillingTier
public void updateOrganizationBillingTier(Billing.UpdateOrganizationBillingTierRequest request, io.grpc.stub.StreamObserver<Billing.UpdateOrganizationBillingTierResponse> responseObserver) Update an organization's billing tier
-
getLocationBillingOrganization
public void getLocationBillingOrganization(Billing.GetLocationBillingOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.GetLocationBillingOrganizationResponse> responseObserver) Get the billing organization for a location
-
updateLocationBillingOrganization
public void updateLocationBillingOrganization(Billing.UpdateLocationBillingOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.UpdateLocationBillingOrganizationResponse> responseObserver) Update the billing organization for a location
-
chargeOrganization
public void chargeOrganization(Billing.ChargeOrganizationRequest request, io.grpc.stub.StreamObserver<Billing.ChargeOrganizationResponse> responseObserver) Charge an organization on the spot
-
createInvoiceAndChargeImmediately
public void createInvoiceAndChargeImmediately(Billing.CreateInvoiceAndChargeImmediatelyRequest request, io.grpc.stub.StreamObserver<Billing.CreateInvoiceAndChargeImmediatelyResponse> responseObserver) Deprecated: Use ChargeOrganization instead
-