com.logicommerce.sdk.models.order.implementations.OrderImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
SDK for developing Logicommerce plugins.
package com.logicommerce.sdk.models.order.implementations;
import com.logicommerce.sdk.enums.OrderStatusType;
import com.logicommerce.sdk.models.order.Order;
/**
* OrderImpl class.
*
* @author Logicommerce
* @since 1.0.16
*/
public class OrderImpl extends DocumentImpl implements Order {
private OrderStatusType status;
private int substatusId;
/**
* Getter for the field status
.
*
* @return a {@link com.logicommerce.sdk.enums.OrderStatusType} object
*/
@Override
public OrderStatusType getStatus() {
return status;
}
/**
* Getter for the field substatusId
.
*
* @return a int
*/
@Override
public int getSubstatusId() {
return substatusId;
}
/**
* Setter for the field status
.
*
* @param status a {@link com.logicommerce.sdk.enums.OrderStatusType} object
*/
public void setStatus(OrderStatusType status) {
this.status = status;
}
/**
* Setter for the field substatusId
.
*
* @param substatusId a int
*/
public void setSubstatusId(int substatusId) {
this.substatusId = substatusId;
}
}