![JAR search and dependency download from the Maven repository](/logo.png)
com.onlinepayments.domain.OrderStatusOutput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of onlinepayments-sdk-java Show documentation
Show all versions of onlinepayments-sdk-java Show documentation
SDK to communicate with the payment platform using the server API
/*
* This class was auto-generated.
*/
package com.onlinepayments.domain;
import java.util.List;
public class OrderStatusOutput {
private List errors = null;
private Boolean isCancellable = null;
private String statusCategory = null;
private Integer statusCode = null;
private String statusCodeChangeDateTime = null;
public List getErrors() {
return errors;
}
public void setErrors(List value) {
this.errors = value;
}
public OrderStatusOutput withErrors(List value) {
this.errors = value;
return this;
}
/**
* Flag indicating if the payment can be cancelled
* * true
* * false
*/
public Boolean getIsCancellable() {
return isCancellable;
}
/**
* Flag indicating if the payment can be cancelled
* * true
* * false
*/
public void setIsCancellable(Boolean value) {
this.isCancellable = value;
}
/**
* Flag indicating if the payment can be cancelled
* * true
* * false
*/
public OrderStatusOutput withIsCancellable(Boolean value) {
this.isCancellable = value;
return this;
}
/**
* Highlevel status of the payment, payout or refund.
*/
public String getStatusCategory() {
return statusCategory;
}
/**
* Highlevel status of the payment, payout or refund.
*/
public void setStatusCategory(String value) {
this.statusCategory = value;
}
/**
* Highlevel status of the payment, payout or refund.
*/
public OrderStatusOutput withStatusCategory(String value) {
this.statusCategory = value;
return this;
}
/**
* Numeric status code of the legacy API. It is returned to ease the migration from the legacy APIs. You should not write new business logic based on this property as it will be deprecated in a future version of the API. The value can also be found in the BackOffice and in report files.
*/
public Integer getStatusCode() {
return statusCode;
}
/**
* Numeric status code of the legacy API. It is returned to ease the migration from the legacy APIs. You should not write new business logic based on this property as it will be deprecated in a future version of the API. The value can also be found in the BackOffice and in report files.
*/
public void setStatusCode(Integer value) {
this.statusCode = value;
}
/**
* Numeric status code of the legacy API. It is returned to ease the migration from the legacy APIs. You should not write new business logic based on this property as it will be deprecated in a future version of the API. The value can also be found in the BackOffice and in report files.
*/
public OrderStatusOutput withStatusCode(Integer value) {
this.statusCode = value;
return this;
}
/**
* Timestamp of the latest status change
*/
public String getStatusCodeChangeDateTime() {
return statusCodeChangeDateTime;
}
/**
* Timestamp of the latest status change
*/
public void setStatusCodeChangeDateTime(String value) {
this.statusCodeChangeDateTime = value;
}
/**
* Timestamp of the latest status change
*/
public OrderStatusOutput withStatusCodeChangeDateTime(String value) {
this.statusCodeChangeDateTime = value;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy