| 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 a72383fa85be3af127cfdb350b837216b504e180..dee067e828a822047327caa91e8484d4208dd436 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
|
| @@ -11,21 +11,25 @@ public class PaymentInformation {
|
| private final ShoppingCart mShoppingCart;
|
| private final SectionInformation mShippingAddresses;
|
| private final SectionInformation mShippingOptions;
|
| + private final SectionInformation mContactDetails;
|
| private final SectionInformation mPaymentMethods;
|
|
|
| /**
|
| * Builds the payment information to show in the PaymentRequest view.
|
| *
|
| - * @param shoppingCart The shopping cart.
|
| + * @param shoppingCart The shopping cart.
|
| * @param sippingAddresses The shipping addresses.
|
| - * @param shippingOptions The shipping options.
|
| - * @param paymentMethods The payment methods.
|
| + * @param shippingOptions The shipping options.
|
| + * @param contactDetails The contact details.
|
| + * @param paymentMethods The payment methods.
|
| */
|
| public PaymentInformation(ShoppingCart shoppingCart, SectionInformation shippingAddresses,
|
| - SectionInformation shippingOptions, SectionInformation paymentMethods) {
|
| + SectionInformation shippingOptions, SectionInformation contactDetails,
|
| + SectionInformation paymentMethods) {
|
| mShoppingCart = shoppingCart;
|
| mShippingAddresses = shippingAddresses;
|
| mShippingOptions = shippingOptions;
|
| + mContactDetails = contactDetails;
|
| mPaymentMethods = paymentMethods;
|
| }
|
|
|
| @@ -87,6 +91,15 @@ public class PaymentInformation {
|
| }
|
|
|
| /**
|
| + * Returns the contact details.
|
| + *
|
| + * @return The contact details.
|
| + */
|
| + public SectionInformation getContactDetails() {
|
| + return mContactDetails;
|
| + }
|
| +
|
| + /**
|
| * Returns the payment methods.
|
| *
|
| * @return The payment methods.
|
|
|