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

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

Issue 2542493004: Show modified total price for payment instruments. (Closed)
Patch Set: Created 4 years 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
Index: chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java
index 34f3ed8260ada6490e483aef3e56536479f6388e..1ecb30bb6f67c54a5ac1e0a0db423bdc6b45ce9d 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/payments/PaymentInstrument.java
@@ -45,6 +45,15 @@ public abstract class PaymentInstrument extends PaymentOption {
}
/**
+ * Sets the modified total for this payment instrument.
+ *
+ * @param modifiedTotal The new modified total to use.
+ */
+ public void setModifiedTotal(String modifiedTotal) {
Ian Wen 2016/11/30 22:16:22 Nit: add @Nullable to the argument.
please use gerrit instead 2016/12/01 20:26:50 Done.
+ updateTertiarylabel(modifiedTotal);
+ }
+
+ /**
* Returns a method name for this instrument, e.g., "visa" or "mastercard" in basic card
* payments: https://w3c.github.io/webpayments-methods-card/#method-id
*

Powered by Google App Engine
This is Rietveld 408576698