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

com.createsend.Journeys Maven / Gradle / Ivy

Go to download

A Java library which implements the complete functionality of the Campaign Monitor API.

The newest version!
package com.createsend;

import com.createsend.models.journeys.JourneySummary;
import com.createsend.util.AuthenticationDetails;
import com.createsend.util.JerseyClientImpl;
import com.createsend.util.exceptions.CreateSendException;

public class Journeys extends CreateSendBase {
    private String journeyID;

    public Journeys(AuthenticationDetails auth, String journeyID) {
        this.journeyID = journeyID;
        this.jerseyClient = new JerseyClientImpl(auth);
    }

    public JourneySummary summary() throws CreateSendException {
        return jerseyClient.get(JourneySummary.class, "journeys", journeyID + ".json");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy