package oracle.fusion.pts.restService.types;

import com.oracle.xmlns.apps.crmcommon.salesparties.accountservice.Account;
import com.oracle.xmlns.apps.crmcommon.salesparties.contactservice.Contact;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;



@XmlRootElement 
@XmlAccessorType(XmlAccessType.FIELD)
public class RESTAccountList {
    @XmlElementWrapper(name="AccountList")
    @XmlElement (name="Account")
    private List<Account> accountList;


    public void setAccountList(List<Account> accountList) {
        this.accountList = accountList;
    }

    public List<Account> getAccountList() {
        return accountList;
    }
}
