AsyncDocumentClient.replaceOffer(Offer offer) Method

Definition

Replaces an offer.

After subscription the operation will be performed. The Mono upon successful completion will contain a single resource response with the replaced offer. In case of failure the Mono will error.

public abstract Mono<ResourceResponse<Offer>> replaceOffer(Offer offer)

Parameters

offer
Offer

the offer to use.

Returns

reactor.core.publisher.Mono<ResourceResponse<Offer>>

a Mono containing the single resource response with the replaced offer or an error.

Applies to