com.softlayer.api.service.container.account.payment.method.CreditCard Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
The newest version!
package com.softlayer.api.service.container.account.payment.method;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
/**
* @see SoftLayer_Container_Account_Payment_Method_CreditCard
*/
@ApiType("SoftLayer_Container_Account_Payment_Method_CreditCard")
public class CreditCard extends Entity {
@ApiProperty(canBeNullOrNotSet = true)
protected String address1;
public String getAddress1() {
return address1;
}
public void setAddress1(String address1) {
address1Specified = true;
this.address1 = address1;
}
protected boolean address1Specified;
public boolean isAddress1Specified() {
return address1Specified;
}
public void unsetAddress1() {
address1 = null;
address1Specified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String address2;
public String getAddress2() {
return address2;
}
public void setAddress2(String address2) {
address2Specified = true;
this.address2 = address2;
}
protected boolean address2Specified;
public boolean isAddress2Specified() {
return address2Specified;
}
public void unsetAddress2() {
address2 = null;
address2Specified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String city;
public String getCity() {
return city;
}
public void setCity(String city) {
citySpecified = true;
this.city = city;
}
protected boolean citySpecified;
public boolean isCitySpecified() {
return citySpecified;
}
public void unsetCity() {
city = null;
citySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String country;
public String getCountry() {
return country;
}
public void setCountry(String country) {
countrySpecified = true;
this.country = country;
}
protected boolean countrySpecified;
public boolean isCountrySpecified() {
return countrySpecified;
}
public void unsetCountry() {
country = null;
countrySpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String currencyShortName;
public String getCurrencyShortName() {
return currencyShortName;
}
public void setCurrencyShortName(String currencyShortName) {
currencyShortNameSpecified = true;
this.currencyShortName = currencyShortName;
}
protected boolean currencyShortNameSpecified;
public boolean isCurrencyShortNameSpecified() {
return currencyShortNameSpecified;
}
public void unsetCurrencyShortName() {
currencyShortName = null;
currencyShortNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String cybersourceAssignedCardType;
public String getCybersourceAssignedCardType() {
return cybersourceAssignedCardType;
}
public void setCybersourceAssignedCardType(String cybersourceAssignedCardType) {
cybersourceAssignedCardTypeSpecified = true;
this.cybersourceAssignedCardType = cybersourceAssignedCardType;
}
protected boolean cybersourceAssignedCardTypeSpecified;
public boolean isCybersourceAssignedCardTypeSpecified() {
return cybersourceAssignedCardTypeSpecified;
}
public void unsetCybersourceAssignedCardType() {
cybersourceAssignedCardType = null;
cybersourceAssignedCardTypeSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String expireMonth;
public String getExpireMonth() {
return expireMonth;
}
public void setExpireMonth(String expireMonth) {
expireMonthSpecified = true;
this.expireMonth = expireMonth;
}
protected boolean expireMonthSpecified;
public boolean isExpireMonthSpecified() {
return expireMonthSpecified;
}
public void unsetExpireMonth() {
expireMonth = null;
expireMonthSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String expireYear;
public String getExpireYear() {
return expireYear;
}
public void setExpireYear(String expireYear) {
expireYearSpecified = true;
this.expireYear = expireYear;
}
protected boolean expireYearSpecified;
public boolean isExpireYearSpecified() {
return expireYearSpecified;
}
public void unsetExpireYear() {
expireYear = null;
expireYearSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String firstName;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
firstNameSpecified = true;
this.firstName = firstName;
}
protected boolean firstNameSpecified;
public boolean isFirstNameSpecified() {
return firstNameSpecified;
}
public void unsetFirstName() {
firstName = null;
firstNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String lastFourDigits;
public String getLastFourDigits() {
return lastFourDigits;
}
public void setLastFourDigits(String lastFourDigits) {
lastFourDigitsSpecified = true;
this.lastFourDigits = lastFourDigits;
}
protected boolean lastFourDigitsSpecified;
public boolean isLastFourDigitsSpecified() {
return lastFourDigitsSpecified;
}
public void unsetLastFourDigits() {
lastFourDigits = null;
lastFourDigitsSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String lastName;
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
lastNameSpecified = true;
this.lastName = lastName;
}
protected boolean lastNameSpecified;
public boolean isLastNameSpecified() {
return lastNameSpecified;
}
public void unsetLastName() {
lastName = null;
lastNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String nickname;
public String getNickname() {
return nickname;
}
public void setNickname(String nickname) {
nicknameSpecified = true;
this.nickname = nickname;
}
protected boolean nicknameSpecified;
public boolean isNicknameSpecified() {
return nicknameSpecified;
}
public void unsetNickname() {
nickname = null;
nicknameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String paymentMethodRoleName;
public String getPaymentMethodRoleName() {
return paymentMethodRoleName;
}
public void setPaymentMethodRoleName(String paymentMethodRoleName) {
paymentMethodRoleNameSpecified = true;
this.paymentMethodRoleName = paymentMethodRoleName;
}
protected boolean paymentMethodRoleNameSpecified;
public boolean isPaymentMethodRoleNameSpecified() {
return paymentMethodRoleNameSpecified;
}
public void unsetPaymentMethodRoleName() {
paymentMethodRoleName = null;
paymentMethodRoleNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String paymentTypeId;
public String getPaymentTypeId() {
return paymentTypeId;
}
public void setPaymentTypeId(String paymentTypeId) {
paymentTypeIdSpecified = true;
this.paymentTypeId = paymentTypeId;
}
protected boolean paymentTypeIdSpecified;
public boolean isPaymentTypeIdSpecified() {
return paymentTypeIdSpecified;
}
public void unsetPaymentTypeId() {
paymentTypeId = null;
paymentTypeIdSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String paymentTypeName;
public String getPaymentTypeName() {
return paymentTypeName;
}
public void setPaymentTypeName(String paymentTypeName) {
paymentTypeNameSpecified = true;
this.paymentTypeName = paymentTypeName;
}
protected boolean paymentTypeNameSpecified;
public boolean isPaymentTypeNameSpecified() {
return paymentTypeNameSpecified;
}
public void unsetPaymentTypeName() {
paymentTypeName = null;
paymentTypeNameSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String postalCode;
public String getPostalCode() {
return postalCode;
}
public void setPostalCode(String postalCode) {
postalCodeSpecified = true;
this.postalCode = postalCode;
}
protected boolean postalCodeSpecified;
public boolean isPostalCodeSpecified() {
return postalCodeSpecified;
}
public void unsetPostalCode() {
postalCode = null;
postalCodeSpecified = false;
}
@ApiProperty(canBeNullOrNotSet = true)
protected String state;
public String getState() {
return state;
}
public void setState(String state) {
stateSpecified = true;
this.state = state;
}
protected boolean stateSpecified;
public boolean isStateSpecified() {
return stateSpecified;
}
public void unsetState() {
state = null;
stateSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask address1() {
withLocalProperty("address1");
return this;
}
public Mask address2() {
withLocalProperty("address2");
return this;
}
public Mask city() {
withLocalProperty("city");
return this;
}
public Mask country() {
withLocalProperty("country");
return this;
}
public Mask currencyShortName() {
withLocalProperty("currencyShortName");
return this;
}
public Mask cybersourceAssignedCardType() {
withLocalProperty("cybersourceAssignedCardType");
return this;
}
public Mask expireMonth() {
withLocalProperty("expireMonth");
return this;
}
public Mask expireYear() {
withLocalProperty("expireYear");
return this;
}
public Mask firstName() {
withLocalProperty("firstName");
return this;
}
public Mask lastFourDigits() {
withLocalProperty("lastFourDigits");
return this;
}
public Mask lastName() {
withLocalProperty("lastName");
return this;
}
public Mask nickname() {
withLocalProperty("nickname");
return this;
}
public Mask paymentMethodRoleName() {
withLocalProperty("paymentMethodRoleName");
return this;
}
public Mask paymentTypeId() {
withLocalProperty("paymentTypeId");
return this;
}
public Mask paymentTypeName() {
withLocalProperty("paymentTypeName");
return this;
}
public Mask postalCode() {
withLocalProperty("postalCode");
return this;
}
public Mask state() {
withLocalProperty("state");
return this;
}
}
}