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

com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice.BQBillingServiceClient Maven / Gradle / Ivy

The newest version!
package com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice;

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

@javax.annotation.Generated(
value = "by Mutiny Grpc generator",
comments = "Source: v10/api/bq_billing_service.proto")
public class BQBillingServiceClient implements BQBillingService, MutinyClient {

    private final MutinyBQBillingServiceGrpc.MutinyBQBillingServiceStub stub;

    public BQBillingServiceClient(String name, io.grpc.Channel channel, BiFunction stubConfigurator) {
       this.stub = stubConfigurator.apply(name,MutinyBQBillingServiceGrpc.newMutinyStub(channel));
    }

    private BQBillingServiceClient(MutinyBQBillingServiceGrpc.MutinyBQBillingServiceStub stub) {
       this.stub = stub;
    }

    public BQBillingServiceClient newInstanceWithStub(MutinyBQBillingServiceGrpc.MutinyBQBillingServiceStub stub) {
        return new BQBillingServiceClient(stub);
    }

    @Override
    public MutinyBQBillingServiceGrpc.MutinyBQBillingServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni exchangeBilling(com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice.BqBillingService.ExchangeBillingRequest request) {
       return stub.exchangeBilling(request);
    }
    @Override
    public io.smallrye.mutiny.Uni initiateBilling(com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice.BqBillingService.InitiateBillingRequest request) {
       return stub.initiateBilling(request);
    }
    @Override
    public io.smallrye.mutiny.Uni retrieveBilling(com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice.BqBillingService.RetrieveBillingRequest request) {
       return stub.retrieveBilling(request);
    }
    @Override
    public io.smallrye.mutiny.Uni updateBilling(com.redhat.mercury.merchandisingloan.v10.api.bqbillingservice.BqBillingService.UpdateBillingRequest request) {
       return stub.updateBilling(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy