com.braintreegateway.EnrichedCustomerData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.braintree-java
Show all versions of org.apache.servicemix.bundles.braintree-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
The newest version!
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
import java.util.ArrayList;
import java.util.List;
public class EnrichedCustomerData {
private List fieldsUpdated;
private VenmoProfileData profileData;
public EnrichedCustomerData(NodeWrapper node) {
this.fieldsUpdated = new ArrayList();
for (NodeWrapper field : node.findAll("fields-updated/item")) {
fieldsUpdated.add(field.findString("."));
}
NodeWrapper venmoProfileDataNode = node.findFirst("profile-data");
this.profileData = new VenmoProfileData(venmoProfileDataNode);
}
public List getFieldsUpdated() {
return fieldsUpdated;
}
public VenmoProfileData getProfileData() {
return profileData;
}
}