> ## 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.

# X402BatchSettlementDepositPayloadDepositAuthorizationErc3009Authorization

> X402BatchSettlementDepositPayloadDepositAuthorizationErc3009Authorization API reference.

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

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

## Method Details

### `getValidAfter`

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

**Returns:**

`String` - The unix timestamp after which the authorization is valid.

### `getValidBefore`

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

**Returns:**

`String` - The unix timestamp before which the authorization is valid.

### `getSalt`

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

**Returns:**

`String` - The 32-byte ERC-3009 nonce/salt for replay protection.

### `getSignature`

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

**Returns:**

`String` - The EIP-712 hex-encoded signature of the ERC-3009 authorization.

### `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 X402BatchSettlementDepositPayloadDepositAuthorizationErc3009Authorization.ValidAfterStage builder()
```

**Returns:**

[X402BatchSettlementDepositPayloadDepositAuthorizationErc3009Authorization](https://docs.cdp.coinbase.com/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/X402BatchSettlementDepositPayloadDepositAuthorizationErc3009Authorization.md).`ValidAfterStage`
