@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2020-10-06T09:15:19.251Z[UTC]") public class Amount extends Object
Constructor and Description |
---|
Amount() |
Modifier and Type | Method and Description |
---|---|
Amount |
amount(BigDecimal amount) |
Amount |
currency(String currency) |
boolean |
equals(Object o) |
@Valid BigDecimal |
getAmount()
Get amount
|
String |
getCurrency()
Get currency
|
int |
hashCode() |
void |
setAmount(BigDecimal amount) |
void |
setCurrency(String currency) |
String |
toString() |
public Amount amount(BigDecimal amount)
@Valid public @Valid BigDecimal getAmount()
public void setAmount(BigDecimal amount)
public String getCurrency()
public void setCurrency(String currency)
Copyright © 2020. All rights reserved.