Class CardResponse
- java.lang.Object
-
- com.checkout.HttpMetadata
-
- com.checkout.common.Resource
-
- com.checkout.issuing.cards.responses.CardResponse
-
public class CardResponse extends Resource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCardResponse.CardResponseBuilder
-
Field Summary
Fields Modifier and Type Field Description protected CurrencybillingCurrencyprotected java.time.InstantcreatedDateprotected java.lang.StringdisplayNameprotected java.lang.IntegerexpiryMonthprotected java.lang.IntegerexpiryYearprotected java.lang.Stringidprotected CountryCodeissuingCountryprotected java.lang.StringlastFourprotected java.lang.Stringreference
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CardResponse.CardResponseBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)CurrencygetBillingCurrency()java.time.InstantgetCreatedDate()java.lang.StringgetDisplayName()java.lang.IntegergetExpiryMonth()java.lang.IntegergetExpiryYear()java.lang.StringgetId()CountryCodegetIssuingCountry()java.lang.StringgetLastFour()java.lang.StringgetReference()inthashCode()voidsetBillingCurrency(Currency billingCurrency)voidsetCreatedDate(java.time.Instant createdDate)voidsetDisplayName(java.lang.String displayName)voidsetExpiryMonth(java.lang.Integer expiryMonth)voidsetExpiryYear(java.lang.Integer expiryYear)voidsetId(java.lang.String id)voidsetIssuingCountry(CountryCode issuingCountry)voidsetLastFour(java.lang.String lastFour)voidsetReference(java.lang.String reference)java.lang.StringtoString()-
Methods inherited from class com.checkout.common.Resource
getLink, getLinks, getSelfLink, setLinks
-
Methods inherited from class com.checkout.HttpMetadata
getBody, getHttpStatusCode, getRequestId, getResponseHeaders, setBody, setHttpStatusCode, setResponseHeaders
-
-
-
-
Field Detail
-
id
protected java.lang.String id
-
displayName
@SerializedName("display_name") protected java.lang.String displayName
-
lastFour
@SerializedName("last_four") protected java.lang.String lastFour
-
expiryMonth
@SerializedName("expiry_month") protected java.lang.Integer expiryMonth
-
expiryYear
@SerializedName("expiry_year") protected java.lang.Integer expiryYear
-
billingCurrency
@SerializedName("billing_currency") protected Currency billingCurrency
-
issuingCountry
@SerializedName("issuing_country") protected CountryCode issuingCountry
-
reference
protected java.lang.String reference
-
createdDate
@SerializedName("created_date") protected java.time.Instant createdDate
-
-
Method Detail
-
builder
public static CardResponse.CardResponseBuilder builder()
-
getId
public java.lang.String getId()
-
getDisplayName
public java.lang.String getDisplayName()
-
getLastFour
public java.lang.String getLastFour()
-
getExpiryMonth
public java.lang.Integer getExpiryMonth()
-
getExpiryYear
public java.lang.Integer getExpiryYear()
-
getBillingCurrency
public Currency getBillingCurrency()
-
getIssuingCountry
public CountryCode getIssuingCountry()
-
getReference
public java.lang.String getReference()
-
getCreatedDate
public java.time.Instant getCreatedDate()
-
setId
public void setId(java.lang.String id)
-
setDisplayName
public void setDisplayName(java.lang.String displayName)
-
setLastFour
public void setLastFour(java.lang.String lastFour)
-
setExpiryMonth
public void setExpiryMonth(java.lang.Integer expiryMonth)
-
setExpiryYear
public void setExpiryYear(java.lang.Integer expiryYear)
-
setBillingCurrency
public void setBillingCurrency(Currency billingCurrency)
-
setIssuingCountry
public void setIssuingCountry(CountryCode issuingCountry)
-
setReference
public void setReference(java.lang.String reference)
-
setCreatedDate
public void setCreatedDate(java.time.Instant createdDate)
-
-