Lines Matching defs:MaskedInstrument
46 WalletItems::MaskedInstrument::Type
49 return WalletItems::MaskedInstrument::VISA;
51 return WalletItems::MaskedInstrument::MASTER_CARD;
53 return WalletItems::MaskedInstrument::AMEX;
55 return WalletItems::MaskedInstrument::DISCOVER;
57 return WalletItems::MaskedInstrument::SOLO;
59 return WalletItems::MaskedInstrument::MAESTRO;
61 return WalletItems::MaskedInstrument::SWITCH;
62 return WalletItems::MaskedInstrument::UNKNOWN;
65 WalletItems::MaskedInstrument::Status
68 return WalletItems::MaskedInstrument::AMEX_NOT_SUPPORTED;
70 return WalletItems::MaskedInstrument::PENDING;
72 return WalletItems::MaskedInstrument::VALID;
74 return WalletItems::MaskedInstrument::DECLINED;
76 return WalletItems::MaskedInstrument::DISABLED_FOR_THIS_MERCHANT;
78 return WalletItems::MaskedInstrument::UNSUPPORTED_COUNTRY;
80 return WalletItems::MaskedInstrument::EXPIRED;
82 return WalletItems::MaskedInstrument::BILLING_INCOMPLETE;
83 return WalletItems::MaskedInstrument::INAPPLICABLE;
86 base::string16 DisplayStringFromType(WalletItems::MaskedInstrument::Type type) {
88 case WalletItems::MaskedInstrument::AMEX:
90 case WalletItems::MaskedInstrument::DISCOVER:
92 case WalletItems::MaskedInstrument::MASTER_CARD:
94 case WalletItems::MaskedInstrument::VISA:
103 WalletItems::MaskedInstrument::MaskedInstrument(
105 const WalletItems::MaskedInstrument::Type& type,
110 const WalletItems::MaskedInstrument::Status& status,
123 WalletItems::MaskedInstrument::~MaskedInstrument() {}
125 scoped_ptr<WalletItems::MaskedInstrument>
126 WalletItems::MaskedInstrument::CreateMaskedInstrument(
134 return scoped_ptr<MaskedInstrument>();
140 return scoped_ptr<MaskedInstrument>();
149 return scoped_ptr<MaskedInstrument>();
155 return scoped_ptr<MaskedInstrument>();
161 return scoped_ptr<MaskedInstrument>();
167 return scoped_ptr<MaskedInstrument>();
182 return scoped_ptr<MaskedInstrument>(new MaskedInstrument(descriptive_name,
192 bool WalletItems::MaskedInstrument::operator==(
193 const WalletItems::MaskedInstrument& other) const {
221 bool WalletItems::MaskedInstrument::operator!=(
222 const WalletItems::MaskedInstrument& other) const {
226 const WalletItems::MaskedInstrument* WalletItems::GetInstrumentById(
277 base::string16 WalletItems::MaskedInstrument::DisplayName() const {
286 base::string16 WalletItems::MaskedInstrument::DisplayNameDetail() const {
295 base::string16 WalletItems::MaskedInstrument::TypeAndLastFourDigits() const {
301 const gfx::Image& WalletItems::MaskedInstrument::CardIcon() const {
331 base::string16 WalletItems::MaskedInstrument::GetInfo(
517 scoped_ptr<MaskedInstrument> instrument(
518 MaskedInstrument::CreateMaskedInstrument(*instrument_dict));
567 VectorsAreEqual<MaskedInstrument>(instruments(),