com.volcengine.billing.model.OrderInfoForListOrdersOutput Maven / Gradle / Ivy
/*
* billing
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.volcengine.billing.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* OrderInfoForListOrdersOutput
*/
public class OrderInfoForListOrdersOutput {
@SerializedName("BuyerCustomerName")
private String buyerCustomerName = null;
@SerializedName("BuyerID")
private Integer buyerID = null;
@SerializedName("CouponAmount")
private String couponAmount = null;
@SerializedName("CreateTime")
private String createTime = null;
@SerializedName("DiscountAmount")
private String discountAmount = null;
@SerializedName("OrderID")
private String orderID = null;
@SerializedName("OrderType")
private String orderType = null;
@SerializedName("OriginalAmount")
private String originalAmount = null;
@SerializedName("PaidAmount")
private String paidAmount = null;
@SerializedName("PayableAmount")
private String payableAmount = null;
@SerializedName("PayerCustomerName")
private String payerCustomerName = null;
@SerializedName("PayerID")
private Integer payerID = null;
@SerializedName("SellerCustomerName")
private String sellerCustomerName = null;
@SerializedName("SellerID")
private Integer sellerID = null;
@SerializedName("Status")
private String status = null;
@SerializedName("SubjectNo")
private String subjectNo = null;
public OrderInfoForListOrdersOutput buyerCustomerName(String buyerCustomerName) {
this.buyerCustomerName = buyerCustomerName;
return this;
}
/**
* Get buyerCustomerName
* @return buyerCustomerName
**/
@Schema(description = "")
public String getBuyerCustomerName() {
return buyerCustomerName;
}
public void setBuyerCustomerName(String buyerCustomerName) {
this.buyerCustomerName = buyerCustomerName;
}
public OrderInfoForListOrdersOutput buyerID(Integer buyerID) {
this.buyerID = buyerID;
return this;
}
/**
* Get buyerID
* @return buyerID
**/
@Schema(description = "")
public Integer getBuyerID() {
return buyerID;
}
public void setBuyerID(Integer buyerID) {
this.buyerID = buyerID;
}
public OrderInfoForListOrdersOutput couponAmount(String couponAmount) {
this.couponAmount = couponAmount;
return this;
}
/**
* Get couponAmount
* @return couponAmount
**/
@Schema(description = "")
public String getCouponAmount() {
return couponAmount;
}
public void setCouponAmount(String couponAmount) {
this.couponAmount = couponAmount;
}
public OrderInfoForListOrdersOutput createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Get createTime
* @return createTime
**/
@Schema(description = "")
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public OrderInfoForListOrdersOutput discountAmount(String discountAmount) {
this.discountAmount = discountAmount;
return this;
}
/**
* Get discountAmount
* @return discountAmount
**/
@Schema(description = "")
public String getDiscountAmount() {
return discountAmount;
}
public void setDiscountAmount(String discountAmount) {
this.discountAmount = discountAmount;
}
public OrderInfoForListOrdersOutput orderID(String orderID) {
this.orderID = orderID;
return this;
}
/**
* Get orderID
* @return orderID
**/
@Schema(description = "")
public String getOrderID() {
return orderID;
}
public void setOrderID(String orderID) {
this.orderID = orderID;
}
public OrderInfoForListOrdersOutput orderType(String orderType) {
this.orderType = orderType;
return this;
}
/**
* Get orderType
* @return orderType
**/
@Schema(description = "")
public String getOrderType() {
return orderType;
}
public void setOrderType(String orderType) {
this.orderType = orderType;
}
public OrderInfoForListOrdersOutput originalAmount(String originalAmount) {
this.originalAmount = originalAmount;
return this;
}
/**
* Get originalAmount
* @return originalAmount
**/
@Schema(description = "")
public String getOriginalAmount() {
return originalAmount;
}
public void setOriginalAmount(String originalAmount) {
this.originalAmount = originalAmount;
}
public OrderInfoForListOrdersOutput paidAmount(String paidAmount) {
this.paidAmount = paidAmount;
return this;
}
/**
* Get paidAmount
* @return paidAmount
**/
@Schema(description = "")
public String getPaidAmount() {
return paidAmount;
}
public void setPaidAmount(String paidAmount) {
this.paidAmount = paidAmount;
}
public OrderInfoForListOrdersOutput payableAmount(String payableAmount) {
this.payableAmount = payableAmount;
return this;
}
/**
* Get payableAmount
* @return payableAmount
**/
@Schema(description = "")
public String getPayableAmount() {
return payableAmount;
}
public void setPayableAmount(String payableAmount) {
this.payableAmount = payableAmount;
}
public OrderInfoForListOrdersOutput payerCustomerName(String payerCustomerName) {
this.payerCustomerName = payerCustomerName;
return this;
}
/**
* Get payerCustomerName
* @return payerCustomerName
**/
@Schema(description = "")
public String getPayerCustomerName() {
return payerCustomerName;
}
public void setPayerCustomerName(String payerCustomerName) {
this.payerCustomerName = payerCustomerName;
}
public OrderInfoForListOrdersOutput payerID(Integer payerID) {
this.payerID = payerID;
return this;
}
/**
* Get payerID
* @return payerID
**/
@Schema(description = "")
public Integer getPayerID() {
return payerID;
}
public void setPayerID(Integer payerID) {
this.payerID = payerID;
}
public OrderInfoForListOrdersOutput sellerCustomerName(String sellerCustomerName) {
this.sellerCustomerName = sellerCustomerName;
return this;
}
/**
* Get sellerCustomerName
* @return sellerCustomerName
**/
@Schema(description = "")
public String getSellerCustomerName() {
return sellerCustomerName;
}
public void setSellerCustomerName(String sellerCustomerName) {
this.sellerCustomerName = sellerCustomerName;
}
public OrderInfoForListOrdersOutput sellerID(Integer sellerID) {
this.sellerID = sellerID;
return this;
}
/**
* Get sellerID
* @return sellerID
**/
@Schema(description = "")
public Integer getSellerID() {
return sellerID;
}
public void setSellerID(Integer sellerID) {
this.sellerID = sellerID;
}
public OrderInfoForListOrdersOutput status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@Schema(description = "")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public OrderInfoForListOrdersOutput subjectNo(String subjectNo) {
this.subjectNo = subjectNo;
return this;
}
/**
* Get subjectNo
* @return subjectNo
**/
@Schema(description = "")
public String getSubjectNo() {
return subjectNo;
}
public void setSubjectNo(String subjectNo) {
this.subjectNo = subjectNo;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
OrderInfoForListOrdersOutput orderInfoForListOrdersOutput = (OrderInfoForListOrdersOutput) o;
return Objects.equals(this.buyerCustomerName, orderInfoForListOrdersOutput.buyerCustomerName) &&
Objects.equals(this.buyerID, orderInfoForListOrdersOutput.buyerID) &&
Objects.equals(this.couponAmount, orderInfoForListOrdersOutput.couponAmount) &&
Objects.equals(this.createTime, orderInfoForListOrdersOutput.createTime) &&
Objects.equals(this.discountAmount, orderInfoForListOrdersOutput.discountAmount) &&
Objects.equals(this.orderID, orderInfoForListOrdersOutput.orderID) &&
Objects.equals(this.orderType, orderInfoForListOrdersOutput.orderType) &&
Objects.equals(this.originalAmount, orderInfoForListOrdersOutput.originalAmount) &&
Objects.equals(this.paidAmount, orderInfoForListOrdersOutput.paidAmount) &&
Objects.equals(this.payableAmount, orderInfoForListOrdersOutput.payableAmount) &&
Objects.equals(this.payerCustomerName, orderInfoForListOrdersOutput.payerCustomerName) &&
Objects.equals(this.payerID, orderInfoForListOrdersOutput.payerID) &&
Objects.equals(this.sellerCustomerName, orderInfoForListOrdersOutput.sellerCustomerName) &&
Objects.equals(this.sellerID, orderInfoForListOrdersOutput.sellerID) &&
Objects.equals(this.status, orderInfoForListOrdersOutput.status) &&
Objects.equals(this.subjectNo, orderInfoForListOrdersOutput.subjectNo);
}
@Override
public int hashCode() {
return Objects.hash(buyerCustomerName, buyerID, couponAmount, createTime, discountAmount, orderID, orderType, originalAmount, paidAmount, payableAmount, payerCustomerName, payerID, sellerCustomerName, sellerID, status, subjectNo);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class OrderInfoForListOrdersOutput {\n");
sb.append(" buyerCustomerName: ").append(toIndentedString(buyerCustomerName)).append("\n");
sb.append(" buyerID: ").append(toIndentedString(buyerID)).append("\n");
sb.append(" couponAmount: ").append(toIndentedString(couponAmount)).append("\n");
sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n");
sb.append(" discountAmount: ").append(toIndentedString(discountAmount)).append("\n");
sb.append(" orderID: ").append(toIndentedString(orderID)).append("\n");
sb.append(" orderType: ").append(toIndentedString(orderType)).append("\n");
sb.append(" originalAmount: ").append(toIndentedString(originalAmount)).append("\n");
sb.append(" paidAmount: ").append(toIndentedString(paidAmount)).append("\n");
sb.append(" payableAmount: ").append(toIndentedString(payableAmount)).append("\n");
sb.append(" payerCustomerName: ").append(toIndentedString(payerCustomerName)).append("\n");
sb.append(" payerID: ").append(toIndentedString(payerID)).append("\n");
sb.append(" sellerCustomerName: ").append(toIndentedString(sellerCustomerName)).append("\n");
sb.append(" sellerID: ").append(toIndentedString(sellerID)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" subjectNo: ").append(toIndentedString(subjectNo)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy