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

# FedwireDepositSource

> FedwireDepositSource API reference.

Package: [`com.coinbase.cdp.types`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/index)

```java theme={null}
public final class FedwireDepositSource extends Object
```

## Method Details

### `getCurrency`

```java theme={null}
public Asset getCurrency()
```

**Returns:**

[Asset](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/Asset) - The fiat currency of the Fedwire deposit (e.g., `usd`).

### `getOmad`

```java theme={null}
public String getOmad()
```

**Returns:**

`String` - The Output Message Accountability Data (OMAD), a unique identifier assigned by the Fedwire network to the wire transfer message.

### `getAccountNumber`

```java theme={null}
public String getAccountNumber()
```

**Returns:**

`String` - The originator's bank account number. Masked on webhook payloads.

### `getOriginatorName`

```java theme={null}
public String getOriginatorName()
```

**Returns:**

`String` - The name of the originator. Masked on webhook payloads.

### `getOriginatorToBeneficiary`

```java theme={null}
public Optional<List<String>> getOriginatorToBeneficiary()
```

**Returns:**

`Optional<List<String>>` - The Originator to Beneficiary Information (OBI) lines from the Fedwire message. Up to 4 lines, each up to 35 characters. Free-form and may contain identifying information about the originator. Masked on webhook payloads.

### `equals`

```java theme={null}
public boolean equals(Object other)
```

**Overrides:**

`[equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Parameters:**

`other` - `Object`

**Returns:**

`boolean`

### `getAdditionalProperties`

```java theme={null}
public Map<String,Object> getAdditionalProperties()
```

**Returns:**

`Map<String,Object>`

### `hashCode`

```java theme={null}
public int hashCode()
```

**Overrides:**

`[hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`int`

### `toString`

```java theme={null}
public String toString()
```

**Overrides:**

`[toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`String`

### `builder`

```java theme={null}
public static FedwireDepositSource.CurrencyStage builder()
```

**Returns:**

[FedwireDepositSource](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/FedwireDepositSource).`CurrencyStage`
