Adapter Design Pattern
To understand pattern we will first understand the below current flow first .
Current flow
/**
* LegacyBank (Client)
*/
public class LegacyBank {
private String data = "xml data";
public void process(Payment payment) {
System.ou...
gurupalaniveltech.hashnode.dev3 min read