com.tinypass.client.user.model.PaymentMethod Maven / Gradle / Ivy
package com.tinypass.client.user.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class PaymentMethod {
/* The card nickname */
private String upiNickname = null;
/* The color of the card */
private String upiColor = null;
/* The card number */
private String upiNumber = null;
/* The expiration month of the card */
private Integer upiExpirationMonth = null;
/* The expiration year of the card */
private Integer upiExpirationYear = null;
/* The postal code of the card */
private String upiPostalCode = null;
/* The description of the user payment info */
private String description = null;
/* The user payment info ID */
private String userPaymentInfoId = null;
public String getUpiNickname() {
return upiNickname;
}
public void setUpiNickname(String upiNickname) {
this.upiNickname = upiNickname;
}
public String getUpiColor() {
return upiColor;
}
public void setUpiColor(String upiColor) {
this.upiColor = upiColor;
}
public String getUpiNumber() {
return upiNumber;
}
public void setUpiNumber(String upiNumber) {
this.upiNumber = upiNumber;
}
public Integer getUpiExpirationMonth() {
return upiExpirationMonth;
}
public void setUpiExpirationMonth(Integer upiExpirationMonth) {
this.upiExpirationMonth = upiExpirationMonth;
}
public Integer getUpiExpirationYear() {
return upiExpirationYear;
}
public void setUpiExpirationYear(Integer upiExpirationYear) {
this.upiExpirationYear = upiExpirationYear;
}
public String getUpiPostalCode() {
return upiPostalCode;
}
public void setUpiPostalCode(String upiPostalCode) {
this.upiPostalCode = upiPostalCode;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUserPaymentInfoId() {
return userPaymentInfoId;
}
public void setUserPaymentInfoId(String userPaymentInfoId) {
this.userPaymentInfoId = userPaymentInfoId;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentMethod {\n");
sb.append(" upiNickname: ").append(upiNickname).append("\n");
sb.append(" upiColor: ").append(upiColor).append("\n");
sb.append(" upiNumber: ").append(upiNumber).append("\n");
sb.append(" upiExpirationMonth: ").append(upiExpirationMonth).append("\n");
sb.append(" upiExpirationYear: ").append(upiExpirationYear).append("\n");
sb.append(" upiPostalCode: ").append(upiPostalCode).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
sb.append("}\n");
return sb.toString();
}
}