package com.paypal.svcs.types.common;
import java.io.UnsupportedEncodingException;
import com.paypal.core.NVPUtil;
import java.util.Map;
<BUG>public class CurrencyType{
private String code;</BUG>
private Double amount;
public CurrencyType (String code, Double amount){
this.code = code;

package com.paypal.svcs.types.common;
import java.io.UnsupportedEncodingException;
import com.paypal.core.NVPUtil;
import java.util.Map;
public class CurrencyType{
private static final String nameSpace="com.paypal.svcs.types.common";
private static final String preferredPrefix="";
private String code;
private Double amount;
public CurrencyType (String code, Double amount){
this.code = code;
