Class WithdrawalBody

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2023-09-21T13:44:22.979521869Z[Etc/UTC]")
public class WithdrawalBody
extends Object
Amount of funds to be withdrawn
  • Field Details

  • Constructor Details

    • WithdrawalBody

      public WithdrawalBody()
  • Method Details

    • amount

      public WithdrawalBody amount​(Long amount)
    • getAmount

      @Nonnull public Long getAmount()
      The amount of money in minor units, for example, in cents
      Returns:
      amount
    • setAmount

      public void setAmount​(Long amount)
    • currency

      public WithdrawalBody currency​(String currency)
    • getCurrency

      @Nonnull public String getCurrency()
      Currency, character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).
      Returns:
      currency
    • setCurrency

      public void setCurrency​(String currency)
    • 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