Class WithdrawalBody
java.lang.Object
dev.vality.swag.wallets.webhook.events.model.WithdrawalBody
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2023-11-16T04:27:59.845708885Z[Etc/UTC]")
public class WithdrawalBody
extends Object
Amount of funds to be withdrawn
-
Constructor Summary
Constructors Constructor Description WithdrawalBody() -
Method Summary
Modifier and Type Method Description WithdrawalBodyamount(Long amount)WithdrawalBodycurrency(String currency)booleanequals(Object o)@NotNull LonggetAmount()The amount of money in minor units, for example, in cents@NotNull @Pattern(regexp="^[A-Z]{3}$") StringgetCurrency()Currency, character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).inthashCode()voidsetAmount(Long amount)voidsetCurrency(String currency)StringtoString()
-
Constructor Details
-
WithdrawalBody
public WithdrawalBody()
-
-
Method Details
-
amount
-
getAmount
The amount of money in minor units, for example, in cents- Returns:
- amount
-
setAmount
-
currency
-
getCurrency
@NotNull @Pattern(regexp="^[A-Z]{3}$") public @NotNull @Pattern(regexp="^[A-Z]{3}$") String getCurrency()Currency, character code according to [ISO 4217](http://www.iso.org/iso/home/standards/currency_codes.htm).- Returns:
- currency
-
setCurrency
-
equals
-
hashCode
public int hashCode() -
toString
-