public class PKCurrencyAmountBuilder extends Object implements IPKValidateable, IPKBuilder<PKCurrencyAmount>
PKCurrencyAmount entities.| Modifier | Constructor and Description |
|---|---|
protected |
PKCurrencyAmountBuilder() |
| Modifier and Type | Method and Description |
|---|---|
PKCurrencyAmountBuilder |
amount(String amount) |
PKCurrencyAmount |
build() |
PKCurrencyAmountBuilder |
currencyCode(String currencyCode) |
List<String> |
getValidationErrors() |
boolean |
isValid() |
PKCurrencyAmountBuilder |
of(PKCurrencyAmount source) |
public PKCurrencyAmountBuilder of(PKCurrencyAmount source)
of in interface IPKBuilder<PKCurrencyAmount>public PKCurrencyAmountBuilder currencyCode(String currencyCode)
public PKCurrencyAmountBuilder amount(String amount)
public boolean isValid()
isValid in interface IPKValidateablepublic List<String> getValidationErrors()
getValidationErrors in interface IPKValidateablepublic PKCurrencyAmount build()
build in interface IPKBuilder<PKCurrencyAmount>Copyright © 2012–2022. All rights reserved.