public class PaymentAdapter extends java.lang.Object implements IPaymentListener
Constructor and Description |
---|
PaymentAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
accountActivated(PayAccount acc)
The active account changed.
|
void |
accountAdded(PayAccount acc)
An account was added
|
void |
accountCertRequested(MixCascade aConnectedCascade)
The AI has signaled that the current cascade has to be payed for.
|
void |
accountError(XMLErrorMessage msg,
boolean aBIgnore)
The AI has signaled an error.
|
void |
accountRemoved(PayAccount acc)
An account was removed
|
void |
creditChanged(PayAccount acc)
The credit changed for the given account.
|
void |
gotCaptcha(ICaptchaSender aSource,
IImageEncodedCaptcha aCaptcha)
Captcha retrieved
|
public void accountActivated(PayAccount acc)
IPaymentListener
accountActivated
in interface IPaymentListener
acc
- PayAccount the account which is becoming activepublic void accountAdded(PayAccount acc)
IPaymentListener
accountAdded
in interface IPaymentListener
acc
- PayAccount the new Accountpublic void accountCertRequested(MixCascade aConnectedCascade) throws AccountEmptyException
IPaymentListener
accountCertRequested
in interface IPaymentListener
AccountEmptyException
public void accountError(XMLErrorMessage msg, boolean aBIgnore)
IPaymentListener
accountError
in interface IPaymentListener
aBIgnore
- do not force a user reactionpublic void accountRemoved(PayAccount acc)
IPaymentListener
accountRemoved
in interface IPaymentListener
acc
- PayAccount the account which was removedpublic void creditChanged(PayAccount acc)
IPaymentListener
creditChanged
in interface IPaymentListener
acc
- PayAccountpublic void gotCaptcha(ICaptchaSender aSource, IImageEncodedCaptcha aCaptcha)
IPaymentListener
gotCaptcha
in interface IPaymentListener
Copyright © 2023. All rights reserved.