java.lang.Object
dev.vality.swag.wallets.webhook.events.model.Withdrawal

@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
           date="2023-12-24T09:03:16.651030963Z[Etc/UTC]")
public class Withdrawal
extends Object
Funds withdrawal data
  • Constructor Details

    • Withdrawal

      public Withdrawal()
  • Method Details

    • id

      public Withdrawal id​(String id)
    • getId

      public String getId()
      Identifier of funds withdrawal
      Returns:
      id
    • setId

      public void setId​(String id)
    • createdAt

      public Withdrawal createdAt​(OffsetDateTime createdAt)
    • getCreatedAt

      @Valid public @Valid OffsetDateTime getCreatedAt()
      Date and time the withdrawal started
      Returns:
      createdAt
    • setCreatedAt

      public void setCreatedAt​(OffsetDateTime createdAt)
    • destination

      public Withdrawal destination​(String destination)
    • getDestination

      @NotNull public @NotNull String getDestination()
      Destination identifier
      Returns:
      destination
    • setDestination

      public void setDestination​(String destination)
    • body

      public Withdrawal body​(WithdrawalBody body)
    • getBody

      @NotNull @Valid public @NotNull @Valid WithdrawalBody getBody()
      Get body
      Returns:
      body
    • setBody

      public void setBody​(WithdrawalBody body)
    • metadata

      public Withdrawal metadata​(Object metadata)
    • getMetadata

      public org.openapitools.jackson.nullable.JsonNullable<Object> getMetadata()
      A custom client-specific API and a data set that is not transparent to the system, associated with this withdrawal
      Returns:
      metadata
    • setMetadata

      public void setMetadata​(org.openapitools.jackson.nullable.JsonNullable<Object> metadata)
    • wallet

      public Withdrawal wallet​(String wallet)
    • getWallet

      @NotNull public @NotNull String getWallet()
      Identifier of the wallet
      Returns:
      wallet
    • setWallet

      public void setWallet​(String wallet)
    • externalID

      public Withdrawal externalID​(String externalID)
    • getExternalID

      public String getExternalID()
      The unique identifier of the content on your side. When specified, will be used to ensure idempotent processing of the operation.
      Returns:
      externalID
    • setExternalID

      public void setExternalID​(String externalID)
    • equals

      public boolean equals​(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object