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

it.auties.whatsapp.model.button.interactive.InteractiveLocationBuilder Maven / Gradle / Ivy

package it.auties.whatsapp.model.button.interactive;

public class InteractiveLocationBuilder {
    private double latitude;
    private double longitude;
    private java.lang.String name;

    public InteractiveLocationBuilder() {
        latitude = 0d;
        longitude = 0d;
        name = null;
    }

    public InteractiveLocationBuilder latitude(double latitude) {
        this.latitude = latitude;
        return this;
    }

    public InteractiveLocationBuilder longitude(double longitude) {
        this.longitude = longitude;
        return this;
    }

    public InteractiveLocationBuilder name(java.lang.String name) {
        this.name = name;
        return this;
    }

    public it.auties.whatsapp.model.button.interactive.InteractiveLocation build() {
        return new it.auties.whatsapp.model.button.interactive.InteractiveLocation(latitude, longitude, name);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy