Skip to content

Commit 213fccb

Browse files
committed
Updating to use Enum
1 parent 1654f9e commit 213fccb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -664,7 +664,7 @@ public static void main( String[] args ) {
664664

665665

666666
TransactionRequestType txnRequest = new TransactionRequestType();
667-
txnRequest.setTransactionType("authOnlyTransaction");
667+
txnRequest.setTransactionType(TransactionTypeEnum.AUTH_ONLY_TRANSACTION.value());
668668
txnRequest.setPayment(paymentType);
669669
txnRequest.setAmount(new BigDecimal(System.currentTimeMillis() % 100));
670670

0 commit comments

Comments
 (0)