com.volcengine.billing.model.OrderInfoForGetOrderOutput 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;
/**
* OrderInfoForGetOrderOutput
*/
public class OrderInfoForGetOrderOutput {
@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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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 OrderInfoForGetOrderOutput 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;
}
OrderInfoForGetOrderOutput orderInfoForGetOrderOutput = (OrderInfoForGetOrderOutput) o;
return Objects.equals(this.buyerCustomerName, orderInfoForGetOrderOutput.buyerCustomerName) &&
Objects.equals(this.buyerID, orderInfoForGetOrderOutput.buyerID) &&
Objects.equals(this.couponAmount, orderInfoForGetOrderOutput.couponAmount) &&
Objects.equals(this.createTime, orderInfoForGetOrderOutput.createTime) &&
Objects.equals(this.discountAmount, orderInfoForGetOrderOutput.discountAmount) &&
Objects.equals(this.orderID, orderInfoForGetOrderOutput.orderID) &&
Objects.equals(this.orderType, orderInfoForGetOrderOutput.orderType) &&
Objects.equals(this.originalAmount, orderInfoForGetOrderOutput.originalAmount) &&
Objects.equals(this.paidAmount, orderInfoForGetOrderOutput.paidAmount) &&
Objects.equals(this.payableAmount, orderInfoForGetOrderOutput.payableAmount) &&
Objects.equals(this.payerCustomerName, orderInfoForGetOrderOutput.payerCustomerName) &&
Objects.equals(this.payerID, orderInfoForGetOrderOutput.payerID) &&
Objects.equals(this.sellerCustomerName, orderInfoForGetOrderOutput.sellerCustomerName) &&
Objects.equals(this.sellerID, orderInfoForGetOrderOutput.sellerID) &&
Objects.equals(this.status, orderInfoForGetOrderOutput.status) &&
Objects.equals(this.subjectNo, orderInfoForGetOrderOutput.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 OrderInfoForGetOrderOutput {\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