java.lang.Object | |
↳ | com.paymill.android.factory.PMFactory |
Use only this factory class to create a
PMPaymentMethod
and
PMPaymentParams
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Generates a PaymentMethod from credit/debit card details.
| |||||||||||
This method is deprecated.
This method is for the "old" ELV German payment. Use
PMFactory#genIbanBicPayment(String, String, String)
instead.
| |||||||||||
This method is deprecated.
This method is for the "old" ELV German payment. Use
PMFactory#genIbanBicPayment(String, String, String)
instead.
| |||||||||||
Generates a PaymentMethod for a direct debit payment.
| |||||||||||
Use this method to generate the PaymentParams object, needed for creating
transactions, preauthorizations and tokens.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Generates a PaymentMethod from credit/debit card details.
Important: You should neither save this data, nor send it to your server!
This method is deprecated.
This method is for the "old" ELV German payment. Use
PMFactory#genIbanBicPayment(String, String, String)
instead.
Generates a PaymentMethod from direct debit payment details.
Important: You should neither save this data, nor send it to your server!
accountHolder | first and second name of the account holder |
---|---|
accountNumber | account number |
bankNumber | bank code |
country | ISO 3166-2 formatted country code |
This method is deprecated.
This method is for the "old" ELV German payment. Use
PMFactory#genIbanBicPayment(String, String, String)
instead.
Generates a PaymentMethod for German direct debit payment details.
Important: You should neither save this data, nor send it to your server!
accountHolder | first and second name of the account holder |
---|---|
accountNumber | account number |
bankNumber | bank code |
Generates a PaymentMethod for a direct debit payment.
Important: You should neither save this data, nor send it to your server!
accountHolder | first and second name of the account holders |
---|---|
iban | an IBAN number, as defined in ISO 13616 |
bic | a BIC number, as defined in ISO 9362 |
Use this method to generate the PaymentParams object, needed for creating transactions, preauthorizations and tokens.
currency | Three character ISO 4217 formatted currency code. |
---|---|
amount | amount (in cents) which will be charged |
description | a short description for the transaction (e.g. shopping cart
ID) or empty string or null.
Note: You don't need to supply a description parameter when generating a token. |