Skip to main content
Package: com.coinbase.cdp.types

Method Details

getFrom

Returns: String - The 0x-prefixed, checksum EVM address of the sender of the payment.

getPermitted

Returns: X402UptoEvmPermit2PayloadPermit2AuthorizationPermitted - The token permissions for the transfer.

getSpender

Returns: String - The 0x-prefixed, checksum EVM address of the spender (the x402 Upto Permit2 proxy contract).

getNonce

Returns: String - The Permit2 nonce as a decimal string (uint256).

getDeadline

Returns: String - The unix timestamp before which the permit is valid.

getWitness

Returns: X402UptoEvmPermit2PayloadPermit2AuthorizationWitness - The witness data containing payment details. Includes a facilitator field to bind the authorization to a specific facilitator address.

equals

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

Returns: Map<String,Object>

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

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

Returns: X402UptoEvmPermit2PayloadPermit2Authorization.FromStage