public class

PaymentMethod

extends Object
java.lang.Object
   ↳ com.usebutton.sdk.autofill.PaymentMethod

Summary

Nested Classes
enum PaymentMethod.CardType  
Public Constructors
PaymentMethod()
Public Methods
String getCardNumber()
String getCvv()
String getExpiration()
String getExpirationMonth()
String getExpirationYear()
String getFullName()
void setCardNumber(String cardNumber)
This method is deprecated. No replacement.
void setCvv(String cvv)
This method is deprecated. No replacement.
void setExpirationMonth(String expirationMonth)
This method is deprecated. No replacement.
void setExpirationYear(String expirationYear)
void setFullName(String fullName)
This method is deprecated. No replacement.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PaymentMethod ()

Public Methods

public String getCardNumber ()

public String getCvv ()

public String getExpiration ()

public String getExpirationMonth ()

public String getExpirationYear ()

public String getFullName ()

public void setCardNumber (String cardNumber)

This method is deprecated.
No replacement.

Parameters
cardNumber The user's payment card number, as a string without any spaces

public void setCvv (String cvv)

This method is deprecated.
No replacement.

Parameters
cvv The three or four-digit number representing the user's payment card CVV

public void setExpirationMonth (String expirationMonth)

This method is deprecated.
No replacement.

Parameters
expirationMonth The two-digit number representing the user's payment card expiration month

public void setExpirationYear (String expirationYear)

Parameters
expirationYear The two or four-digit number representing the user's payment card expiration year

public void setFullName (String fullName)

This method is deprecated.
No replacement.

Parameters
fullName The user's full name as it appears on the card