public class BasePaymentBuilder extends AbstractPaymentBuilder<BasePayment,BasePaymentBuilder>
additionalParams, amount, currency, items, orderDescription, orderNumber| Constructor and Description |
|---|
BasePaymentBuilder() |
| Modifier and Type | Method and Description |
|---|---|
BasePayment |
build() |
protected BasePaymentBuilder |
getInstance() |
BasePaymentBuilder |
inLang(String lang) |
BasePaymentBuilder |
onDemandRecurrence(Date recurrenceDateTo) |
BasePaymentBuilder |
payer(Payer payer) |
BasePaymentBuilder |
preauthorize() |
BasePaymentBuilder |
setRecurrence(Recurrence recurrence) |
BasePaymentBuilder |
timeIntervalRecurrence(RecurrenceCycle recurrenceCycle,
Integer recurrencePeriod,
Date recurrenceDateTo) |
BasePaymentBuilder |
toEshop(Long goId) |
BasePaymentBuilder |
toEWallet(String email) |
BasePaymentBuilder |
withCallback(Callback callback) |
BasePaymentBuilder |
withCallback(String returnUrl,
String notificationUrl) |
BasePaymentBuilder |
withDefaultPaymentInstrument(PaymentInstrument paymentInstrument) |
BasePaymentBuilder |
withPayerContact(PayerContact contact) |
BasePaymentBuilder |
withPaymentInstrument(PaymentInstrument paymentInstrument) |
addAdditionalParameter, addAdditionalParameter, addAdditionalParameters, addItem, addItem, addItem, addItems, orderpublic BasePayment build()
public BasePaymentBuilder preauthorize()
public BasePaymentBuilder withCallback(String returnUrl, String notificationUrl)
public BasePaymentBuilder withCallback(Callback callback)
public BasePaymentBuilder inLang(String lang)
public BasePaymentBuilder onDemandRecurrence(Date recurrenceDateTo)
public BasePaymentBuilder setRecurrence(Recurrence recurrence)
public BasePaymentBuilder timeIntervalRecurrence(RecurrenceCycle recurrenceCycle, Integer recurrencePeriod, Date recurrenceDateTo)
public BasePaymentBuilder payer(Payer payer)
public BasePaymentBuilder withPayerContact(PayerContact contact)
public BasePaymentBuilder withPaymentInstrument(PaymentInstrument paymentInstrument)
public BasePaymentBuilder withDefaultPaymentInstrument(PaymentInstrument paymentInstrument)
public BasePaymentBuilder toEshop(Long goId)
public BasePaymentBuilder toEWallet(String email)
protected BasePaymentBuilder getInstance()
getInstance in class AbstractPaymentBuilder<BasePayment,BasePaymentBuilder>Copyright © 2017. All rights reserved.