Lines Matching refs:CreditCard
40 if (!CreditCard::IsValidCreditCardNumber(number))
138 CreditCard::CreditCard(const std::string& guid)
145 CreditCard::CreditCard()
152 CreditCard::CreditCard(const CreditCard& credit_card) : FormGroup() {
156 CreditCard::~CreditCard() {}
158 void CreditCard::GetPossibleFieldTypes(const string16& text,
176 void CreditCard::GetAvailableFieldTypes(FieldTypeSet* available_types) const {
195 string16 CreditCard::GetInfo(AutofillFieldType type) const {
242 void CreditCard::SetInfo(AutofillFieldType type, const string16& value) {
281 const string16 CreditCard::Label() const {
303 void CreditCard::SetInfoForMonthInputType(const string16& value) {
321 string16 CreditCard::ObfuscatedNumber() const {
333 string16 CreditCard::LastFourDigits() const {
343 void CreditCard::operator=(const CreditCard& credit_card) {
355 int CreditCard::Compare(const CreditCard& credit_card) const {
356 // The following CreditCard field types are the only types we store in the
373 bool CreditCard::operator==(const CreditCard& credit_card) const {
380 bool CreditCard::operator!=(const CreditCard& credit_card) const {
385 const string16 CreditCard::StripSeparators(const string16& number) {
393 bool CreditCard::IsValidCreditCardNumber(const string16& text) {
428 bool CreditCard::IsEmpty() const {
434 string16 CreditCard::ExpirationMonthAsString() const {
447 string16 CreditCard::Expiration4DigitYearAsString() const {
454 string16 CreditCard::Expiration2DigitYearAsString() const {
461 void CreditCard::SetExpirationMonthFromString(const string16& text) {
469 void CreditCard::SetExpirationYearFromString(const string16& text) {
477 void CreditCard::SetNumber(const string16& number) {
482 void CreditCard::SetExpirationMonth(int expiration_month) {
489 void CreditCard::SetExpirationYear(int expiration_year) {
498 bool CreditCard::IsNumber(const string16& text) const {
502 bool CreditCard::IsNameOnCard(const string16& text) const {
506 bool CreditCard::IsExpirationMonth(const string16& text) const {
514 bool CreditCard::Is2DigitExpirationYear(const string16& text) const {
522 bool CreditCard::Is4DigitExpirationYear(const string16& text) const {
531 std::ostream& operator<<(std::ostream& os, const CreditCard& credit_card) {