com.tinypass.client.user.model.DeliverySchedule Maven / Gradle / Ivy
package com.tinypass.client.user.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.user.model.DeliveryPeriod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class DeliverySchedule {
/* Public ID of Address assigned as Main Schedule Address */
private String mainAddressPubId = null;
private List deliveryPeriods = new ArrayList();
public String getMainAddressPubId() {
return mainAddressPubId;
}
public void setMainAddressPubId(String mainAddressPubId) {
this.mainAddressPubId = mainAddressPubId;
}
public List getDeliveryPeriods() {
return deliveryPeriods;
}
public void setDeliveryPeriods(List deliveryPeriods) {
this.deliveryPeriods = deliveryPeriods;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeliverySchedule {\n");
sb.append(" mainAddressPubId: ").append(mainAddressPubId).append("\n");
sb.append(" deliveryPeriods: ").append(deliveryPeriods).append("\n");
sb.append("}\n");
return sb.toString();
}
}