public class PaymentInfoMagcardFormatter extends Object
Constructor and Description |
---|
PaymentInfoMagcardFormatter(PaymentInfoMagcard pinfo)
Create a PaymentFormatter object
|
Modifier and Type | Method and Description |
---|---|
Double |
getAmount()
Retrieve the amount of the payment.
|
String |
getHolderName()
Return the holder name.
|
String |
printAmount()
Print the amount of the payment.
|
String |
printAuthorization()
Return the autoŕization code as returned by the gateway
|
String |
printCardCircuit()
Return the card circuit
|
String |
printCardNumber()
Return the card number
|
String |
printExpirationDate()
Return the card number
|
String |
printHolderName()
Return the holder name.
|
String |
printMessage()
Return the error message, if any
|
String |
printsAmount()
Print the amount of the payment.
|
String |
printTimestamp()
Return the timestamp.
|
public PaymentInfoMagcardFormatter(PaymentInfoMagcard pinfo)
payment
- public Double getAmount()
public String printAmount()
public String printsAmount()
public String getHolderName()
public String printHolderName()
public String printAuthorization()
public String printCardNumber()
public String printCardCircuit()
public String printExpirationDate()
public String printMessage()
public String printTimestamp()
Copyright © 2021. All rights reserved.