expYear

fun expYear(): String?

Four digit (yyyy) expiry year. If neither exp_month nor exp_year is provided, an expiration date will be generated.

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).