Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2748)

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java

Issue 2421433004: [PaymentRequest] Make shipping name, address, phone and option each on its own line in the summary (Closed)
Patch Set: address comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
index a08bbf9d8037199603f58a3a8c77667d6d587fb7..2f055d16fd55dbbb8d0687f190654c9d8be9e952 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentInformation.java
@@ -72,6 +72,16 @@ public class PaymentInformation {
}
/**
+ * Returns the tertiary label for the selected shipping address.
+ *
+ * @return The tertiary label for the selected shipping address or null.
+ */
+ public String getSelectedShippingAddressTertiaryLabel() {
+ PaymentOption address = mShippingAddresses.getSelectedItem();
+ return address != null ? address.getTertiaryLabel() : null;
+ }
+
+ /**
* Returns the shipping options.
*
* @return The shipping options.
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/payments/ui/PaymentRequestSection.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698