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

Method Details

getChannelConfig

Returns: X402BatchSettlementChannelConfig

getVoucher

Returns: X402BatchSettlementVoucher

getAmount

Returns: Optional<String> - The refund amount in atomic units of channelConfig.token. Optional in the client-emitted shape (defaults to the full remaining channel balance). Required when the payload is enriched by a mediating server.

getRefundNonce

Returns: Optional<String> - The on-chain refund nonce for replay protection (uint256 as decimal string). Only present on the server-enriched shape.

getClaims

Returns: Optional<List<X402BatchSettlementClaim>> - Voucher claims to include atomically with the refund. Only present on the server-enriched shape.

getRefundAuthorizerSignature

Returns: Optional<String> - Optional EIP-712 signature from the receiver authorizer over the refund. When omitted, the facilitator auto-signs.

getClaimAuthorizerSignature

Returns: Optional<String> - Optional EIP-712 signature from the receiver authorizer over the included claims. When omitted, the facilitator auto-signs.

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: X402BatchSettlementRefundPayload.ChannelConfigStage