Package net.authorize.data.cim

Examples of net.authorize.data.cim.PaymentTransaction


      throw new OperationDisallowedException(userId + " does not have paymentProfileId " + paymentProfileId);

    Order order = Order.createOrder();
    order.setTotalAmount(amountToAuthorize);

    PaymentTransaction paymentTransaction = PaymentTransaction.createPaymentTransaction();
    paymentTransaction.setTransactionType(net.authorize.TransactionType.AUTH_ONLY);
    paymentTransaction.setCustomerPaymentProfileId(paymentProfileId);
    paymentTransaction.setOrder(order);
    if (cardCode != null)
      paymentTransaction.setCardCode(cardCode);
   
    Transaction transaction = createTransaction(TransactionType.CREATE_CUSTOMER_PROFILE_TRANSACTION);
    transaction.setPaymentTransaction(paymentTransaction);
    transaction.setCustomerProfileId(customerProfileId);
   
View Full Code Here


      throw new OperationDisallowedException(userId + " has no Authorize.Net customer profile");
   
    Order order = Order.createOrder();
    order.setTotalAmount(amountToSettle);

    PaymentTransaction paymentTransaction = PaymentTransaction.createPaymentTransaction();
    paymentTransaction.setTransactionType(net.authorize.TransactionType.PRIOR_AUTH_CAPTURE);
    paymentTransaction.setTransactionId(transactionId);
    paymentTransaction.setOrder(order);

    Transaction transaction = createTransaction(TransactionType.CREATE_CUSTOMER_PROFILE_TRANSACTION);
    transaction.setPaymentTransaction(paymentTransaction);
    transaction.setCustomerProfileId(customerProfileId);
   
View Full Code Here

TOP

Related Classes of net.authorize.data.cim.PaymentTransaction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.