Package com.smartcar.sdk.data
Class ServiceRecord
- java.lang.Object
-
- com.smartcar.sdk.data.ServiceRecord
-
public class ServiceRecord extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ServiceRecord(int serviceId, java.lang.String serviceDate, int odometerDistance, java.util.List<com.smartcar.sdk.data.ServiceTask> serviceTasks, ServiceDetails serviceDetails, ServiceCost serviceCost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOdometerDistance()
ServiceCost
getServiceCost()
java.lang.String
getServiceDate()
ServiceDetails
getServiceDetails()
int
getServiceId()
java.util.List<com.smartcar.sdk.data.ServiceTask>
getServiceTasks()
void
setOdometerDistance(int odometerDistance)
void
setServiceCost(ServiceCost serviceCost)
void
setServiceDate(java.lang.String serviceDate)
void
setServiceDetails(ServiceDetails serviceDetails)
void
setServiceId(int serviceId)
void
setServiceTasks(java.util.List<com.smartcar.sdk.data.ServiceTask> serviceTasks)
-
-
-
Constructor Detail
-
ServiceRecord
public ServiceRecord(int serviceId, java.lang.String serviceDate, int odometerDistance, java.util.List<com.smartcar.sdk.data.ServiceTask> serviceTasks, ServiceDetails serviceDetails, ServiceCost serviceCost)
-
-
Method Detail
-
getServiceId
public int getServiceId()
-
setServiceId
public void setServiceId(int serviceId)
-
getServiceDate
public java.lang.String getServiceDate()
-
setServiceDate
public void setServiceDate(java.lang.String serviceDate)
-
getOdometerDistance
public int getOdometerDistance()
-
setOdometerDistance
public void setOdometerDistance(int odometerDistance)
-
getServiceTasks
public java.util.List<com.smartcar.sdk.data.ServiceTask> getServiceTasks()
-
setServiceTasks
public void setServiceTasks(java.util.List<com.smartcar.sdk.data.ServiceTask> serviceTasks)
-
getServiceDetails
public ServiceDetails getServiceDetails()
-
setServiceDetails
public void setServiceDetails(ServiceDetails serviceDetails)
-
getServiceCost
public ServiceCost getServiceCost()
-
setServiceCost
public void setServiceCost(ServiceCost serviceCost)
-
-