The atg.commerce.csr.returns.ReturnTools.createRefundMethodInstance(String) method creates a RefundMethod instance based on the refundMethodTypeClassMap property value. If the given type is configured with a RefundMethod class, a RefundMethod instance is created. The payment group class type is used to create RefundMethod instances.

The default configuration for refundMethodTypeClassMap property is:


When ReturnTools creates a RefundMethod, it will use the type value and create an object of the class you identify.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices