Lines Matching refs:instrument
18 #include "components/autofill/content/browser/wallet/instrument.h"
222 const char kInstrumentKey[] = "instrument";
223 const char kInstrumentExpMonthKey[] = "instrument.credit_card.exp_month";
224 const char kInstrumentExpYearKey[] = "instrument.credit_card.exp_year";
225 const char kInstrumentType[] = "instrument.type";
363 scoped_ptr<Instrument> instrument,
367 DCHECK(instrument || address);
379 if (instrument) {
381 base::UTF16ToUTF8(instrument->primary_account_number()), true);
383 base::UTF16ToUTF8(instrument->card_verification_number()), true);
386 request_dict.Set(kInstrumentKey, instrument->ToDictionary().release());
388 instrument->address()->phone_number());
392 int new_month = instrument->expiration_month();
393 int new_year = instrument->expiration_year();
398 DCHECK(instrument->address() || expiration_date_changed);
403 if (instrument->address()) {
405 instrument->address()->phone_number());
408 instrument->address()->ToDictionaryWithoutID().release());
413 DCHECK(!instrument->card_verification_number().empty());
415 instrument->expiration_month());
417 instrument->expiration_year());