All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.UserPaymentInfo Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

public class UserPaymentInfo {

  /* The user payment info ID */
  private String userPaymentInfoId = null;
  

  /* The description of the user payment info */
  private String description = null;
  

  /* The card nickname */
  private String upiNickname = 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 payment method ID */
  private String upiIdentifier = null;
  

  /* Identifier of the payment method */
  private String paymentMethod = null;
    //public enum paymentMethodEnum {  CC,  ACH,  BI,  D,  BP,  MP,  INV,  BD,  BR,  W,  };


  /* Identifier of the payment type */
  private String paymentType = null;
    //public enum paymentTypeEnum {  V,  MC,  AMEX,  AIRP,  AUR,  MAE,  CBA,  CBL,  DAN,  DCI,  D,  SOLO,  GE,  JCB,  LAS,  MP,  UAT,  U,  ACCT,  ER,  PFC,  TWI,  INT,  BCRD,  VLG,  INV,  NB,  PP,  VENMO,  PPPL,  GMDCM,  GMOAU,  GMOSB,  ICRD,  GCDD,  GCDI,  MBP,  USBA,  SDD,  BACS,  ACH,  BECS,  BCSNZ,  BTLSV,  PAD,  IDEAL,  BANCT,  UNPAY,  GGPAY,  APPAY,  SOFRT,  LINK,  };


  /* The payment method issuer country code */
  private String issuerCountryCode = null;
  

  /* The payment method is mocked */
  private Boolean isMock = null;
  


  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 getUpiNickname() {
    return upiNickname;
  }
  public void setUpiNickname(String upiNickname) {
    this.upiNickname = upiNickname;
  }


  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 getUpiIdentifier() {
    return upiIdentifier;
  }
  public void setUpiIdentifier(String upiIdentifier) {
    this.upiIdentifier = upiIdentifier;
  }


  public String getPaymentMethod() {
    return paymentMethod;
  }
  public void setPaymentMethod(String paymentMethod) {
    this.paymentMethod = paymentMethod;
  }


  public String getPaymentType() {
    return paymentType;
  }
  public void setPaymentType(String paymentType) {
    this.paymentType = paymentType;
  }


  public String getIssuerCountryCode() {
    return issuerCountryCode;
  }
  public void setIssuerCountryCode(String issuerCountryCode) {
    this.issuerCountryCode = issuerCountryCode;
  }


  public Boolean getIsMock() {
    return isMock;
  }
  public void setIsMock(Boolean isMock) {
    this.isMock = isMock;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class UserPaymentInfo {\n");
    sb.append("  userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
    sb.append("  description: ").append(description).append("\n");
    sb.append("  upiNickname: ").append(upiNickname).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("  upiIdentifier: ").append(upiIdentifier).append("\n");
    sb.append("  paymentMethod: ").append(paymentMethod).append("\n");
    sb.append("  paymentType: ").append(paymentType).append("\n");
    sb.append("  issuerCountryCode: ").append(issuerCountryCode).append("\n");
    sb.append("  isMock: ").append(isMock).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy