1 package epayment.response; 2 3 import epayment.framework.IPaymentResponse; 4 5 15 16 public class PaymentResponse implements IPaymentResponse { 17 18 private String _processedDate; 19 private String _responseMessage; 20 21 25 public PaymentResponse() { 26 _processedDate = ""; 27 _responseMessage = ""; 28 } 29 30 35 public String getProcessedDate() { 36 return _processedDate; 37 } 38 39 44 protected void setProcessedDate(String date) { 45 _processedDate = date; 46 } 47 48 53 public String getResponseMessage() { 54 return _responseMessage; 55 } 56 57 62 protected void setResponseMessage(String message) { 63 _responseMessage = message; 64 } 65 66 71 public String toString() { 72 73 StringBuffer contents = new StringBuffer (); 74 contents.append("Response Message = " + _responseMessage + "\n"); 75 contents.append("Processed Date = " + _processedDate + "\n"); 76 77 return contents.toString(); 78 } 79 } 80 | Popular Tags |