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

com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BQRepaymentServiceClient Maven / Gradle / Ivy

package com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice;

import java.util.function.BiFunction;

import io.quarkus.grpc.runtime.MutinyClient;

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

    private final MutinyBQRepaymentServiceGrpc.MutinyBQRepaymentServiceStub stub;

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

    private BQRepaymentServiceClient(MutinyBQRepaymentServiceGrpc.MutinyBQRepaymentServiceStub stub) {
       this.stub = stub;
    }

    public BQRepaymentServiceClient newInstanceWithStub(MutinyBQRepaymentServiceGrpc.MutinyBQRepaymentServiceStub stub) {
        return new BQRepaymentServiceClient(stub);
    }

    @Override
    public MutinyBQRepaymentServiceGrpc.MutinyBQRepaymentServiceStub getStub() {
       return stub;
    }

    @Override
    public io.smallrye.mutiny.Uni executeRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.ExecuteRepaymentRequest request) {
       return stub.executeRepayment(request);
    }
    @Override
    public io.smallrye.mutiny.Uni initiateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.InitiateRepaymentRequest request) {
       return stub.initiateRepayment(request);
    }
    @Override
    public io.smallrye.mutiny.Uni retrieveRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.RetrieveRepaymentRequest request) {
       return stub.retrieveRepayment(request);
    }
    @Override
    public io.smallrye.mutiny.Uni updateRepayment(com.redhat.mercury.openitemmanagement.v10.api.bqrepaymentservice.BqRepaymentService.UpdateRepaymentRequest request) {
       return stub.updateRepayment(request);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy