All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.DisputeEvidence Maven / Gradle / Ivy

There is a newer version: 3.32.0_1
Show newest version
package com.braintreegateway;

import com.braintreegateway.util.NodeWrapper;
import java.util.Calendar;

public final class DisputeEvidence {

    private final Calendar createdAt;
    private final Calendar sentToProcessorAt;
    private final String comment;
    private final String id;
    private final String url;
    private final String category;
    private final String sequenceNumber;

    public DisputeEvidence(NodeWrapper node) {
        createdAt = node.findDateTime("created-at");
        sentToProcessorAt = node.findDate("sent-to-processor-at");
        comment = node.findString("comment");
        id = node.findString("id");
        url = node.findString("url");
        category = node.findString("category");
        sequenceNumber = node.findString("sequence-number");
    }

    public Calendar getCreatedAt() {
        return createdAt;
    }

    public Calendar getSentToProcessorAt() {
        return sentToProcessorAt;
    }

    public String getComment() {
        return comment;
    }

    public String getId() {
        return id;
    }

    public String getUrl() {
        return url;
    }

    public String getCategory() {
        return category;
    }

    public String getSequenceNumber() {
        return sequenceNumber;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy