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

com.wix.restaurants.builders.DeliveryBuilder Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package com.wix.restaurants.builders;

import com.openrest.v1_1.Address;
import com.openrest.v1_1.Delivery;

public class DeliveryBuilder extends BaseDeliveryBuilder {
    public DeliveryBuilder() {
        delivery.type = Delivery.DELIVERY_TYPE_DELIVERY;
    }

    public DeliveryBuilder toAddress(Address address) {
        delivery.address = address;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy