> ## Documentation Index
> Fetch the complete documentation index at: https://docs.benzinga.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Productos

> offerings()

[\< VOLVER](/es/sdks/languages/java#offerings)

<div id="overview">
  ## Descripción general
</div>

<div id="available-operations">
  ### Operaciones disponibles
</div>

* [get](#get) - Obtener ofertas

<div id="get">
  ## get
</div>

Devuelve datos de ofertas secundarias

<div id="example-usage">
  ### Ejemplo de uso
</div>

```java theme={null}
package hello.world;

import java.lang.Exception;
import org.benzinga.BZClient.Bzclient;
import org.benzinga.BZClient.models.operations.GetOfferingsRequest;
import org.benzinga.BZClient.models.operations.GetOfferingsResponse;

public class Application {

    public static void main(String[] args) throws Exception {

        Bzclient sdk = Bzclient.builder()
                .apiKeyAuth("<YOUR_API_KEY_HERE>")
            .build();

        GetOfferingsRequest req = GetOfferingsRequest.builder()
                .build();

        GetOfferingsResponse res = sdk.offerings().get()
                .request(req)
                .call();

        if (res.modelsOfferingJSON().isPresent()) {
            // manejar la respuesta
        }
    }
}
```

<div id="parameters">
  ### Parámetros
</div>

| Parámetro | Tipo                                                                  | Obligatorio          | Descripción                                         |
| --------- | --------------------------------------------------------------------- | -------------------- | --------------------------------------------------- |
| `request` | [GetOfferingsRequest](../../models/operations/GetOfferingsRequest.md) | :heavy\_check\_mark: | Objeto de solicitud que se utilizará en la llamada. |

<div id="response">
  ### Respuesta
</div>

**[GetOfferingsResponse](../../models/operations/GetOfferingsResponse.md)**

<div id="errors">
  ### Errores
</div>

| Tipo de error              | Código de estado | Tipo de contenido |
| -------------------------- | ---------------- | ----------------- |
| models/errors/APIException | 4XX, 5XX         | */*               |
