com.tinypass.client.user.model.DeliveryPeriod 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class DeliveryPeriod {
/* Public ID of Delivery Period */
private String deliveryPeriodPubId = null;
/* Public ID of Address */
private String addressPubId = null;
/* Delivery Period ending date in ISO8601 format */
private String to = null;
/* Delivery Period starting date in ISO8601 format */
private String from = null;
public String getDeliveryPeriodPubId() {
return deliveryPeriodPubId;
}
public void setDeliveryPeriodPubId(String deliveryPeriodPubId) {
this.deliveryPeriodPubId = deliveryPeriodPubId;
}
public String getAddressPubId() {
return addressPubId;
}
public void setAddressPubId(String addressPubId) {
this.addressPubId = addressPubId;
}
public String getTo() {
return to;
}
public void setTo(String to) {
this.to = to;
}
public String getFrom() {
return from;
}
public void setFrom(String from) {
this.from = from;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DeliveryPeriod {\n");
sb.append(" deliveryPeriodPubId: ").append(deliveryPeriodPubId).append("\n");
sb.append(" addressPubId: ").append(addressPubId).append("\n");
sb.append(" to: ").append(to).append("\n");
sb.append(" from: ").append(from).append("\n");
sb.append("}\n");
return sb.toString();
}
}