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

com.mercadopago.resources.datastructures.payment.Route Maven / Gradle / Ivy

package com.mercadopago.resources.datastructures.payment;

import java.util.Date;


public class Route {

    private String departure = null;
    private String destination = null;
    private Date departureDateTime = null;
    private Date arrivalDateTime = null;
    private String company = null;

    public void Route(String departure, String destination, Date departureDateTime, Date arrivalDateTime, String company){
        this.departure = departure;
        this.destination = destination;
        this.departureDateTime = departureDateTime;
        this.arrivalDateTime = arrivalDateTime;
        this.company = company;
    }

    public String getDeparture() {
        return departure;
    }

    public Route setDeparture(String departure) {
        this.departure = departure;
        return this;
    }

    public String getDestination() {
        return destination;
    }

    public Route setDestination(String destination) {
        this.destination = destination;
        return this;
    }

    public Date getDepartureDateTime() {
        return departureDateTime;
    }

    public Route setDepartureDateTime(Date departureDateTime) {
        this.departureDateTime = departureDateTime;
        return this;
    }

    public Date getArrivalDateTime() {
        return arrivalDateTime;
    }

    public Route setArrivalDateTime(Date arrivalDateTime) {
        this.arrivalDateTime = arrivalDateTime;
        return this;
    }

    public String getCompany() {
        return company;
    }

    public Route setCompany(String company) {
        this.company = company;
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy