@Immutable public interface Account
| Modifier and Type | Field and Description |
|---|---|
static com.jcabi.urn.URN |
BANK
Who is sending funds when account is funded.
|
@NotNull(message="Balance of account is never NULL") Dollars balance()
@NotNull(message="account is never NULL") void fund(Dollars amount, String details)
amount - Amount to add/deductdetails - Explanationvoid fund(String code) throws InvalidCouponException
code - Coupon code to use for funding.InvalidCouponException - When wrong coupon code is used.Copyright © 2009–2014 Rultor Inc.. All rights reserved.