public final class PaymentAmountInformationBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
PaymentAmountInformationBuilder |
amount(BigDecimal amount) |
PaymentAmountInformationBuilder |
amount(double amount) |
PaymentAmountInformation |
build() |
PaymentAmountInformationBuilder |
chf()
Set a given amount in Euro
|
PaymentAmountInformationBuilder |
chf(BigDecimal amount)
Set a given amount in Swiss Francs
|
PaymentAmountInformationBuilder |
chf(double amount)
Set a given amount in Swiss Francs
|
static PaymentAmountInformationBuilder |
create() |
PaymentAmountInformationBuilder |
currency(Currency currency) |
PaymentAmountInformationBuilder |
date(Date date) |
PaymentAmountInformationBuilder |
date(LocalDate date) |
PaymentAmountInformationBuilder |
eur()
Set a given amount in Euro
|
PaymentAmountInformationBuilder |
eur(BigDecimal amount)
Set a given amount in Euro
|
PaymentAmountInformationBuilder |
eur(double amount)
Set a given amount in Euro
|
public static PaymentAmountInformationBuilder create()
public PaymentAmountInformationBuilder amount(BigDecimal amount)
public PaymentAmountInformationBuilder amount(double amount)
public PaymentAmountInformationBuilder currency(Currency currency)
public PaymentAmountInformationBuilder date(LocalDate date)
public PaymentAmountInformationBuilder date(Date date)
public PaymentAmountInformationBuilder chf(BigDecimal amount)
.chf(BigDecimal.valueOf(42.00))
is the same as
.currency(Currency.getInstance("CHF"))
.amount(BigDecimal.valueOf(42.00))
amount - public PaymentAmountInformationBuilder chf(double amount)
.chf(42.00d)
is the same as
.currency(Currency.getInstance("CHF"))
.amount(42.00d)
amount - public PaymentAmountInformationBuilder eur(BigDecimal amount)
.eur(BigDecimal.valueOf(42.00))
is the same as
.currency(Currency.getInstance("EUR"))
.amount(BigDecimal.valueOf(42.00))
amount - public PaymentAmountInformationBuilder eur(double amount)
.eur(42.00d)
is the same as
.currency(Currency.getInstance("EUR"))
.amount(42.00d)
amount - public PaymentAmountInformationBuilder eur()
.eur()
is the same as
.currency(Currency.getInstance("EUR"))
public PaymentAmountInformationBuilder chf()
.chf()
is the same as
.currency(Currency.getInstance("CHF"))
public PaymentAmountInformation build()
Copyright © 2017 Codeblock GmbH. All rights reserved.