Class OfferQuoteClient
Service client instance for OfferQuote.
Implements
Inherited Members
Namespace: Oci.MarketplaceprivateofferService
Assembly: OCI.DotNetSDK.Marketplaceprivateoffer.dll
Syntax
public class OfferQuoteClient : RegionalClientBase, IDisposable
Constructors
OfferQuoteClient(IBasicAuthenticationDetailsProvider, ClientConfiguration, string)
Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. A client configuration can also be provided optionally to adjust REST client behaviors.
Declaration
public OfferQuoteClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IBasicAuthenticationDetailsProvider | authenticationDetailsProvider | The authentication details provider. Required. |
| ClientConfiguration | clientConfiguration | The client configuration that contains settings to adjust REST client behaviors. Optional. |
| string | endpoint | The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. |
Properties
Paginators
Declaration
public OfferQuotePaginators Paginators { get; }
Property Value
| Type | Description |
|---|---|
| OfferQuotePaginators |
Waiters
Declaration
public OfferQuoteWaiters Waiters { get; }
Property Value
| Type | Description |
|---|---|
| OfferQuoteWaiters |
Methods
CreateOfferQuote(CreateOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Creates a new offer quote.
Declaration
public Task<CreateOfferQuoteResponse> CreateOfferQuote(CreateOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<CreateOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use CreateOfferQuote API.
DeleteOfferQuote(DeleteOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Deletes an offer quote resource by identifier.
Declaration
public Task<DeleteOfferQuoteResponse> DeleteOfferQuote(DeleteOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<DeleteOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use DeleteOfferQuote API.
GetOfferQuote(GetOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets an offer quote by identifier.
Declaration
public Task<GetOfferQuoteResponse> GetOfferQuote(GetOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetOfferQuote API.
GetOfferQuoteInternalDetail(GetOfferQuoteInternalDetailRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Gets an offer quote internal details by identifier.
Declaration
public Task<GetOfferQuoteInternalDetailResponse> GetOfferQuoteInternalDetail(GetOfferQuoteInternalDetailRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| GetOfferQuoteInternalDetailRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<GetOfferQuoteInternalDetailResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use GetOfferQuoteInternalDetail API.
ListOfferQuotes(ListOfferQuotesRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Returns a list of offer quotes. Requires either a reseller compartment ID or an ISV compartment ID.
Declaration
public Task<ListOfferQuotesResponse> ListOfferQuotes(ListOfferQuotesRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| ListOfferQuotesRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<ListOfferQuotesResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use ListOfferQuotes API.
RespondToOfferQuote(RespondToOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
ISV responds to an offer quote for reseller to review.
Declaration
public Task<RespondToOfferQuoteResponse> RespondToOfferQuote(RespondToOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| RespondToOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<RespondToOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use RespondToOfferQuote API.
SendOfferQuote(SendOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Sends an offer quote to be reviewed and updated by the ISV. Validation will be run on the offer quote first to verify it is valid and contains all required fields.
Declaration
public Task<SendOfferQuoteResponse> SendOfferQuote(SendOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| SendOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<SendOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use SendOfferQuote API.
UpdateOfferQuote(UpdateOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Updates the offer quote.
Declaration
public Task<UpdateOfferQuoteResponse> UpdateOfferQuote(UpdateOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<UpdateOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use UpdateOfferQuote API.
WithdrawOfferQuote(WithdrawOfferQuoteRequest, RetryConfiguration, CancellationToken, HttpCompletionOption)
Withdraws an offer quote and transitions to previous state. Offer quotes can only be withdrawn by reseller before the ISV response and withdrawn by the ISV before reseller acceptance.
Declaration
public Task<WithdrawOfferQuoteResponse> WithdrawOfferQuote(WithdrawOfferQuoteRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default, HttpCompletionOption completionOption = HttpCompletionOption.ResponseContentRead)
Parameters
| Type | Name | Description |
|---|---|---|
| WithdrawOfferQuoteRequest | request | The request object containing the details to send. Required. |
| RetryConfiguration | retryConfiguration | The retry configuration that will be used by to send this request. Optional. |
| CancellationToken | cancellationToken | The cancellation token to cancel this operation. Optional. |
| HttpCompletionOption | completionOption | The completion option for this operation. Optional. |
Returns
| Type | Description |
|---|---|
| Task<WithdrawOfferQuoteResponse> | A response object containing details about the completed operation |
Examples
Click here to see an example of how to use WithdrawOfferQuote API.