Lines Matching refs:wallet_items
571 void SubmitWithWalletItems(scoped_ptr<wallet::WalletItems> wallet_items) {
572 controller()->OnDidGetWalletItems(wallet_items.Pass());
879 scoped_ptr<wallet::WalletItems> wallet_items =
881 controller()->OnDidGetWalletItems(wallet_items.Pass());
1538 scoped_ptr<wallet::WalletItems> wallet_items =
1540 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
1541 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
1542 controller()->OnDidGetWalletItems(wallet_items.Pass());
1567 scoped_ptr<wallet::WalletItems> wallet_items =
1569 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
1570 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
1571 controller()->OnDidGetWalletItems(wallet_items.Pass());
1654 scoped_ptr<wallet::WalletItems> wallet_items =
1657 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
1660 wallet_items.Pass());
1678 scoped_ptr<wallet::WalletItems> wallet_items =
1680 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1681 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1682 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
1683 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1685 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
1686 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
1687 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
1688 wallet_items->AddAddress(wallet::GetTestShippingAddress());
1689 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
1691 controller()->OnDidGetWalletItems(wallet_items.Pass());
1708 scoped_ptr<wallet::WalletItems> wallet_items =
1712 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1713 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1714 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentInvalid());
1715 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1717 controller()->OnDidGetWalletItems(wallet_items.Pass());
1727 wallet_items = wallet::GetTestWalletItems(wallet::AMEX_DISALLOWED);
1728 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1729 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1730 wallet_items->AddInstrument(
1732 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1734 controller()->OnDidGetWalletItems(wallet_items.Pass());
1743 wallet_items = wallet::GetTestWalletItems(wallet::AMEX_ALLOWED);
1744 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1745 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1746 wallet_items->AddInstrument(
1748 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
1750 controller()->OnDidGetWalletItems(wallet_items.Pass());
1758 wallet_items = wallet::GetTestWalletItems(wallet::AMEX_DISALLOWED);
1759 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentInvalid());
1760 wallet_items->AddInstrument(
1763 controller()->OnDidGetWalletItems(wallet_items.Pass());
1780 scoped_ptr<wallet::WalletItems> wallet_items =
1782 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
1783 controller()->OnDidGetWalletItems(wallet_items.Pass());
1806 scoped_ptr<wallet::WalletItems> wallet_items =
1808 wallet_items->AddAddress(wallet::GetTestShippingAddress());
1809 SubmitWithWalletItems(wallet_items.Pass());
1821 scoped_ptr<wallet::WalletItems> wallet_items =
1823 wallet_items->AddAddress(wallet::GetTestShippingAddress());
1824 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentInvalid());
1825 SubmitWithWalletItems(wallet_items.Pass());
1836 scoped_ptr<wallet::WalletItems> wallet_items =
1838 SubmitWithWalletItems(wallet_items.Pass());
1871 scoped_ptr<wallet::WalletItems> wallet_items =
1879 wallet_items->AddAddress(shipping_address.Pass());
1880 wallet_items->AddInstrument(instrument.Pass());
1881 wallet_items->AddAddress(wallet::GetTestShippingAddress());
1883 controller()->OnDidGetWalletItems(wallet_items.Pass());
1893 scoped_ptr<wallet::WalletItems> wallet_items =
1895 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
1896 controller()->OnDidGetWalletItems(wallet_items.Pass());
1954 scoped_ptr<wallet::WalletItems> wallet_items =
1956 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
1957 controller()->OnDidGetWalletItems(wallet_items.Pass());
2085 scoped_ptr<wallet::WalletItems> wallet_items =
2087 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2088 controller()->OnDidGetWalletItems(wallet_items.Pass());
2108 scoped_ptr<wallet::WalletItems> wallet_items =
2110 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2111 controller()->OnDidGetWalletItems(wallet_items.Pass());
2154 scoped_ptr<wallet::WalletItems> wallet_items =
2156 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2157 controller()->OnDidGetWalletItems(wallet_items.Pass());
2252 scoped_ptr<wallet::WalletItems> wallet_items =
2254 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2255 controller()->OnDidGetWalletItems(wallet_items.Pass());
2280 scoped_ptr<wallet::WalletItems> wallet_items = CompleteAndValidWalletItems();
2286 controller()->OnDidGetWalletItems(wallet_items.Pass());
2402 scoped_ptr<wallet::WalletItems> wallet_items =
2404 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentWithIdAndAddress(
2408 wallet_items->AddAddress(address.Pass());
2409 controller()->OnDidGetWalletItems(wallet_items.Pass());
2421 scoped_ptr<wallet::WalletItems> wallet_items = CompleteAndValidWalletItems();
2422 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
2423 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
2424 controller()->OnDidGetWalletItems(wallet_items.Pass());
2431 wallet_items = CompleteAndValidWalletItems();
2432 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
2433 wallet_items->AddLegalDocument(wallet::GetTestLegalDocument());
2434 controller()->OnDidGetWalletItems(wallet_items.Pass());
2449 scoped_ptr<wallet::WalletItems> wallet_items =
2451 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2452 wallet_items->AddAddress(wallet::GetTestShippingAddress());
2453 controller()->OnDidGetWalletItems(wallet_items.Pass());
2518 scoped_ptr<wallet::WalletItems> wallet_items =
2520 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2521 SubmitWithWalletItems(wallet_items.Pass());
2559 scoped_ptr<wallet::WalletItems> wallet_items =
2561 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentExpired());
2562 controller()->OnDidGetWalletItems(wallet_items.Pass());
2637 scoped_ptr<wallet::WalletItems> wallet_items =
2639 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2640 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
2641 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
2642 wallet_items->AddAddress(wallet::GetTestShippingAddress());
2643 controller()->OnDidGetWalletItems(wallet_items.Pass());
2674 wallet_items = wallet::GetTestWalletItems(wallet::AMEX_DISALLOWED);
2675 wallet_items->AddInstrument(wallet::GetTestMaskedInstrumentExpired());
2676 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2677 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
2678 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
2679 controller()->OnDidGetWalletItems(wallet_items.Pass());
2695 scoped_ptr<wallet::WalletItems> wallet_items =
2697 wallet_items->AddInstrument(wallet::GetTestMaskedInstrument());
2698 wallet_items->AddInstrument(wallet::GetTestNonDefaultMaskedInstrument());
2699 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
2700 wallet_items->AddAddress(wallet::GetTestShippingAddress());
2701 controller()->OnDidGetWalletItems(wallet_items.Pass());
2722 wallet_items =
2732 wallet_items->AddInstrument(
2734 wallet_items->AddInstrument(
2736 wallet_items->AddAddress(new_default_address.Pass());
2737 wallet_items->AddAddress(other_address.Pass());
2738 controller()->OnDidGetWalletItems(wallet_items.Pass());
3147 scoped_ptr<wallet::WalletItems> wallet_items =
3149 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
3150 wallet_items->AddAddress(wallet::GetTestShippingAddress());
3151 controller()->OnDidGetWalletItems(wallet_items.Pass());
3167 wallet_items = wallet::GetTestWalletItems(wallet::AMEX_DISALLOWED);
3168 wallet_items->AddAddress(wallet::GetTestNonDefaultShippingAddress());
3169 wallet_items->AddAddress(wallet::GetTestShippingAddress());
3170 controller()->OnDidGetWalletItems(wallet_items.Pass());