com.braintreegateway.DisputePayPalMessage 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.
package com.braintreegateway;
import com.braintreegateway.util.NodeWrapper;
import java.util.Calendar;
public final class DisputePayPalMessage {
private final String message;
private final String sender;
private final Calendar sentAt;
public DisputePayPalMessage(NodeWrapper node) {
message = node.findString("message");
sender = node.findString("sender");
sentAt = node.findDateTime("sent-at");
}
public String getMessage() {
return message;
}
public String getSender() {
return sender;
}
public Calendar getSentAt() {
return sentAt;
}
}