com.tinypass.client.publisher.model.PaymentMethodDTO Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.UserBillingAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class PaymentMethodDTO {
/* The user payment info ID */
private String userPaymentInfoId = null;
/* The description of the user payment info */
private String description = null;
/* The payment method ID */
private String upiIdentifier = null;
/* The card nickname */
private String upiNickname = null;
/* The cardholder */
private String upiCardholder = null;
/* The cardholder's first name */
private String upiFirstName = null;
/* The cardholder's last name */
private String upiLastName = null;
/* The card number */
private String upiNumber = null;
/* The user payment method state */
private String state = 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 email for the user payment info */
private String upiEmail = null;
/* Code of the country */
private String upiCardCountryCode = null;
/* Card postal code */
private String upiCardZipCode = null;
/* State in the country */
private String upiCountryState = null;
/* City of the address */
private String upiCity = null;
/* Street of the address */
private String upiStreet = null;
/* The user payment currency */
private String currency = null;
/* Date of next bill */
private String nextBillDate = null;
/* Whether the object is readonly */
private Boolean readonly = null;
/* Indicates if this payment method can be edited */
private Boolean canBeEdited = null;
/* Indicates if this payment method can be deleted */
private Boolean canBeDeleted = null;
/* Indicates if this payment method can be set default */
private Boolean canBeSetDefault = null;
/* The payment provider source ID */
private String sourceId = null;
/* The payment provider name */
private String sourceName = null;
/* The external customer ID of the payment method (user payment info) */
private String upiExtCustomerId = null;
/* The label of the external customer ID for the payment method (user payment info) */
private String upiExtCustomerIdLabel = null;
/* The external payment ID for the payment method (user payment info) */
private String upiExtPaymentId = null;
/* The code of the residence country */
private String taxResidenceCountryCode = null;
/* The code of the billing country */
private String taxBillingCountryCode = null;
/* The billing zip code */
private String taxBillingZipCode = null;
/* User billing address */
private UserBillingAddress userBillingAddress = null;
/* The stored fields */
private String storedFields = null;
/* The payment instrument data */
private Map paymentInstrumentData = new HashMap();
public String getUserPaymentInfoId() {
return userPaymentInfoId;
}
public void setUserPaymentInfoId(String userPaymentInfoId) {
this.userPaymentInfoId = userPaymentInfoId;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getUpiIdentifier() {
return upiIdentifier;
}
public void setUpiIdentifier(String upiIdentifier) {
this.upiIdentifier = upiIdentifier;
}
public String getUpiNickname() {
return upiNickname;
}
public void setUpiNickname(String upiNickname) {
this.upiNickname = upiNickname;
}
public String getUpiCardholder() {
return upiCardholder;
}
public void setUpiCardholder(String upiCardholder) {
this.upiCardholder = upiCardholder;
}
public String getUpiFirstName() {
return upiFirstName;
}
public void setUpiFirstName(String upiFirstName) {
this.upiFirstName = upiFirstName;
}
public String getUpiLastName() {
return upiLastName;
}
public void setUpiLastName(String upiLastName) {
this.upiLastName = upiLastName;
}
public String getUpiNumber() {
return upiNumber;
}
public void setUpiNumber(String upiNumber) {
this.upiNumber = upiNumber;
}
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
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 getUpiEmail() {
return upiEmail;
}
public void setUpiEmail(String upiEmail) {
this.upiEmail = upiEmail;
}
public String getUpiCardCountryCode() {
return upiCardCountryCode;
}
public void setUpiCardCountryCode(String upiCardCountryCode) {
this.upiCardCountryCode = upiCardCountryCode;
}
public String getUpiCardZipCode() {
return upiCardZipCode;
}
public void setUpiCardZipCode(String upiCardZipCode) {
this.upiCardZipCode = upiCardZipCode;
}
public String getUpiCountryState() {
return upiCountryState;
}
public void setUpiCountryState(String upiCountryState) {
this.upiCountryState = upiCountryState;
}
public String getUpiCity() {
return upiCity;
}
public void setUpiCity(String upiCity) {
this.upiCity = upiCity;
}
public String getUpiStreet() {
return upiStreet;
}
public void setUpiStreet(String upiStreet) {
this.upiStreet = upiStreet;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public String getNextBillDate() {
return nextBillDate;
}
public void setNextBillDate(String nextBillDate) {
this.nextBillDate = nextBillDate;
}
public Boolean getReadonly() {
return readonly;
}
public void setReadonly(Boolean readonly) {
this.readonly = readonly;
}
public Boolean getCanBeEdited() {
return canBeEdited;
}
public void setCanBeEdited(Boolean canBeEdited) {
this.canBeEdited = canBeEdited;
}
public Boolean getCanBeDeleted() {
return canBeDeleted;
}
public void setCanBeDeleted(Boolean canBeDeleted) {
this.canBeDeleted = canBeDeleted;
}
public Boolean getCanBeSetDefault() {
return canBeSetDefault;
}
public void setCanBeSetDefault(Boolean canBeSetDefault) {
this.canBeSetDefault = canBeSetDefault;
}
public String getSourceId() {
return sourceId;
}
public void setSourceId(String sourceId) {
this.sourceId = sourceId;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getUpiExtCustomerId() {
return upiExtCustomerId;
}
public void setUpiExtCustomerId(String upiExtCustomerId) {
this.upiExtCustomerId = upiExtCustomerId;
}
public String getUpiExtCustomerIdLabel() {
return upiExtCustomerIdLabel;
}
public void setUpiExtCustomerIdLabel(String upiExtCustomerIdLabel) {
this.upiExtCustomerIdLabel = upiExtCustomerIdLabel;
}
public String getUpiExtPaymentId() {
return upiExtPaymentId;
}
public void setUpiExtPaymentId(String upiExtPaymentId) {
this.upiExtPaymentId = upiExtPaymentId;
}
public String getTaxResidenceCountryCode() {
return taxResidenceCountryCode;
}
public void setTaxResidenceCountryCode(String taxResidenceCountryCode) {
this.taxResidenceCountryCode = taxResidenceCountryCode;
}
public String getTaxBillingCountryCode() {
return taxBillingCountryCode;
}
public void setTaxBillingCountryCode(String taxBillingCountryCode) {
this.taxBillingCountryCode = taxBillingCountryCode;
}
public String getTaxBillingZipCode() {
return taxBillingZipCode;
}
public void setTaxBillingZipCode(String taxBillingZipCode) {
this.taxBillingZipCode = taxBillingZipCode;
}
public UserBillingAddress getUserBillingAddress() {
return userBillingAddress;
}
public void setUserBillingAddress(UserBillingAddress userBillingAddress) {
this.userBillingAddress = userBillingAddress;
}
public String getStoredFields() {
return storedFields;
}
public void setStoredFields(String storedFields) {
this.storedFields = storedFields;
}
public Map getPaymentInstrumentData() {
return paymentInstrumentData;
}
public void setPaymentInstrumentData(Map paymentInstrumentData) {
this.paymentInstrumentData = paymentInstrumentData;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentMethodDTO {\n");
sb.append(" userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" upiIdentifier: ").append(upiIdentifier).append("\n");
sb.append(" upiNickname: ").append(upiNickname).append("\n");
sb.append(" upiCardholder: ").append(upiCardholder).append("\n");
sb.append(" upiFirstName: ").append(upiFirstName).append("\n");
sb.append(" upiLastName: ").append(upiLastName).append("\n");
sb.append(" upiNumber: ").append(upiNumber).append("\n");
sb.append(" state: ").append(state).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(" upiEmail: ").append(upiEmail).append("\n");
sb.append(" upiCardCountryCode: ").append(upiCardCountryCode).append("\n");
sb.append(" upiCardZipCode: ").append(upiCardZipCode).append("\n");
sb.append(" upiCountryState: ").append(upiCountryState).append("\n");
sb.append(" upiCity: ").append(upiCity).append("\n");
sb.append(" upiStreet: ").append(upiStreet).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append(" nextBillDate: ").append(nextBillDate).append("\n");
sb.append(" readonly: ").append(readonly).append("\n");
sb.append(" canBeEdited: ").append(canBeEdited).append("\n");
sb.append(" canBeDeleted: ").append(canBeDeleted).append("\n");
sb.append(" canBeSetDefault: ").append(canBeSetDefault).append("\n");
sb.append(" sourceId: ").append(sourceId).append("\n");
sb.append(" sourceName: ").append(sourceName).append("\n");
sb.append(" upiExtCustomerId: ").append(upiExtCustomerId).append("\n");
sb.append(" upiExtCustomerIdLabel: ").append(upiExtCustomerIdLabel).append("\n");
sb.append(" upiExtPaymentId: ").append(upiExtPaymentId).append("\n");
sb.append(" taxResidenceCountryCode: ").append(taxResidenceCountryCode).append("\n");
sb.append(" taxBillingCountryCode: ").append(taxBillingCountryCode).append("\n");
sb.append(" taxBillingZipCode: ").append(taxBillingZipCode).append("\n");
sb.append(" userBillingAddress: ").append(userBillingAddress).append("\n");
sb.append(" storedFields: ").append(storedFields).append("\n");
sb.append(" paymentInstrumentData: ").append(paymentInstrumentData).append("\n");
sb.append("}\n");
return sb.toString();
}
}