/** * Copyright 2012 GroupDocs. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.groupdocs.sdk.model; /** * * <p> * NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. * */ public class CreditCardInfo { private String firstNameOnCard = null; private String lastNameOnCard = null; private String number = null; private Integer expirationMonth = null; private Integer expirationYear = null; private String cvv = null; public String getFirstNameOnCard() { return firstNameOnCard; } public void setFirstNameOnCard(String firstNameOnCard) { this.firstNameOnCard = firstNameOnCard; } public String getLastNameOnCard() { return lastNameOnCard; } public void setLastNameOnCard(String lastNameOnCard) { this.lastNameOnCard = lastNameOnCard; } public String getNumber() { return number; } public void setNumber(String number) { this.number = number; } public Integer getExpirationMonth() { return expirationMonth; } public void setExpirationMonth(Integer expirationMonth) { this.expirationMonth = expirationMonth; } public Integer getExpirationYear() { return expirationYear; } public void setExpirationYear(Integer expirationYear) { this.expirationYear = expirationYear; } public String getCvv() { return cvv; } public void setCvv(String cvv) { this.cvv = cvv; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class CreditCardInfo {\n"); sb.append(" firstNameOnCard: ").append(firstNameOnCard).append("\n"); sb.append(" lastNameOnCard: ").append(lastNameOnCard).append("\n"); sb.append(" number: ").append(number).append("\n"); sb.append(" expirationMonth: ").append(expirationMonth).append("\n"); sb.append(" expirationYear: ").append(expirationYear).append("\n"); sb.append(" cvv: ").append(cvv).append("\n"); sb.append("}\n"); return sb.toString(); } }