Class IdSource
- java.lang.Object
-
- com.checkout.forward.requests.sources.AbstractSource
-
- com.checkout.forward.requests.sources.IdSource
-
public final class IdSource extends AbstractSource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIdSource.IdSourceBuilder
-
Field Summary
-
Fields inherited from class com.checkout.forward.requests.sources.AbstractSource
type
-
-
Constructor Summary
Constructors Constructor Description IdSource()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IdSource.IdSourceBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetCvvToken()The unique token for the card's security code.java.lang.StringgetId()The unique identifier of the payment instrument (Required, pattern ^(src)_(\w{26})$)inthashCode()voidsetCvvToken(java.lang.String cvvToken)The unique token for the card's security code.voidsetId(java.lang.String id)The unique identifier of the payment instrument (Required, pattern ^(src)_(\w{26})$)java.lang.StringtoString()-
Methods inherited from class com.checkout.forward.requests.sources.AbstractSource
getType
-
-
-
-
Method Detail
-
builder
public static IdSource.IdSourceBuilder builder()
-
getId
public java.lang.String getId()
The unique identifier of the payment instrument (Required, pattern ^(src)_(\w{26})$)
-
getCvvToken
public java.lang.String getCvvToken()
The unique token for the card's security code. Checkout.com does not store a card's Card Verification Value (CVV) with its associated payment instrument. To pass a CVV with your forward request, use the Frames SDK for Android or iOS to collect and tokenize the CVV and pass the value in this field. The token will replace the placeholder {{card_cvv}} value in destination_request.body (Optional, pattern ^(tok)_(\w{26})$)
-
setId
public void setId(java.lang.String id)
The unique identifier of the payment instrument (Required, pattern ^(src)_(\w{26})$)
-
setCvvToken
public void setCvvToken(java.lang.String cvvToken)
The unique token for the card's security code. Checkout.com does not store a card's Card Verification Value (CVV) with its associated payment instrument. To pass a CVV with your forward request, use the Frames SDK for Android or iOS to collect and tokenize the CVV and pass the value in this field. The token will replace the placeholder {{card_cvv}} value in destination_request.body (Optional, pattern ^(tok)_(\w{26})$)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classAbstractSource
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classAbstractSource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractSource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractSource
-
-