@@ -58,6 +58,16 @@ public class Transaction {
5858
5959 private boolean saveCustomer = false ;
6060
61+ private String transactionDateTime ;
62+
63+ private String currencyCode ;
64+
65+ private int source ;
66+
67+ private String maxRefund ;
68+
69+ private String originalTransactionId ;
70+
6171 /**
6272 * Return type of transaction (Purchase, MOTO,etc)
6373 *
@@ -265,7 +275,7 @@ public void setThirdPartyWalletID(String thirdPartyWalletID) {
265275 }
266276
267277 /**
268- * Return the Secured Card Data - Card data ID, used for Secure Fields,
278+ * Return the Secured Card Data - Card data ID, used for Secure Fields,
269279 * Visa Checkout, AMEX Express Checkout and Android Pay (optional)
270280 *
271281 * @return the Secured Card Data
@@ -548,4 +558,104 @@ public void setSaveCustomer(boolean saveCustomer) {
548558 this .saveCustomer = saveCustomer ;
549559 }
550560
561+ /**
562+ * Get the date and time the transaction took place
563+ * Rapid v40+ only
564+ *
565+ * @return the date and time of the transaction
566+ */
567+ public String getTransactionDateTime () {
568+ return transactionDateTime ;
569+ }
570+
571+ /**
572+ * Set the date and time the transaction took place
573+ * Rapid v40+ only
574+ *
575+ * @param transactionDateTime the date and time of the transaction
576+ */
577+ public void setTransactionDateTime (String transactionDateTime ) {
578+ this .transactionDateTime = transactionDateTime ;
579+ }
580+
581+ /**
582+ * Get the ISO 4217 numeric currency code (e.g. AUD = 036)
583+ * Rapid v40+ only
584+ *
585+ * @return The currency code
586+ */
587+ public String getCurrencyCode () {
588+ return currencyCode ;
589+ }
590+
591+ /**
592+ * Set the ISO 4217 numeric currency code (e.g. AUD = 036)
593+ * Rapid v40+ only
594+ *
595+ * @param currencyCode The currency code
596+ */
597+ public void setCurrencyCode (String currencyCode ) {
598+ this .currencyCode = currencyCode ;
599+ }
600+
601+ /**
602+ * Reserved for future use
603+ * Rapid v40+ only
604+ *
605+ * @return n/a
606+ */
607+ public int getSource () {
608+ return source ;
609+ }
610+
611+ /**
612+ * Reserved for future use
613+ * Rapid v40+ only
614+ *
615+ * @param source n/a
616+ */
617+ public void setSource (int source ) {
618+ this .source = source ;
619+ }
620+
621+ /**
622+ * Get the maximum amount that could be refunded from this transaction
623+ * Rapid v40+ only
624+ *
625+ * @return the maximum refund amount
626+ */
627+ public String getMaxRefund () {
628+ return maxRefund ;
629+ }
630+
631+ /**
632+ * Get the maximum amount that could be refunded from this transaction
633+ * Rapid v40+ only
634+ *
635+ * @param maxRefund the maximum refund amount
636+ */
637+ public void setMaxRefund (String maxRefund ) {
638+ this .maxRefund = maxRefund ;
639+ }
640+
641+ /**
642+ * Gets the original transaction ID if the queried transaction is a refund
643+ * Rapid v40+ only
644+ *
645+ * @return the original transaction ID
646+ */
647+ public String getOriginalTransactionId () {
648+ return originalTransactionId ;
649+ }
650+
651+ /**
652+ * Sets the original transaction ID
653+ * Rapid v40+ only
654+ *
655+ * @param originalTransactionId the original transaction ID
656+ */
657+ public void setOriginalTransactionId (String originalTransactionId ) {
658+ this .originalTransactionId = originalTransactionId ;
659+ }
660+
551661}
0 commit comments