## PaymentMethod

### Summary

#### Nested Classes
- enum [PaymentMethod.CardType](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.CardType.html)

#### Public Constructors
- [PaymentMethod](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#PaymentMethod())()

#### Public Methods
- [String](https://d.android.com/reference/java/lang/String.html) [getCardNumber](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getCardNumber())()
- [String](https://d.android.com/reference/java/lang/String.html) [getCvv](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getCvv())()
- [String](https://d.android.com/reference/java/lang/String.html) [getExpiration](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getExpiration())()
- [String](https://d.android.com/reference/java/lang/String.html) [getExpirationMonth](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getExpirationMonth())()
- [String](https://d.android.com/reference/java/lang/String.html) [getExpirationYear](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getExpirationYear())()
- [String](https://d.android.com/reference/java/lang/String.html) [getFullName](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#getFullName())()
- void [setCardNumber](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#setCardNumber(java.lang.String))( [String](https://d.android.com/reference/java/lang/String.html) cardNumber)  
  _This method is deprecated._  
  _No replacement._
    
##### Parameters
| cardNumber | The user's payment card number, as a string without any spaces |

- void [setCvv](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#setCvv(java.lang.String))( [String](https://d.android.com/reference/java/lang/String.html) cvv)  
  _This method is deprecated._  
  _No replacement._
    
##### Parameters
| cvv | The three or four-digit number representing the user's payment card CVV |

- void [setExpirationMonth](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#setExpirationMonth(java.lang.String))( [String](https://d.android.com/reference/java/lang/String.html) expirationMonth)  
  _This method is deprecated._  
  _No replacement._
    
##### Parameters
| expirationMonth | The two-digit number representing the user's payment card expiration month |

- void [setExpirationYear](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#setExpirationYear(java.lang.String))( [String](https://d.android.com/reference/java/lang/String.html) expirationYear)  
    
##### Parameters
| expirationYear | The two or four-digit number representing the user's payment card expiration year |

- void [setFullName](https://building.usebutton.com/button-android/latest/reference/com/usebutton/sdk/autofill/PaymentMethod.html#setFullName(java.lang.String))( [String](https://d.android.com/reference/java/lang/String.html) fullName)  
  _This method is deprecated._  
  _No replacement._
    
##### Parameters
| fullName | The user's full name as it appears on the card |
